Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            DetailZbran form = new DetailZbran();

            if (form.OpenRecord(null))
            {
                form.ShowDialog();
                GetData();
            }
        }
Beispiel #2
0
        protected void EditRecord()
        {
            Zbran selectedZbr = GetSelectedZbr();

            if (selectedZbr != null)
            {
                DetailZbran form = new DetailZbran();
                if (form.OpenRecord(selectedZbr.idZbr))
                {
                    form.ShowDialog();
                    GetData();
                }
            }
        }