コード例 #1
0
 private void notifyIcon1_DoubleClick(object sender, EventArgs e)
 {
     if (frmSetting == null || frmSetting.IsDisposed)
     {
         frmSetting = new frmSetting(lbNum, lbCaps, lbScroll);
     }
     if (!frmSetting.Visible)
     {
         frmSetting.ShowDialog();
     }
 }
コード例 #2
0
 private void toolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (frmSetting == null || frmSetting.IsDisposed)
     {
         frmSetting = new frmSetting(lbNum, lbCaps, lbScroll);
     }
     if (!frmSetting.Visible)
     {
         frmSetting.ShowDialog();
     }
 }