コード例 #1
0
        private void ptbMenuThucDon_Click(object sender, EventArgs e)
        {
            FormThucDon td = new FormThucDon();

            this.Hide();

            td.Closed += (s, args) => this.Close();
            td.Show();
        }
コード例 #2
0
        private void pbMenu_Click(object sender, EventArgs e)
        {
            FormThucDon thucdon = new FormThucDon();

            this.Hide();

            thucdon.Closed += (s, args) => this.Close();
            thucdon.Show();
        }