Пример #1
0
 public frmManage_Updates_Create_step020(frmManage_Updates_Create_step010 Parent_ref_)
 {
     #region Required for Windows Form Designer support...
     this.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_Updates_Create_step020_Closed);
     #endregion
     this.Parent_ref = Parent_ref_;
 }
Пример #2
0
        private void frmManage_Updates_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();
        }
Пример #3
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_Updates_Create_step010(this);
                    this.create_step010.MdiParent = this.Parent_ref;                    //.MdiParent;
                    this.create_step010.Bind_Tables();
                }
                this.Hide();
                this.create_step010.Show();
                return;
            }
            //if (this.rbtChange.Checked) {
            //}
            //if (this.rbtDelete.Checked) {
            //}
        }
Пример #4
0
		private void frmManage_Updates_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();
		}
Пример #5
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_Updates_Create_step010(this);
					this.create_step010.MdiParent = this.Parent_ref;//.MdiParent;
					this.create_step010.Bind_Tables();
				}
				this.Hide();
				this.create_step010.Show();
				return;
			}
			//if (this.rbtChange.Checked) {
			//}
			//if (this.rbtDelete.Checked) {
			//}
		}