Exemple #1
0
 public NewKabinetForma(Kabinet kabinet)
 {
     InitializeComponent();
     KABINET = kabinet;
     Fill();
     FillPredmet();
 }
Exemple #2
0
        private void DobavKabinet_Click(object sender, EventArgs e)
        {
            Kabinet         p = new Kabinet();
            NewKabinetForma f = new NewKabinetForma(p);

            f.ShowDialog();
            Fill();
        }
Exemple #3
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();
        }