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

            if (form.OpenRecord(null))
            {
                form.ShowDialog();
                GetData();
            }
        }
Beispiel #2
0
        protected void EditRecord()
        {
            Prostor selectedSpr = GetSelectedSpr();

            if (selectedSpr != null)
            {
                DetailProstor form = new DetailProstor();
                if (form.OpenRecord(selectedSpr.idSpr))
                {
                    form.ShowDialog();
                    GetData();
                }
            }
        }