Esempio n. 1
0
        private void DobavKabinet_Click(object sender, EventArgs e)
        {
            Kabinet         p = new Kabinet();
            NewKabinetForma f = new NewKabinetForma(p);

            f.ShowDialog();
            Fill();
        }
Esempio n. 2
0
        private void dataGridViewKabinet_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            Kabinet         p = (Kabinet)dataGridViewKabinet.Rows[e.RowIndex].DataBoundItem;
            NewKabinetForma f = new NewKabinetForma(p);

            f.ShowDialog();
            Fill();
        }