C# İnsert'e bastığımda form1 gözüksün istiyorum

S

Swain1337

Confirmed Memb.
Joined
Dec 11, 2022
Messages
56
Reaction score
4
c# craftrise hilesi geliştiriyorum ve hile penceresini craftrise'ye sabitledim ama bi sorunum var sadece inserte bastığımda menü gelsin ve tekrar bastığımda menü gizlensin istiyorum eğer böyle birşeyi bilen varsa yazsın
 
O

Osderda

>.....
Admin
Joined
Sep 19, 2019
Messages
2,892
Reaction score
3,919
Location
X399+WF3 Kadıköy, İstanbul
kod şeklinde verebilme şansın var mı acaba ?
Elbette.

Bu fonksiyonu importlamanız gerekli:
Form main:
        [DllImport("user32.Dll")]
        public static extern short GetKeyState(uint nVirtKey);

Bu kodu FormLoad olayına ekleyin:
private void Form1_Load(object sender, EventArgs e):
Thread lp = new Thread(loop);
lp.Start();


Bu fonksiyonu ise main(Form1) dosyasının içine atın:
Main:
  private static bool hidded = true;
        private void loop()
        {
            if (hidded == true)
            {
                Invoke(new Action(() =>
                {
                    this.Hide();
                }));
                Thread.Sleep(300);
            }
            for (; ; )
            {
                int PID = Process.GetProcessesByName("ac_client");
                if (PID == 0)//Uygulama bulunmadıysa çık
                {
                    Application.Exit();
                    Environment.Exit(0);
                }
                bool flag = ((int)GetKeyState(45) & 32768) > 0;//INSERT
                if (flag)
                {
                    if (hidded == false)
                    {
                        hidded = true;
                        Invoke(new Action(() =>
                        {
                            this.Hide();
                        }));
                        Thread.Sleep(300);
                    }
                    else
                    {
                        hidded = false;
                        //sw1.Value = false;
                        Invoke(new Action(() =>
                        {
                            this.Show();
                        }));
                        Thread.Sleep(300);
                    }
                }
            }
        }
 
Last edited:
F

FLOWZZYtr

FF
Super Member
Joined
Jul 16, 2022
Messages
286
Reaction score
151
Elbette:
Bu kodu ise FormLoad olayına ekleyin:
private void Form1_Load(object sender, EventArgs e):
Thread lp = new Thread(loop);
lp.Start();


Fonksiyonu main dosyasının içine atın:
Main:
  private static bool hidded = true;
        private void loop()
        {
            if (hidded == true)
            {
                Invoke(new Action(() =>
                {
                    this.Hide();
                }));
                Thread.Sleep(300);
            }
            for (; ; )
            {
                int PID = mmm.GetProcIdFromName("ac_client");
                if (PID == 0)//Uygulama bulunmadıysa çık
                {
                    Application.Exit();
                    Environment.Exit(0);
                }
                bool flag = ((int)Win32.GetKeyState(45) & 32768) > 0;//INSERT
                if (flag)
                {
                    if (hidded == false)
                    {
                        hidded = true;
                        Invoke(new Action(() =>
                        {
                            this.Hide();
                        }));
                        Thread.Sleep(300);
                    }
                    else
                    {
                        hidded = false;
                        //sw1.Value = false;
                        Invoke(new Action(() =>
                        {
                            this.Show();
                        }));
                        Thread.Sleep(300);
                    }
                }
            }
        }
sağol kral <3
 
S

Swain1337

Confirmed Memb.
Joined
Dec 11, 2022
Messages
56
Reaction score
4
Elbette:

Bu kodu FormLoad olayına ekleyin:
private void Form1_Load(object sender, EventArgs e):
Thread lp = new Thread(loop);
lp.Start();


Bu fonksiyonu ise main(Form1) dosyasının içine atın:
Main:
  private static bool hidded = true;
        private void loop()
        {
            if (hidded == true)
            {
                Invoke(new Action(() =>
                {
                    this.Hide();
                }));
                Thread.Sleep(300);
            }
            for (; ; )
            {
                int PID = mmm.GetProcIdFromName("ac_client");
                if (PID == 0)//Uygulama bulunmadıysa çık
                {
                    Application.Exit();
                    Environment.Exit(0);
                }
                bool flag = ((int)Win32.GetKeyState(45) & 32768) > 0;//INSERT
                if (flag)
                {
                    if (hidded == false)
                    {
                        hidded = true;
                        Invoke(new Action(() =>
                        {
                            this.Hide();
                        }));
                        Thread.Sleep(300);
                    }
                    else
                    {
                        hidded = false;
                        //sw1.Value = false;
                        Invoke(new Action(() =>
                        {
                            this.Show();
                        }));
                        Thread.Sleep(300);
                    }
                }
            }
        }
çok kral adamsın helal olsun
 
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Tema düzenleyici

Top Bottom