public FieldChecker(string[] toArray) { InitializeComponent(); AllCheck.Focus(); if (toArray != null) { foreach (var naryad in toArray) { NarydsPanel.Children.Add(new CheckBox { Content = naryad, IsChecked = false }); } } }
private void allCheckNew_Click(object sender, EventArgs e) { MainForm._MainFormInstance = this; AllCheck.Run(book); }