private void notifyIcon1_DoubleClick(object sender, EventArgs e) { if (frmSetting == null || frmSetting.IsDisposed) { frmSetting = new frmSetting(lbNum, lbCaps, lbScroll); } if (!frmSetting.Visible) { frmSetting.ShowDialog(); } }
private void toolStripMenuItem1_Click(object sender, EventArgs e) { if (frmSetting == null || frmSetting.IsDisposed) { frmSetting = new frmSetting(lbNum, lbCaps, lbScroll); } if (!frmSetting.Visible) { frmSetting.ShowDialog(); } }