コード例 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     {
         DetailRezervace form = new DetailRezervace();
         if (form.OpenRecord(null))
         {
             form.ShowDialog();
             GetData();
         }
     }
 }
コード例 #2
0
        protected void EditRecord()
        {
            Rezervace selectedRez = GetSelectedRez();

            if (selectedRez != null)
            {
                DetailRezervace form = new DetailRezervace();
                if (form.OpenRecord(selectedRez.idRez))
                {
                    form.ShowDialog();

                    GetData();
                }
            }
        }