Forum > Coding >

How To Close You App: CODING

Posts: 3

Threads: 1

Joined: Sep, 2018

Reputation: 0

Posted

This.Close(); Or Application.Exit();
  • 0

Posts: 369

Threads: 61

Joined: Apr, 2018

Reputation: 0

Replied

or this.Hide();
  • 0

Posts: 148

Threads: 0

Joined: Nov, 2017

Reputation: 18

Replied

Easyyyy asf code
  • 0

You may know me for the things I contributed to, such as Sellpass, Proxo, Sk8r, Baby Goth's MM Service, Auto, Exchanger.gg, EzVerify, EasyExploits, /swap /exchange, Mineverse & much more

Posts: 89

Threads: 5

Joined: Apr, 2018

Reputation: 12

Replied

This.Close() : it just closes the current window, this is what normally everyone should use,
This.Hide() : Hides the window but application runs in background, it's annoying.
Application.Exit() : Exists the applications and closes any opened window.
  • 0

undefined

Posts: 5

Threads: 2

Joined: Apr, 2019

Reputation: 0

Replied

Forms Control Box Codes :

-----------------------------------

For Exit Button:   Application.Close();   |OR|   Close();

For Maximize Button:   WindowState = FormWindowState.Maximized;

For Minimize Button:   WindowState = FormWindowState.Minimized;

and  if maximize button clicked and you want to return to defualt size of the application you need this code:

WindowState = FormWindowState.Normal;

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )