コード例 #1
0
        void showformtraphong(object sender, EventArgs e)
        {
            frm_traphong frm = new frm_traphong();
            Button       btn = (Button)sender;

            frm.TenPhong   = btn.Text;
            frm.MaNhanVien = MaNV;
            Visible        = false;
            frm.ShowDialog();
        }
コード例 #2
0
        private void btn_traphong_ItemClick(object sender, ItemClickEventArgs e)
        {
            frm_traphong forms = new frm_traphong();

            forms.ShowDialog();
        }