Inheritance: System.Windows.Forms.Form
Example #1
0
        protected override void DestroyHandle()
        {
            Destroy();

            base.DestroyHandle();

            instance = null;
        }
        protected override void DestroyHandle()
        {
            Destroy();

            base.DestroyHandle();

            instance = null;
        }
Example #3
0
 private void buttonServer_Click( object sender, EventArgs e )
 {
     if( ServerForm.instance == null )
     {
         ServerForm form = new ServerForm();
         form.Show();
     }
     else
         ServerForm.instance.Activate();
 }
Example #4
0
 private void buttonServer_Click(object sender, EventArgs e)
 {
     if (ServerForm.instance == null)
     {
         ServerForm form = new ServerForm();
         form.Show();
     }
     else
     {
         ServerForm.instance.Activate();
     }
 }
Example #5
0
        //

        public ServerForm()
        {
            instance = this;

            InitializeComponent();
        }
        //
        public ServerForm()
        {
            instance = this;

            InitializeComponent();
        }