コード例 #1
0
        private void accountSettingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CloseAllOpenedChildForm();
            frmAccountSetting objAccountSetting = new frmAccountSetting(rollFKey, cId);

            objAccountSetting.MdiParent = this;
            objAccountSetting.Show();
            objAccountSetting.WindowState = FormWindowState.Minimized;
            objAccountSetting.WindowState = FormWindowState.Maximized;
        }
コード例 #2
0
 private void accountSettingMenu_Click(object sender, EventArgs e)
 {
     try
     {
         CloseAllOpenedChildForm();
         frmAccountSetting objAccountSetting = new frmAccountSetting(rollFKey, cId);
         objAccountSetting.MdiParent = this;
         objAccountSetting.Show();
         objAccountSetting.WindowState = FormWindowState.Minimized;
         objAccountSetting.WindowState = FormWindowState.Maximized;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message.ToString(), "accountSettingMenu_Click", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }