public FDegustations() { InitializeComponent(); ctrlDegustationsWithKeys1.keyBoardControl1.BtnCancelEvent += new KeyBoardControl.BtnCancelEventHandler(keyBoardControl1_BtnCancelEvent); ctrlDegustationsWithKeys1.keyBoardControl1.BtnOkEvent += new KeyBoardControl.BtnOkEventHandler(keyBoardControl1_BtnOkEvent); /* * btn18.Visible = AlohaTSClass.CompEnable(18); * btn17.Visible = AlohaTSClass.CompEnable(17); * btn16.Visible = AlohaTSClass.CompEnable(16); * btn21.Visible = AlohaTSClass.CompEnable(15); * button10.Visible = AlohaTSClass.CompEnable(20); */ button10.Visible = AlohaTSClass.CompEnable(20); ctrlHotelBreakfastCount1.Visible = false; }