Пример #1
0
 public frmManage_Searches_Create_step020(frmManage_Searches_Create_step010 Parent_ref_)
 {
     #region Required for Windows Form Designer support...
     InitializeComponent();
     #endregion
     #region Event safeguard...
     this.btnBack.Click += new System.EventHandler(this.btnBack_Click);
     this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
     this.Closed        += new System.EventHandler(this.frmManage_Searches_Create_step020_Closed);
     #endregion
     this.Parent_ref = Parent_ref_;
 }
Пример #2
0
        //#endregion

        #region private Methods...
        #endregion
        #region public Methods...
        #endregion

        //#region Events...
        #region private void btnNext_Click(...);
        private void btnNext_Click(object sender, System.EventArgs e)
        {
            if (this.rbtCreate.Checked)
            {
                if (this.create_step010 == null)
                {
                    this.create_step010           = new frmManage_Searches_Create_step010(this);
                    this.create_step010.MdiParent = this.Parent_ref;                    //.MdiParent;
                }
                this.Hide();
                this.create_step010.Show();
                return;
            }
            //if (this.rbtChange.Checked) {
            //}
            //if (this.rbtDelete.Checked) {
            //}
        }
Пример #3
0
        private void frmManage_Searches_Closed(object sender, System.EventArgs e)
        {
            if (this.create_step010 != null)
            {
                this.create_step010.Dispose();
                this.create_step010 = null;
            }
            //if (this.change_step010 != null) {
            //	this.change_step010.Dispose();
            //	this.change_step010 = null;
            //}
            //if (this.delete_step010 != null) {
            //	this.delete_step010.Dispose();
            //	this.delete_step010 = null;
            //}

            //this.Close();//already closed! we're at the Closed event, so...
            this.Dispose();
        }
		public frmManage_Searches_Create_step020(frmManage_Searches_Create_step010 Parent_ref_) {
			#region Required for Windows Form Designer support...
			InitializeComponent();
			#endregion
			#region Event safeguard...
			this.btnBack.Click += new System.EventHandler(this.btnBack_Click);
			this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
			this.Closed += new System.EventHandler(this.frmManage_Searches_Create_step020_Closed);
			#endregion
			this.Parent_ref = Parent_ref_;
		}
Пример #5
0
		private void frmManage_Searches_Closed(object sender, System.EventArgs e) {
			if (this.create_step010 != null) {
				this.create_step010.Dispose();
				this.create_step010 = null;
			}
			//if (this.change_step010 != null) {
			//	this.change_step010.Dispose();
			//	this.change_step010 = null;
			//}
			//if (this.delete_step010 != null) {
			//	this.delete_step010.Dispose();
			//	this.delete_step010 = null;
			//}

			//this.Close();//already closed! we're at the Closed event, so...
			this.Dispose();
		}
Пример #6
0
		//#endregion

		#region private Methods...
		#endregion
		#region public Methods...
		#endregion

		//#region Events...
		#region private void btnNext_Click(...);
		private void btnNext_Click(object sender, System.EventArgs e) {
			if (this.rbtCreate.Checked) {
				if (this.create_step010 == null) {
					this.create_step010 = new frmManage_Searches_Create_step010(this);
					this.create_step010.MdiParent = this.Parent_ref;//.MdiParent;
				}
				this.Hide();
				this.create_step010.Show();
				return;
			}
			//if (this.rbtChange.Checked) {
			//}
			//if (this.rbtDelete.Checked) {
			//}
		}