Beispiel #1
0
        private void AddNew()
        {
            DM_ITEMEDIT frm = new DM_ITEMEDIT();

            frm.ShowInTaskbar = false;
            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.ShowDialog();
            RefreshData();
        }
Beispiel #2
0
        private void Modify()
        {
            DM_ITEMEDIT frm = new DM_ITEMEDIT();

            frm.ShowInTaskbar = false;
            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.SetData(gGrid1.GetCurSelect <DM_ITEM>());
            frm.ShowDialog();
            RefreshData();
        }