private void metroButton2_Click_1(object sender, EventArgs e) { this.SendToBack(); Zdefiniuj_obrabiarki fZdO = new Zdefiniuj_obrabiarki(this); fZdO.Show(); }
private void metroButton3_Click_1(object sender, EventArgs e) { try { listOneOperationToDefinition.Clear(); TreeNode node = treeView1.SelectedNode; while (node.Parent != null) { node = node.Parent; } vrr = GetIndex(node); listOneOperationToDefinition.Add(node.Text); listOneOperationToDefinition.Add(vrr.ToString()); Zdefiniuj_obrabiarki fZdO = new Zdefiniuj_obrabiarki(this); this.SendToBack(); fZdO.Show(); } catch (Exception fe) { MessageBox.Show("Wybierz operacje!", "", MessageBoxButtons.OK, MessageBoxIcon.Information); Console.WriteLine(fe.Message); } }