示例#1
0
        private void DobavKlass_Click(object sender, EventArgs e)
        {
            Klass         p = new Klass();
            NewKlassForma f = new NewKlassForma(p);

            f.ShowDialog();
            Fill();
        }
示例#2
0
        private void dataGridViewKlass_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            Klass         p = (Klass)dataGridViewKlass.Rows[e.RowIndex].DataBoundItem;
            NewKlassForma f = new NewKlassForma(p);

            f.ShowDialog();
            Fill();
        }