Esempio n. 1
0
 private void btnUnlock1_Click(object sender, EventArgs e)
 {
     this.ParentForm.Hide();
     frmUnlock form = new frmUnlock();
     //this.Hide();
     form.ShowDialog();
     this.ParentForm.Close();
 }
Esempio n. 2
0
        private void btnUnlock1_Click(object sender, EventArgs e)
        {
            this.ParentForm.Hide();
            frmUnlock form = new frmUnlock();

            //this.Hide();
            form.ShowDialog();
            this.ParentForm.Close();
        }
Esempio n. 3
0
        private void btnUnlock_Click(object sender, EventArgs e)
        {
            Cursor = Cursors.WaitCursor;
            frmUnlock form = new frmUnlock();
            this.Hide();
            form.ShowDialog();
            Cursor = Cursors.Default;

            if (this.ParentForm != null)
            {
                this.ParentForm.Close();
            }
        }
Esempio n. 4
0
        private void btnUnlock_Click(object sender, EventArgs e)
        {
            Cursor = Cursors.WaitCursor;
            frmUnlock form = new frmUnlock();

            this.Hide();
            form.ShowDialog();
            Cursor = Cursors.Default;

            if (this.ParentForm != null)
            {
                this.ParentForm.Close();
            }
        }