Example #1
0
        private void buttonMyPageClick(object sender, EventArgs e)
        {
            FormConsuMyPage frm = new FormConsuMyPage(mainform, id);

            frm.Owner = this;
            frm.Show();
            this.Visible = false;
        }
        private void labelMyInfoClick(object sender, EventArgs e)
        {
            this.Visible = false;
            FormConsuMyPage frm = new FormConsuMyPage(mainform, id);

            frm.Owner = this;
            frm.Show();
            frm.Activate();
        }