/// <summary>
        /// 删除
        /// </summary>
        public override void EntityDelete()
        {
            FabricProcessRule rule   = new FabricProcessRule();
            FabricProcess     entity = EntityGet();

            rule.RDelete(entity);
        }
Exemple #2
0
 private void btnDelete_Click(object sender, EventArgs e)
 {
     try
     {
         FabricProcessRule rule   = new FabricProcessRule();
         FabricProcess     entity = new FabricProcess();
         entity.ID = HTID;
         entity.SelectByID();
         rule.RDelete(entity);
         this.Close();
     }
     catch (Exception E)
     {
         this.ShowMessage(E.Message);
     }
 }