예제 #1
0
        private void InsertCommand()
        {
            var kh = (CAT_KhachHang)gridView.GetFocusedRow();
            int rs = KhachHangCtrl.Insert(kh);

            if (rs == 0)
            {
                NotifyHelper.ShowInsertError();
                gridControl_Load();
            }
        }