Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            DetailZbran form = new DetailZbran();

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

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