Beispiel #1
0
        private void welcomeDialogItem_Click(object sender, EventArgs e)
        {
            if (this.welcomeDialog == null)
            {
                this.welcomeDialog           = new WelcomeDialog();
                this.welcomeDialog.Disposed += this.welcomeDialog_Disposed;
            }

            if (this.welcomeDialog.Visible)
            {
                this.welcomeDialog.Focus();
            }
            else if (!this.welcomeDialog.IsEmpty)
            {
                this.welcomeDialog.Show(this);
            }
        }
Beispiel #2
0
 private void welcomeDialog_Disposed(object sender, EventArgs e)
 {
     this.welcomeDialog.Disposed -= this.welcomeDialog_Disposed;
     this.welcomeDialog = null;
 }
Beispiel #3
0
        private void welcomeDialogItem_Click(object sender, EventArgs e)
        {
            if (this.welcomeDialog == null)
            {
                this.welcomeDialog = new WelcomeDialog();
                this.welcomeDialog.Disposed += this.welcomeDialog_Disposed;
            }

            if (this.welcomeDialog.Visible)
                this.welcomeDialog.Focus();
            else if (!this.welcomeDialog.IsEmpty)
                this.welcomeDialog.Show(this);
        }
Beispiel #4
0
 private void welcomeDialog_Disposed(object sender, EventArgs e)
 {
     this.welcomeDialog.Disposed -= this.welcomeDialog_Disposed;
     this.welcomeDialog           = null;
 }