private void ChoiceAllAndCorrect_BT_Click(object sender, RoutedEventArgs e) { if (DateI_PR.Text == "" | DateE_PR.Text == "") { MessageBox.Show("!!!"); return; } //ЧЧЧ UATools.CheckBox(10, Table.Header); UATools.ActionToDoBT("Рд").Click(); System.Threading.Thread.Sleep(TimeSpan.FromSeconds(0.3)); UATools.ChoiceField("Дв"); UATools.InsertData(DateI_PR.Text, 10, ChoiceField.DataI); UATools.SaveMultyChoiceData(); try { //ЧЧЧЧ System.Threading.Thread.Sleep(TimeSpan.FromSeconds(0.3)); UATools.CheckBox(10, Table.TableRowTop); UATools.ActionToDoBT("Рд").Click(); System.Threading.Thread.Sleep(TimeSpan.FromSeconds(0.3)); UATools.ChoiceField("Дд"); UATools.InsertData(DateE_PR.Text, 10, ChoiceField.DataE); UATools.SaveMultyChoiceData(); //ЧЧЧ System.Threading.Thread.Sleep(TimeSpan.FromSeconds(0.3)); UATools.CheckBox(10, Table.TableRowTop); UATools.ActionToDoBT("Рд").Click(); System.Threading.Thread.Sleep(TimeSpan.FromSeconds(0.3)); UATools.ChoiceField("Пк"); UATools.InsertData("Вор", 10, ChoiceField.DiRrsP); UATools.SaveMultyChoiceData(); //ЧЧЧ System.Threading.Thread.Sleep(TimeSpan.FromSeconds(0.3)); UATools.CheckBox(10, Table.TableRowTop); UATools.ActionToDoBT("Рд").Click(); System.Threading.Thread.Sleep(TimeSpan.FromSeconds(0.3)); UATools.ChoiceField("ППП"); UATools.InsertData("ИИИ", 10, ChoiceField.DiRrsN); UATools.SaveMultyChoiceData(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }