Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            var frm_themNha = new themBaiDang();

            frm_themNha.Location      = this.Location;
            frm_themNha.StartPosition = FormStartPosition.Manual;
            frm_themNha.FormClosing  += delegate { this.Show(); };
            frm_themNha.Show();
            this.Hide();
        }
Beispiel #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            var frm_ThemBD = new themBaiDang();

            frm_ThemBD.Location      = this.Location;
            frm_ThemBD.StartPosition = FormStartPosition.Manual;
            frm_ThemBD.FormClosing  += delegate { this.Show(); };
            frm_ThemBD.Show();
            this.Hide();
        }