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