Example #1
0
		protected cFlowform(
			dNotifyBase notifyBase_in, 
			int numFlowformForms_in
		) {
			notifybase_ = notifyBase_in;
			myflowforms_ = new cFlowform[numFlowformForms_in];
		}
Example #2
0
 protected cFlowform(
     dNotifyBase notifyBase_in,
     int numFlowformForms_in
     )
 {
     notifybase_  = notifyBase_in;
     myflowforms_ = new cFlowform[numFlowformForms_in];
 }
Example #3
0
		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;
				}
			}
		}
Example #4
0
		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;
				}
			}
		}
Example #5
0
        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;
                }
            }
        }
Example #6
0
        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;
                }
            }
        }
		//#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();
		}