public void DeleteMaterialRecords(string tableName, List <string> ids)
        {
            string errorMessage          = string.Empty;
            int    result                = new ExtractInventoryTool_MaterialBLL().DeleteRecords(tableName, ids, out errorMessage);
            DeleteRecordsCallbackDel del = DeleteRecordsCallback;

            dataGridView1.BeginInvoke(del, errorMessage);
        }
Exemple #2
0
        public void DeletePlanRecords(string tableName, List <string> ids)
        {
            string errorMessage          = string.Empty;
            int    result                = new ExtractInventoryTool_ProductionPlanBLL().DeleteRecords(tableName, ids, out errorMessage);
            DeleteRecordsCallbackDel del = DeleteRecordsCallback;

            dataGridView1.BeginInvoke(del, errorMessage);
            //MessageBox.Show("删除成功", "Info");
        }