Пример #1
0
 private void Hotelsfrm_Load(object sender, EventArgs e)
 {
     //grbManager.Visible = false;
     //if (Powers == PowersLog.Administrator || Powers == PowersLog.Designer)
     //{
     //    grbManager.Visible = true;
     //}
     lvHotels_Load(KhachSan.All());
     cbbColumn_Load();
 }
Пример #2
0
        private void btnNewHotel_Click(object sender, EventArgs e)
        {
            Hotelfrm frm = new Hotelfrm();

            frm.ShowDialog();
            if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                cbbHotel_Load(KhachSan.All());
            }
        }
Пример #3
0
 private void btnAll_Click(object sender, EventArgs e)
 {
     lvHotels_Load(KhachSan.All());
 }