private void MyForm_notifiedMe_aboutNext(eFlowformFormEvents SomeEvent_) { switch (SomeEvent_) { case eFlowformFormEvents.Next: // ToDos: here! if (MyForm.ViewName == "") { System.Windows.Forms.MessageBox.Show( "must choose a view", "Warning", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning ); } else { MyProcess.ViewName = MyForm.ViewName; #region ((cManage_Views_PK_s020)MyFlowforms[0]).Show(); if (MyFlowforms[0] == null) { MyFlowforms[0] = new cManage_Views_PK_s020( Base_ref, new cFlowform.dNotifyBase(MyFlowforms_notifiedMe), MyProcess ); } MyForm.Hide(); MyFlowforms[0].Show(); #endregion } break; } }
private void MyForm_notifiedMe_aboutNext(eFlowformFormEvents SomeEvent_) { switch (SomeEvent_) { case eFlowformFormEvents.Next: // ToDos: here! if (MyForm.ViewName == "") { System.Windows.Forms.MessageBox.Show( "must choose a view", "Warning", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning ); } else { MyProcess.ViewName = MyForm.ViewName; #region ((cManage_Views_PK_s020)MyFlowforms[0]).Show(); if (MyFlowforms[0] == null) { MyFlowforms[0] = new cManage_Views_PK_s020( Base_ref, new cFlowform.dNotifyBase(MyFlowforms_notifiedMe), MyProcess ); } MyForm.Hide(); MyFlowforms[0].Show(); #endregion } break; } }