예제 #1
0
        private void ModifyWHB()
        {
            DM_WHBEDIT frm = new DM_WHBEDIT();

            frm.ShowInTaskbar = false;
            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.ParentID      = Curwhbl.Id;
            frm.SetData(gGrid1.GetCurSelect <DM_WHB>());
            frm.ShowDialog();
            LoadWHBData(Curwhbl.Id);
        }
예제 #2
0
        private void NewWHB()
        {
            DM_WHB whb = new DM_WHB();

            whb.WHBLBID = Curwhbl.Id;
            DM_WHBEDIT frm = new DM_WHBEDIT();

            frm.ShowInTaskbar = false;
            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.ParentID      = Curwhbl.Id;
            frm.SetData(whb);
            frm.ShowDialog();
            LoadWHBData(Curwhbl.Id);
        }