Exemple #1
0
 private void tc1_Selecting(object sender, TabControlCancelEventArgs e)
 {
     if (evokWork.RunFlag)
     {
         MessageBox.Show(Constant.IsWorking);
         e.Cancel = true;
     }
     else if (!evokWork.ShiftPage(tc1.SelectedIndex))
     {
         e.Cancel = true;
     }
 }