Пример #1
0
 private void UIMenuA_Load(object sender, EventArgs e)
 {
     cmTime.MenuItems.Add("Hide Clock", new EventHandler(Time_visi_Click));
     xuiClock1.ContextMenu = cmTime;
     panel1.ContextMenu    = cmTime;
     RefStore();
     RepeatedFunctions.CheckBarcodeReader();
 }
Пример #2
0
        private void FrmQuickSale_Load(object sender, EventArgs e)
        {
            Settings.LoadCtrlSettings(this);
            PanelMenu panelMenu = new PanelMenu(panel1, btnhide, 34, panel1.Width);

            this.panel1.BackColor = RemoteDBs.Settings.commonSettings.Get.MenuColor;
            this.panel3.BackColor = RemoteDBs.Settings.commonSettings.Get.MenuColor;

            #region ContextMenu
            cm.Items.Add("Edit", Properties.Resources.edit_24px, new EventHandler(Edit_Click));
            cm.Items.Add("Remove", Properties.Resources.delete_sign_24px, new EventHandler(Remove_Click));
            cm.BackColor = Color.LightGray;
            #endregion

            labelTotal.Font = new Font(labelTotal.Font.Name.ToString(), labelTotal.Font.Size + 5);
            labelInNO.Font  = new Font(labelInNO.Font.Name.ToString(), labelInNO.Font.Size + 2);
            RepeatedFunctions.CheckBarcodeReader();
        }
Пример #3
0
 private void UIMenu_Load(object sender, EventArgs e)
 {
     DrawItems(int.Parse(CBItemCount.Text), (int)TxtPageON.Value);
     RepeatedFunctions.CheckBarcodeReader();
 }