예제 #1
0
        private void btnThoat_Click(object sender, EventArgs e)
        {
            DialogResult h = MessageBox.Show
                                 ("Bạn chắc chắn muốn thoát?", "Error", MessageBoxButtons.OKCancel);

            if (h == DialogResult.OK)
            {
                frmLoaiXe fnv = new frmLoaiXe();
                this.Close();
            }
        }
예제 #2
0
        private void asdasdToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            frmLoaiXe formlx = new frmLoaiXe();

            formlx.Show();
        }