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