public void NotifyBase(FlowformEvents someEvent_in, Flowform flowform_in) { if (this.notifybase_ != null) { this.notifybase_(someEvent_in, flowform_in); } else { switch (someEvent_in) { case FlowformEvents.Closed: this.Dispose(); break; case FlowformEvents.Back: // do nothing... break; } } }
protected void MyFlowforms_notifiedMe(FlowformEvents someEvent_in, Flowform flowform_in) { for (int i = 0; i < this.MyFlowforms.Length; i++) { if (this.MyFlowforms[i] == flowform_in) { switch (someEvent_in) { case FlowformEvents.Closed: this.NotifyBase(FlowformEvents.Closed, this); break; case FlowformEvents.Back: this.MyFlowforms[i].Hide(); this.myform_.Show(); break; } break; } } }
//#endregion #region public Properties... #endregion //#region private Methods... public void LetMeKnowWhen_NoMoreUndefinedViews(FlowformEvents SomeEvent_, Flowform Flowform_) { this.Manage_Views_PK_s010.Hide(); this.Manage_Views_PK_s010.Dispose(); this.Manage_Views_PK_s010 = null; this.Show(); }