Example #1
0
 public NetworkForm()
 {
     InitializeComponent();
     clearInputs();
     PositionModel.reset();
     pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
 }
Example #2
0
 private void deleteButton_Click(object sender, EventArgs e)
 {
     if (isIncorrectModel() || isIncorrectInputs())
     {
         MessageBox.Show("Выберите строку");
     }
     else
     {
         deleteRow();
         updateView();
         PositionModel.reset();
         clearInputs();
     }
 }
Example #3
0
 private void NetworkForm_Click(object sender, EventArgs e)
 {
     clearInputs();
     PositionModel.reset();
 }