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

            //this.Hide();
            form.ShowDialog();
            this.ParentForm.Close();
        }
Example #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();
            }
        }
Example #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();
            }
        }