예제 #1
0
 private void prevWorkButton_Click(object sender, EventArgs e)
 {
     WorkForm workForm = new WorkForm();
     this.Hide();
     workForm.Show();
 }
예제 #2
0
 private void nextWorkForm_Click(object sender, EventArgs e)
 {
     if ((dataOpen[10].TypeLoc == "") || (dataOpen[10].NumberLoc == ""))
     {
         MessageBox.Show("Не выбран тепловоз!", "Внимание",MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
     }
     else
     {
         WorkForm workForm = new WorkForm();
         this.Hide();
         workForm.Show();
     }
 }