コード例 #1
0
ファイル: Flowform.cs プロジェクト: katshann/ogen
		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;
				}
			}
		}
コード例 #2
0
ファイル: Flowform.cs プロジェクト: katshann/ogen
		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;
				}
			}
		}
コード例 #3
0
        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;
                }
            }
        }
コード例 #4
0
        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;
                }
            }
        }
コード例 #5
0
		//#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();
		}