public Form1() { InitializeComponent(); Xml.loadXml(dataGridView3, path2); comboEdr.Items.Add(Properties.Settings.Default.name2); comboEdr.Items.Add(Properties.Settings.Default.name3); //comboBox1.Items.Insert(1, "Боливия"); if (shemes = Properties.Settings.Default.state1 == 1 ? true : false) { //setFields(); setFieldsP(); texVisible(shemes); } else { setFieldsP2(); //setFields2(); texVisible(shemes); } isEdit(edit); }
public Form2() { InitializeComponent(); Xml.loadXml(dataGridView1, path); }