private void cidadeToolStripMenuItem_Click(object sender, EventArgs e) { Form8 f8 = new Form8(); f8.ShowDialog(); if (f8.sqlString != null && f8.sqlString != "") carregaGrid(f8.sqlString); }
private void button5_Click(object sender, EventArgs e) { List <Student> l3 = new List <Student>(); if (this.Tag != null) { l3 = (List <Student>) this.Tag; } if (lista_import.Count != 0) { foreach (Student s in lista_import) { l3.Add(s); } } Form8 frm = new Form8(); l3.Sort(); frm.Tag = l3; frm.ShowDialog(); }
private void button15_Click(object sender, EventArgs e) { if (label25.Text == "") { MessageBox.Show("������� ����� ��� �������� �������� ��������!"); return; } Form8 f8 = new Form8(ReaderRecordFormular); f8.ShowDialog(); }