Exemplo n.º 1
0
        override protected void DeleteCurrentRow()
        {
            int count = 0;

            foreach (DataGridViewRow row in baseDataGridView.SelectedRows)
            {
                BllMainDictType.DelCell((long)row.Cells[0].Value);
                count++;
            }

            if (count == 0)
            {
                MessageBox.Show("没有删除任何记录!");
            }
            else
            {
                MessageBox.Show("已删除" + count + "条记录!");
            }
        }
Exemplo n.º 2
0
 protected override void InitData()
 {
     ActionTable  = UserStatics.GetUserActions(ModuleId);
     TableForLoad = BllMainDictType.GetTable(UserStatics.OptrType);
 }
Exemplo n.º 3
0
 override protected void DeleteCurrentRow()
 {
     BllMainDictType.DelCell(DeletingRowId);
 }