示例#1
0
 private void CompareTimer_Tick(object sender, EventArgs e)
 {
     if (!search_ExplorerWindow())
     {
         Form shutdownFrom = new ShutdownForm();
         CompareTimer.Stop();
         shutdownFrom.ShowDialog();
     }
 }
示例#2
0
 private void autoshutdownbtn_Click(object sender, EventArgs e)
 {
     if (search_ExplorerWindow())
     {
         CompareTimer.Start();
         MessageBox.Show(this, "자동으로 종료됩니다.", "안내", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     else
     {
         MessageBox.Show(this, "진행중인 작업이 없습니다!", "경고", MessageBoxButtons.OK, MessageBoxIcon.Hand);
     }
 }
示例#3
0
 private void button1_Click(object sender, EventArgs e)
 {
     CompareTimer.Stop();
 }