private void BtnClose_Click(object sender, EventArgs e) { PlanEventHandler planEventHandler = new PlanEventHandler(); planEventHandler.PlanConfirm += WBFMSystem.Singleton().LabelPlan_Add; planEventHandler.PlanShow(this.TextBoxPlanDescription.Text); this.Close(); }
public virtual bool OnAfterPlanFinishes(PlanEventArgs e) { PlanEventHandler handler = AfterPlanFinishes; if (handler != null) { return(handler(this, e)); } return(true); }
public virtual bool OnBeforePlanStarts(PlanEventArgs e) { PlanEventHandler handler = BeforePlanStarts; if (handler != null) { return(handler(this, e)); } return(true); }