예제 #1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            frmAddEditICS frm = new frmAddEditICS(null, Models.MethodType.Add);

            frm.ShowDialog();
            Init();
        }
예제 #2
0
 private void btnEditPQRepo_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (this.ICSGridView.GetFocusedRow() is ICS item)
     {
         frmAddEditICS frm = new frmAddEditICS(item, MethodType.Edit);
         frm.ShowDialog();
         Init();
     }
 }