Exemplo n.º 1
0
 private void btnSet_Click(object sender, EventArgs e)
 {
     tmrStart.Stop();
     tmrTime.Stop();
     tmrStart.Stop();
     tmrTime.Stop();
     this.Location = new Point(x, y);
     frmSetting set = new frmSetting();
     set.ShowDialog();
     Close();
 }
Exemplo n.º 2
0
 private void 系统设置ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (frmSet == null || frmSet.IsDisposed)
     {
         frmSet = new frmSetting();
         frmSet.Show();
     }
     else
         frmSet.Activate();
 }