Exemplo n.º 1
0
 private void ToolStripUserUpdateItem_Click(object sender, System.EventArgs e)
 {
     if (updateProfileForm == null || updateProfileForm.IsDisposed == true)
     {
         updateProfileForm = new UpdateProfileForm();
     }
     this.Enabled = false;
     updateProfileForm.Show();
 }
        private void updateProfileToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            if ((updateProfileForm == null) || (updateProfileForm.IsDisposed))
            {
                updateProfileForm = new UpdateProfileForm();

                updateProfileForm.MdiParent = this;
            }

            updateProfileForm.Show();
        }
Exemplo n.º 3
0
        private void updateProfileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // UpdateProfileForm updateProfileForm = new UpdateProfileForm();
            if ((UpdateProfileForm == null) || (UpdateProfileForm.IsDisposed))
            {
                UpdateProfileForm = new UpdateProfileForm();

                UpdateProfileForm.MdiParent = this;
            }
            UpdateProfileForm.Show();
        }
Exemplo n.º 4
0
        private void updateProfileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if ((myUpdateProfileForm == null) || (myUpdateProfileForm.IsDisposed))
            {
                myUpdateProfileForm = new UpdateProfileForm()
                {
                    MdiParent = this,
                };
            }
            if (myChangePasswordForm != null)
            {
                if (myChangePasswordForm.IsDisposed == false)
                {
                    myChangePasswordForm.Hide();
                }
            }

            myUpdateProfileForm.Show();
        }
Exemplo n.º 5
0
        private void updateProfileToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            UpdateProfileForm frmUpdateProfile = new UpdateProfileForm();

            frmUpdateProfile.Show();
        }