Esempio n. 1
0
 private void SetTitle(object sender)
 {
     if (sender is DevExpress.XtraNavBar.NavBarItem)
     {
         DevExpress.XtraNavBar.NavBarItem bt = (DevExpress.XtraNavBar.NavBarItem)sender;
         TE_Title.Text = bt.Caption;
         SCC_ChindMain.Panel1.Height = TE_Title.Size.Height;
         TE_Title.ForeColor          = Color.Black;
     }
 }
Esempio n. 2
0
        private void AddLink(string _glink)
        {
            string[]   _names = _glink.Split(',');
            NavBarItem _nb    = new DevExpress.XtraNavBar.NavBarItem();

            _nb.Caption = _names[1];
            _nb.Name    = _names[0];
            _nb.Tag     = _names[0];

            NavBarGroup _group = GroupDict.ContainsKey(_names[2]) ? GroupDict[_names[2]] : null;

            if (_group != null)
            {
                NavBarItemLink _link = _group.ItemLinks.Add(_nb);
            }
        }
Esempio n. 3
0
 private void LoadSQLReports() 
 {
     if (FXFW.SqlDB.SQLRep == null)
         return;
     for (int i = 0; i < FXFW.SqlDB.SQLRep.Length; i++)
     {
         DevExpress.XtraNavBar.NavBarItem navBarItemRPT = new DevExpress.XtraNavBar.NavBarItem() {
             Caption = FXFW.SqlDB.SQLRep[i].RepCaption, 
             LargeImageIndex = 44, SmallImageIndex = 4, 
             Name = FXFW.SqlDB.SQLRep[i].RepFileName.Replace(".rdl", ""), Tag = i };
         navBarControlReport.Items.Add(navBarItemRPT);
         navBarControlReport.Groups[(int)FXFW.SqlDB.ConvertStringToInt(FXFW.SqlDB.SQLRep[i].RepPosition)].ItemLinks.Add(navBarItemRPT);
         //navBarGroup4.ItemLinks.Add(navBarItemRPT);
         navBarItemRPT.LinkClicked += navBarItemRPT_LinkClicked;
         
     }
 }
Esempio n. 4
0
        private void AddLink(GuideLineLinkItem _glink)
        {
            NavBarItem _nb = new DevExpress.XtraNavBar.NavBarItem();

            _nb.Caption    = _glink.Title;
            _nb.LargeImage = (SinoSZResources.Images.ContainsKey(_glink.IconName) ?
                              SinoSZResources.Images[_glink.IconName] : global::SinoSZMetaDataQuery.Properties.Resources.b23
                              );
            _nb.Name = _glink.GuideLineID;
            _nb.Tag  = _glink;
            NavBarGroup _group = this.navBarControl1.Groups[_glink.GroupName];

            if (_group != null)
            {
                _group.ItemLinks.Add(_nb);
            }
        }
Esempio n. 5
0
        public bool AddGroupItemArea(string groupName, string itemName, EventHandler callBack, ref string reStr)
        {
            try
            {
                bool isContain = false;
                DevExpress.XtraNavBar.NavBarGroup currGroup = null;
                isContain = IsContainGroup(nbc_MainMenu, groupName, ref currGroup);
                if (isContain == false)
                {
                    reStr = groupName + "不存在!";
                    return(false);
                }

                DevExpress.XtraNavBar.NavBarItem baritem = new DevExpress.XtraNavBar.NavBarItem();
                baritem.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(callBack);
                DevExpress.XtraNavBar.NavBarItemLink itemLink = new DevExpress.XtraNavBar.NavBarItemLink(baritem);
                itemLink.Item.Caption = itemName;
                itemLink.Item.Name    = itemName;
                foreach (DevExpress.XtraNavBar.NavBarItemLink link in currGroup.ItemLinks)
                {
                    if (link.Item.Name == itemName)
                    {
                        reStr = "已存在此item!";
                        return(false);
                    }
                }
                currGroup.ItemLinks.Add(itemLink);
                this.nbc_MainMenu.Groups.Add(currGroup);
                reStr = "添加成功!";
                return(true);
            }
            catch (System.Exception ex)
            {
                reStr = ex.Message;
                return(false);
            }
        }
Esempio n. 6
0
 private void LoadMenu() {
     this.navMenu.Groups.Clear();
     var menu = Db.FirstOrDefault<t_menu>(" where version='1.0'");
     if (string.IsNullOrEmpty(menu.MenuJson))
         return;
     //解析菜单Json
     var menus = ObjectHelper.DeSerialize<List<MenuData>>(menu.MenuJson);
     if (menus == null || menus.Count < 1)
         return;
     foreach (var g in menus) {
         var gp = this.navMenu.Groups.Add();
         gp.Caption = g.MenuGrpName;
         gp.Tag = g;
         CanAddMenuGrp(gp);
         if (g.MenuItems == null)
             continue;
         foreach (var m in g.MenuItems) {
             var lnk = new DevExpress.XtraNavBar.NavBarItem(m.MenuName);
             gp.ItemLinks.Add(lnk);
             lnk.Visible = CanAddLink(m);
             lnk.Tag = m;
         }
     }
 }
Esempio n. 7
0
 private void navBarItem2_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarItem e)
 {
     MessageBox.Show("Hey there");
 }
Esempio n. 8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormPOS2));
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.pnlTop = new DevExpress.XtraEditors.PanelControl();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     this.lblLocation = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
     this.sBtnAdd = new DevExpress.XtraEditors.SimpleButton();
     this.sBtnSubtract = new DevExpress.XtraEditors.SimpleButton();
     this.GroupControl1 = new DevExpress.XtraEditors.GroupControl();
     this.label13 = new System.Windows.Forms.Label();
     this.lblUpgradeFrom = new System.Windows.Forms.Label();
     this.label14 = new System.Windows.Forms.Label();
     this.lblTherapistName = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.lblTherapistID = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.lblSalesPersonName = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.lblBillReward = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.lblBillFB = new System.Windows.Forms.Label();
     this.lblBillDiscCode = new System.Windows.Forms.Label();
     this.lblDateTime = new System.Windows.Forms.Label();
     this.lblSalesperson = new System.Windows.Forms.Label();
     this.GroupControl2 = new DevExpress.XtraEditors.GroupControl();
     this.groupControl6 = new DevExpress.XtraEditors.GroupControl();
     this.lblUsageBal = new System.Windows.Forms.Label();
     this.groupControl5 = new DevExpress.XtraEditors.GroupControl();
     this.lblNettAmt = new System.Windows.Forms.Label();
     this.groupControl4 = new DevExpress.XtraEditors.GroupControl();
     this.lblGST = new System.Windows.Forms.Label();
     this.groupControl3 = new DevExpress.XtraEditors.GroupControl();
     this.lblDiscountAmt = new System.Windows.Forms.Label();
     this.lblTotalAmt = new System.Windows.Forms.Label();
     this.lblAmountPayable = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.lblMemberName = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.lblMembershipID = new System.Windows.Forms.Label();
     this.pnlCtrlBarScanner = new DevExpress.XtraEditors.PanelControl();
     this.calcEditQty = new DevExpress.XtraEditors.CalcEdit();
     this.Label12 = new System.Windows.Forms.Label();
     this.txtScannedCode = new DevExpress.XtraEditors.TextEdit();
     this.Label11 = new System.Windows.Forms.Label();
     this.btnEnter = new DevExpress.XtraEditors.SimpleButton();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.btnF9 = new DevExpress.XtraEditors.SimpleButton();
     this.btnF8 = new DevExpress.XtraEditors.SimpleButton();
     this.btnF7 = new DevExpress.XtraEditors.SimpleButton();
     this.btnF6 = new DevExpress.XtraEditors.SimpleButton();
     this.btnF5 = new DevExpress.XtraEditors.SimpleButton();
     this.btnF4 = new DevExpress.XtraEditors.SimpleButton();
     this.btnF3 = new DevExpress.XtraEditors.SimpleButton();
     this.btnF2 = new DevExpress.XtraEditors.SimpleButton();
     this.btnF1 = new DevExpress.XtraEditors.SimpleButton();
     this.splitterControl1 = new DevExpress.XtraEditors.SplitterControl();
     this.pnlLeft = new DevExpress.XtraEditors.PanelControl();
     this.NavBarControl1 = new DevExpress.XtraNavBar.NavBarControl();
     this.nbgPackage = new DevExpress.XtraNavBar.NavBarGroup();
     this.nbiPackage001 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage002 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage003 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage004 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage005 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage006 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage007 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage008 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage009 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage010 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage011 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage012 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage036 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiPackage037 = new DevExpress.XtraNavBar.NavBarItem();
     this.navGiro = new DevExpress.XtraNavBar.NavBarItem();
     this.navSpaGiro = new DevExpress.XtraNavBar.NavBarItem();
     this.navConvertSpa = new DevExpress.XtraNavBar.NavBarItem();
     this.nbgProduct = new DevExpress.XtraNavBar.NavBarGroup();
     this.nbiProduct001 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiProduct002 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbgMiscellaneous = new DevExpress.XtraNavBar.NavBarGroup();
     this.nbiMiscellaneous001 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiMiscellaneous002 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiMiscellaneous004 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiMiscellaneous005 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiMiscellaneous006 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiMiscellaneous007 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiMiscellaneous008 = new DevExpress.XtraNavBar.NavBarItem();
     this.nbiMiscellaneous009 = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem1 = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarMaintainSpaGiro = new DevExpress.XtraNavBar.NavBarItem();
     this.navDeposit = new DevExpress.XtraNavBar.NavBarItem();
     this.pnlGrid = new DevExpress.XtraEditors.PanelControl();
     this.gridItem = new DevExpress.XtraGrid.GridControl();
     this.GridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnStrCode = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnDesc = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnListPrice = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnQty = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnDiscountCode = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnDiscountAmt = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnFreebieCode = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnSubTotal = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnExchange = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnBillDiscount = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.pnlTop)).BeginInit();
     this.pnlTop.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl1)).BeginInit();
     this.GroupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl2)).BeginInit();
     this.GroupControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).BeginInit();
     this.groupControl6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).BeginInit();
     this.groupControl5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).BeginInit();
     this.groupControl4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).BeginInit();
     this.groupControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlBarScanner)).BeginInit();
     this.pnlCtrlBarScanner.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.calcEditQty.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtScannedCode.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pnlLeft)).BeginInit();
     this.pnlLeft.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.NavBarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pnlGrid)).BeginInit();
     this.pnlGrid.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridItem)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.GridView1)).BeginInit();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Magenta;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     this.imageList1.Images.SetKeyName(4, "");
     this.imageList1.Images.SetKeyName(5, "");
     this.imageList1.Images.SetKeyName(6, "");
     //
     // pnlTop
     //
     this.pnlTop.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.pnlTop.Controls.Add(this.panelControl2);
     this.pnlTop.Controls.Add(this.panelControl1);
     this.pnlTop.Controls.Add(this.splitterControl1);
     this.pnlTop.Controls.Add(this.pnlLeft);
     this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlTop.Location = new System.Drawing.Point(0, 0);
     this.pnlTop.Name = "pnlTop";
     this.pnlTop.Size = new System.Drawing.Size(1030, 387);
     this.pnlTop.TabIndex = 0;
     //
     // panelControl2
     //
     this.panelControl2.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.lblLocation);
     this.panelControl2.Controls.Add(this.label9);
     this.panelControl2.Controls.Add(this.simpleButton1);
     this.panelControl2.Controls.Add(this.sBtnAdd);
     this.panelControl2.Controls.Add(this.sBtnSubtract);
     this.panelControl2.Controls.Add(this.GroupControl1);
     this.panelControl2.Controls.Add(this.GroupControl2);
     this.panelControl2.Controls.Add(this.label7);
     this.panelControl2.Controls.Add(this.lblMemberName);
     this.panelControl2.Controls.Add(this.label6);
     this.panelControl2.Controls.Add(this.lblMembershipID);
     this.panelControl2.Controls.Add(this.pnlCtrlBarScanner);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(182, 113);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(848, 274);
     this.panelControl2.TabIndex = 48;
     //
     // lblLocation
     //
     this.lblLocation.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblLocation.Location = new System.Drawing.Point(662, 5);
     this.lblLocation.Name = "lblLocation";
     this.lblLocation.Size = new System.Drawing.Size(138, 16);
     this.lblLocation.TabIndex = 57;
     this.lblLocation.Text = "--";
     //
     // label9
     //
     this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label9.Location = new System.Drawing.Point(605, 5);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(90, 14);
     this.label9.TabIndex = 56;
     this.label9.Text = "Location:";
     //
     // simpleButton1
     //
     this.simpleButton1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.simpleButton1.Appearance.Options.UseFont = true;
     this.simpleButton1.Location = new System.Drawing.Point(748, 245);
     this.simpleButton1.Name = "simpleButton1";
     this.simpleButton1.Size = new System.Drawing.Size(52, 30);
     this.simpleButton1.TabIndex = 54;
     this.simpleButton1.Text = "Delete";
     this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
     //
     // sBtnAdd
     //
     this.sBtnAdd.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sBtnAdd.Appearance.Options.UseFont = true;
     this.sBtnAdd.Appearance.Options.UseTextOptions = true;
     this.sBtnAdd.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.sBtnAdd.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.sBtnAdd.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.sBtnAdd.ImageIndex = 0;
     this.sBtnAdd.ImageList = this.imageList1;
     this.sBtnAdd.Location = new System.Drawing.Point(718, 245);
     this.sBtnAdd.Name = "sBtnAdd";
     this.sBtnAdd.Size = new System.Drawing.Size(30, 30);
     this.sBtnAdd.TabIndex = 53;
     this.sBtnAdd.Click += new System.EventHandler(this.sBtnAdd_Click);
     //
     // sBtnSubtract
     //
     this.sBtnSubtract.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sBtnSubtract.Appearance.Options.UseFont = true;
     this.sBtnSubtract.Appearance.Options.UseTextOptions = true;
     this.sBtnSubtract.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.sBtnSubtract.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.sBtnSubtract.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.sBtnSubtract.ImageIndex = 1;
     this.sBtnSubtract.ImageList = this.imageList1;
     this.sBtnSubtract.Location = new System.Drawing.Point(688, 245);
     this.sBtnSubtract.Name = "sBtnSubtract";
     this.sBtnSubtract.Size = new System.Drawing.Size(30, 30);
     this.sBtnSubtract.TabIndex = 52;
     this.sBtnSubtract.Click += new System.EventHandler(this.sBtnSubtract_Click);
     //
     // GroupControl1
     //
     this.GroupControl1.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.GroupControl1.Appearance.BorderColor = System.Drawing.Color.Black;
     this.GroupControl1.Appearance.ForeColor = System.Drawing.SystemColors.ControlText;
     this.GroupControl1.Appearance.Options.UseBackColor = true;
     this.GroupControl1.Appearance.Options.UseBorderColor = true;
     this.GroupControl1.Appearance.Options.UseForeColor = true;
     this.GroupControl1.Controls.Add(this.label13);
     this.GroupControl1.Controls.Add(this.lblUpgradeFrom);
     this.GroupControl1.Controls.Add(this.label14);
     this.GroupControl1.Controls.Add(this.lblTherapistName);
     this.GroupControl1.Controls.Add(this.label10);
     this.GroupControl1.Controls.Add(this.lblTherapistID);
     this.GroupControl1.Controls.Add(this.label8);
     this.GroupControl1.Controls.Add(this.lblSalesPersonName);
     this.GroupControl1.Controls.Add(this.label5);
     this.GroupControl1.Controls.Add(this.lblBillReward);
     this.GroupControl1.Controls.Add(this.label4);
     this.GroupControl1.Controls.Add(this.label3);
     this.GroupControl1.Controls.Add(this.label2);
     this.GroupControl1.Controls.Add(this.lblBillFB);
     this.GroupControl1.Controls.Add(this.lblBillDiscCode);
     this.GroupControl1.Controls.Add(this.lblDateTime);
     this.GroupControl1.Controls.Add(this.lblSalesperson);
     this.GroupControl1.Location = new System.Drawing.Point(7, 22);
     this.GroupControl1.Name = "GroupControl1";
     this.GroupControl1.Size = new System.Drawing.Size(379, 217);
     this.GroupControl1.TabIndex = 45;
     //
     // label13
     //
     this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label13.Location = new System.Drawing.Point(5, 165);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(98, 16);
     this.label13.TabIndex = 45;
     this.label13.Text = "Upgrade From:";
     //
     // lblUpgradeFrom
     //
     this.lblUpgradeFrom.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblUpgradeFrom.Location = new System.Drawing.Point(103, 165);
     this.lblUpgradeFrom.Name = "lblUpgradeFrom";
     this.lblUpgradeFrom.Size = new System.Drawing.Size(269, 50);
     this.lblUpgradeFrom.TabIndex = 44;
     //
     // label14
     //
     this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label14.Location = new System.Drawing.Point(5, 105);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(98, 14);
     this.label14.TabIndex = 43;
     this.label14.Text = "Name:";
     //
     // lblTherapistName
     //
     this.lblTherapistName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTherapistName.Location = new System.Drawing.Point(103, 105);
     this.lblTherapistName.Name = "lblTherapistName";
     this.lblTherapistName.Size = new System.Drawing.Size(254, 18);
     this.lblTherapistName.TabIndex = 42;
     this.lblTherapistName.Text = "--";
     //
     // label10
     //
     this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label10.Location = new System.Drawing.Point(5, 85);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(98, 14);
     this.label10.TabIndex = 41;
     this.label10.Text = "Therapist ID:";
     //
     // lblTherapistID
     //
     this.lblTherapistID.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTherapistID.Location = new System.Drawing.Point(103, 85);
     this.lblTherapistID.Name = "lblTherapistID";
     this.lblTherapistID.Size = new System.Drawing.Size(110, 18);
     this.lblTherapistID.TabIndex = 40;
     this.lblTherapistID.Text = "--";
     //
     // label8
     //
     this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label8.Location = new System.Drawing.Point(5, 65);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(98, 14);
     this.label8.TabIndex = 39;
     this.label8.Text = "Name:";
     //
     // lblSalesPersonName
     //
     this.lblSalesPersonName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblSalesPersonName.Location = new System.Drawing.Point(103, 65);
     this.lblSalesPersonName.Name = "lblSalesPersonName";
     this.lblSalesPersonName.Size = new System.Drawing.Size(252, 18);
     this.lblSalesPersonName.TabIndex = 38;
     this.lblSalesPersonName.Text = "--";
     //
     // label5
     //
     this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label5.Location = new System.Drawing.Point(212, 145);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(92, 16);
     this.label5.TabIndex = 37;
     this.label5.Text = "Reward Code :";
     //
     // lblBillReward
     //
     this.lblBillReward.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblBillReward.Location = new System.Drawing.Point(295, 145);
     this.lblBillReward.Name = "lblBillReward";
     this.lblBillReward.Size = new System.Drawing.Size(81, 18);
     this.lblBillReward.TabIndex = 36;
     this.lblBillReward.Text = "--";
     //
     // label4
     //
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label4.Location = new System.Drawing.Point(5, 145);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(98, 16);
     this.label4.TabIndex = 35;
     this.label4.Text = "Freebie Code :";
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label3.Location = new System.Drawing.Point(5, 125);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(98, 15);
     this.label3.TabIndex = 34;
     this.label3.Text = "Discount Code:";
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label2.Location = new System.Drawing.Point(5, 45);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(114, 18);
     this.label2.TabIndex = 33;
     this.label2.Text = "Sales Person ID:";
     //
     // lblBillFB
     //
     this.lblBillFB.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblBillFB.Location = new System.Drawing.Point(103, 145);
     this.lblBillFB.Name = "lblBillFB";
     this.lblBillFB.Size = new System.Drawing.Size(96, 18);
     this.lblBillFB.TabIndex = 27;
     this.lblBillFB.Text = "--";
     //
     // lblBillDiscCode
     //
     this.lblBillDiscCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblBillDiscCode.Location = new System.Drawing.Point(103, 125);
     this.lblBillDiscCode.Name = "lblBillDiscCode";
     this.lblBillDiscCode.Size = new System.Drawing.Size(96, 18);
     this.lblBillDiscCode.TabIndex = 26;
     this.lblBillDiscCode.Text = "--";
     //
     // lblDateTime
     //
     this.lblDateTime.AutoSize = true;
     this.lblDateTime.BackColor = System.Drawing.SystemColors.Control;
     this.lblDateTime.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDateTime.Location = new System.Drawing.Point(5, 22);
     this.lblDateTime.Name = "lblDateTime";
     this.lblDateTime.Size = new System.Drawing.Size(163, 17);
     this.lblDateTime.TabIndex = 24;
     this.lblDateTime.Text = "31/08/2005 11:30 AM";
     //
     // lblSalesperson
     //
     this.lblSalesperson.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblSalesperson.Location = new System.Drawing.Point(117, 45);
     this.lblSalesperson.Name = "lblSalesperson";
     this.lblSalesperson.Size = new System.Drawing.Size(110, 18);
     this.lblSalesperson.TabIndex = 32;
     this.lblSalesperson.Text = "--";
     //
     // GroupControl2
     //
     this.GroupControl2.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.GroupControl2.Appearance.BorderColor = System.Drawing.Color.Black;
     this.GroupControl2.Appearance.ForeColor = System.Drawing.SystemColors.ControlText;
     this.GroupControl2.Appearance.Options.UseBackColor = true;
     this.GroupControl2.Appearance.Options.UseBorderColor = true;
     this.GroupControl2.Appearance.Options.UseForeColor = true;
     this.GroupControl2.Controls.Add(this.groupControl6);
     this.GroupControl2.Controls.Add(this.groupControl5);
     this.GroupControl2.Controls.Add(this.groupControl4);
     this.GroupControl2.Controls.Add(this.groupControl3);
     this.GroupControl2.Controls.Add(this.lblTotalAmt);
     this.GroupControl2.Controls.Add(this.lblAmountPayable);
     this.GroupControl2.Controls.Add(this.label1);
     this.GroupControl2.Location = new System.Drawing.Point(389, 22);
     this.GroupControl2.Name = "GroupControl2";
     this.GroupControl2.Size = new System.Drawing.Size(411, 217);
     this.GroupControl2.TabIndex = 46;
     //
     // groupControl6
     //
     this.groupControl6.Controls.Add(this.lblUsageBal);
     this.groupControl6.Location = new System.Drawing.Point(112, 140);
     this.groupControl6.Name = "groupControl6";
     this.groupControl6.Size = new System.Drawing.Size(93, 62);
     this.groupControl6.TabIndex = 37;
     this.groupControl6.Text = "Usage Bal:";
     this.groupControl6.Visible = false;
     //
     // lblUsageBal
     //
     this.lblUsageBal.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblUsageBal.Location = new System.Drawing.Point(13, 30);
     this.lblUsageBal.Name = "lblUsageBal";
     this.lblUsageBal.Size = new System.Drawing.Size(82, 23);
     this.lblUsageBal.TabIndex = 33;
     this.lblUsageBal.Text = "0";
     this.lblUsageBal.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // groupControl5
     //
     this.groupControl5.Controls.Add(this.lblNettAmt);
     this.groupControl5.Location = new System.Drawing.Point(102, 140);
     this.groupControl5.Name = "groupControl5";
     this.groupControl5.Size = new System.Drawing.Size(104, 62);
     this.groupControl5.TabIndex = 36;
     this.groupControl5.Text = "Nett Amt:";
     //
     // lblNettAmt
     //
     this.lblNettAmt.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblNettAmt.Location = new System.Drawing.Point(13, 30);
     this.lblNettAmt.Name = "lblNettAmt";
     this.lblNettAmt.Size = new System.Drawing.Size(82, 23);
     this.lblNettAmt.TabIndex = 33;
     this.lblNettAmt.Text = "0";
     this.lblNettAmt.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // groupControl4
     //
     this.groupControl4.Controls.Add(this.lblGST);
     this.groupControl4.Location = new System.Drawing.Point(302, 140);
     this.groupControl4.Name = "groupControl4";
     this.groupControl4.Size = new System.Drawing.Size(100, 62);
     this.groupControl4.TabIndex = 35;
     this.groupControl4.Text = "GST:";
     //
     // lblGST
     //
     this.lblGST.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblGST.Location = new System.Drawing.Point(22, 28);
     this.lblGST.Name = "lblGST";
     this.lblGST.Size = new System.Drawing.Size(70, 23);
     this.lblGST.TabIndex = 32;
     this.lblGST.Text = "0";
     this.lblGST.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // groupControl3
     //
     this.groupControl3.Controls.Add(this.lblDiscountAmt);
     this.groupControl3.Location = new System.Drawing.Point(204, 140);
     this.groupControl3.Name = "groupControl3";
     this.groupControl3.Size = new System.Drawing.Size(100, 62);
     this.groupControl3.TabIndex = 34;
     this.groupControl3.Text = "Total Discount:";
     //
     // lblDiscountAmt
     //
     this.lblDiscountAmt.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDiscountAmt.Location = new System.Drawing.Point(23, 30);
     this.lblDiscountAmt.Name = "lblDiscountAmt";
     this.lblDiscountAmt.Size = new System.Drawing.Size(72, 23);
     this.lblDiscountAmt.TabIndex = 31;
     this.lblDiscountAmt.Text = "0";
     this.lblDiscountAmt.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblTotalAmt
     //
     this.lblTotalAmt.AutoSize = true;
     this.lblTotalAmt.Font = new System.Drawing.Font("Microsoft Sans Serif", 38F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTotalAmt.Location = new System.Drawing.Point(141, 66);
     this.lblTotalAmt.Name = "lblTotalAmt";
     this.lblTotalAmt.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lblTotalAmt.Size = new System.Drawing.Size(54, 59);
     this.lblTotalAmt.TabIndex = 27;
     this.lblTotalAmt.Text = "0";
     this.lblTotalAmt.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblAmountPayable
     //
     this.lblAmountPayable.AutoSize = true;
     this.lblAmountPayable.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblAmountPayable.Location = new System.Drawing.Point(8, 20);
     this.lblAmountPayable.Name = "lblAmountPayable";
     this.lblAmountPayable.Size = new System.Drawing.Size(170, 31);
     this.lblAmountPayable.TabIndex = 26;
     this.lblAmountPayable.Text = "Sales Total:";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(8, 128);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(0, 18);
     this.label1.TabIndex = 25;
     //
     // label7
     //
     this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label7.Location = new System.Drawing.Point(289, 4);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(90, 14);
     this.label7.TabIndex = 43;
     this.label7.Text = "Member Name:";
     //
     // lblMemberName
     //
     this.lblMemberName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblMemberName.Location = new System.Drawing.Point(378, 5);
     this.lblMemberName.Name = "lblMemberName";
     this.lblMemberName.Size = new System.Drawing.Size(224, 16);
     this.lblMemberName.TabIndex = 42;
     this.lblMemberName.Text = "--";
     //
     // label6
     //
     this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label6.Location = new System.Drawing.Point(9, 5);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(96, 16);
     this.label6.TabIndex = 41;
     this.label6.Text = "Membership ID:";
     //
     // lblMembershipID
     //
     this.lblMembershipID.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblMembershipID.Location = new System.Drawing.Point(113, 5);
     this.lblMembershipID.Name = "lblMembershipID";
     this.lblMembershipID.Size = new System.Drawing.Size(178, 16);
     this.lblMembershipID.TabIndex = 40;
     this.lblMembershipID.Text = "--";
     //
     // pnlCtrlBarScanner
     //
     this.pnlCtrlBarScanner.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.pnlCtrlBarScanner.Controls.Add(this.calcEditQty);
     this.pnlCtrlBarScanner.Controls.Add(this.Label12);
     this.pnlCtrlBarScanner.Controls.Add(this.txtScannedCode);
     this.pnlCtrlBarScanner.Controls.Add(this.Label11);
     this.pnlCtrlBarScanner.Controls.Add(this.btnEnter);
     this.pnlCtrlBarScanner.Location = new System.Drawing.Point(7, 241);
     this.pnlCtrlBarScanner.Name = "pnlCtrlBarScanner";
     this.pnlCtrlBarScanner.Size = new System.Drawing.Size(508, 36);
     this.pnlCtrlBarScanner.TabIndex = 55;
     this.pnlCtrlBarScanner.Visible = false;
     //
     // calcEditQty
     //
     this.calcEditQty.Location = new System.Drawing.Point(382, 4);
     this.calcEditQty.Name = "calcEditQty";
     this.calcEditQty.Properties.AutoHeight = false;
     this.calcEditQty.Properties.Precision = 0;
     this.calcEditQty.Size = new System.Drawing.Size(64, 28);
     this.calcEditQty.TabIndex = 52;
     this.calcEditQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.calcEditQty_KeyDown);
     //
     // Label12
     //
     this.Label12.AutoSize = true;
     this.Label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label12.Location = new System.Drawing.Point(350, 12);
     this.Label12.Name = "Label12";
     this.Label12.Size = new System.Drawing.Size(32, 13);
     this.Label12.TabIndex = 49;
     this.Label12.Text = "QTY";
     //
     // txtScannedCode
     //
     this.txtScannedCode.EditValue = "";
     this.txtScannedCode.Location = new System.Drawing.Point(114, 4);
     this.txtScannedCode.Name = "txtScannedCode";
     this.txtScannedCode.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtScannedCode.Properties.Appearance.Options.UseFont = true;
     this.txtScannedCode.Size = new System.Drawing.Size(226, 29);
     this.txtScannedCode.TabIndex = 48;
     this.txtScannedCode.EditValueChanged += new System.EventHandler(this.txtScannedCode_EditValueChanged);
     this.txtScannedCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtScannedCode_KeyDown);
     //
     // Label11
     //
     this.Label11.AutoSize = true;
     this.Label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Label11.Location = new System.Drawing.Point(4, 12);
     this.Label11.Name = "Label11";
     this.Label11.Size = new System.Drawing.Size(112, 13);
     this.Label11.TabIndex = 47;
     this.Label11.Text = "SCAN ITEM CODE";
     //
     // btnEnter
     //
     this.btnEnter.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnEnter.Appearance.Options.UseFont = true;
     this.btnEnter.Appearance.Options.UseTextOptions = true;
     this.btnEnter.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btnEnter.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btnEnter.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btnEnter.ImageIndex = 6;
     this.btnEnter.ImageList = this.imageList1;
     this.btnEnter.Location = new System.Drawing.Point(454, 4);
     this.btnEnter.Name = "btnEnter";
     this.btnEnter.Size = new System.Drawing.Size(30, 30);
     this.btnEnter.TabIndex = 51;
     this.btnEnter.Click += new System.EventHandler(this.btnEnter_Click);
     //
     // panelControl1
     //
     this.panelControl1.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.panelControl1.Appearance.Options.UseBackColor = true;
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Controls.Add(this.btnF9);
     this.panelControl1.Controls.Add(this.btnF8);
     this.panelControl1.Controls.Add(this.btnF7);
     this.panelControl1.Controls.Add(this.btnF6);
     this.panelControl1.Controls.Add(this.btnF5);
     this.panelControl1.Controls.Add(this.btnF4);
     this.panelControl1.Controls.Add(this.btnF3);
     this.panelControl1.Controls.Add(this.btnF2);
     this.panelControl1.Controls.Add(this.btnF1);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(182, 0);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(848, 113);
     this.panelControl1.TabIndex = 47;
     //
     // btnF9
     //
     this.btnF9.Appearance.Font = new System.Drawing.Font("Tahoma", 14.35F, System.Drawing.FontStyle.Bold);
     this.btnF9.Appearance.Options.UseFont = true;
     this.btnF9.Location = new System.Drawing.Point(5, 76);
     this.btnF9.Name = "btnF9";
     this.btnF9.Size = new System.Drawing.Size(190, 32);
     this.btnF9.TabIndex = 48;
     this.btnF9.Text = "F9-Convert";
     this.btnF9.Click += new System.EventHandler(this.btnF9_Click);
     //
     // btnF8
     //
     this.btnF8.Appearance.Font = new System.Drawing.Font("Tahoma", 14.35F, System.Drawing.FontStyle.Bold);
     this.btnF8.Appearance.Options.UseFont = true;
     this.btnF8.Location = new System.Drawing.Point(608, 40);
     this.btnF8.Name = "btnF8";
     this.btnF8.Size = new System.Drawing.Size(190, 32);
     this.btnF8.TabIndex = 47;
     this.btnF8.Text = "F8-Cancel";
     this.btnF8.Click += new System.EventHandler(this.btnF8_Click);
     //
     // btnF7
     //
     this.btnF7.Appearance.Font = new System.Drawing.Font("Tahoma", 14.35F, System.Drawing.FontStyle.Bold);
     this.btnF7.Appearance.Options.UseFont = true;
     this.btnF7.Location = new System.Drawing.Point(406, 40);
     this.btnF7.Name = "btnF7";
     this.btnF7.Size = new System.Drawing.Size(190, 32);
     this.btnF7.TabIndex = 46;
     this.btnF7.Text = "F7-Tender";
     this.btnF7.Click += new System.EventHandler(this.btnF7_Click);
     //
     // btnF6
     //
     this.btnF6.Appearance.Font = new System.Drawing.Font("Tahoma", 14.35F, System.Drawing.FontStyle.Bold);
     this.btnF6.Appearance.Options.UseFont = true;
     this.btnF6.Location = new System.Drawing.Point(206, 40);
     this.btnF6.Name = "btnF6";
     this.btnF6.Size = new System.Drawing.Size(190, 32);
     this.btnF6.TabIndex = 45;
     this.btnF6.Text = "F6-IPP";
     this.btnF6.Click += new System.EventHandler(this.btnF6_Click);
     //
     // btnF5
     //
     this.btnF5.Appearance.Font = new System.Drawing.Font("Tahoma", 14.35F, System.Drawing.FontStyle.Bold);
     this.btnF5.Appearance.Options.UseFont = true;
     this.btnF5.Location = new System.Drawing.Point(5, 40);
     this.btnF5.Name = "btnF5";
     this.btnF5.Size = new System.Drawing.Size(190, 32);
     this.btnF5.TabIndex = 44;
     this.btnF5.Text = "F5-Rewards";
     this.btnF5.Click += new System.EventHandler(this.btnF5_Click);
     //
     // btnF4
     //
     this.btnF4.Appearance.Font = new System.Drawing.Font("Tahoma", 14.35F, System.Drawing.FontStyle.Bold);
     this.btnF4.Appearance.Options.UseFont = true;
     this.btnF4.Location = new System.Drawing.Point(608, 4);
     this.btnF4.Name = "btnF4";
     this.btnF4.Size = new System.Drawing.Size(190, 32);
     this.btnF4.TabIndex = 43;
     this.btnF4.Text = "F4-Bill Freebie";
     this.btnF4.Click += new System.EventHandler(this.btnF4_Click);
     //
     // btnF3
     //
     this.btnF3.Appearance.Font = new System.Drawing.Font("Tahoma", 14.35F, System.Drawing.FontStyle.Bold);
     this.btnF3.Appearance.Options.UseFont = true;
     this.btnF3.Location = new System.Drawing.Point(406, 4);
     this.btnF3.Name = "btnF3";
     this.btnF3.Size = new System.Drawing.Size(190, 32);
     this.btnF3.TabIndex = 42;
     this.btnF3.Text = "F3-Bill Discount";
     this.btnF3.Click += new System.EventHandler(this.btnF3_Click);
     //
     // btnF2
     //
     this.btnF2.Appearance.Font = new System.Drawing.Font("Tahoma", 14.35F, System.Drawing.FontStyle.Bold);
     this.btnF2.Appearance.Options.UseFont = true;
     this.btnF2.Location = new System.Drawing.Point(206, 4);
     this.btnF2.Name = "btnF2";
     this.btnF2.Size = new System.Drawing.Size(190, 32);
     this.btnF2.TabIndex = 41;
     this.btnF2.Text = "F2-Sales ID";
     this.btnF2.Click += new System.EventHandler(this.btnF2_Click);
     //
     // btnF1
     //
     this.btnF1.Appearance.Font = new System.Drawing.Font("Tahoma", 14.35F, System.Drawing.FontStyle.Bold);
     this.btnF1.Appearance.Options.UseFont = true;
     this.btnF1.Location = new System.Drawing.Point(5, 4);
     this.btnF1.Name = "btnF1";
     this.btnF1.Size = new System.Drawing.Size(190, 32);
     this.btnF1.TabIndex = 40;
     this.btnF1.Text = "F1-Item Discount";
     this.btnF1.Click += new System.EventHandler(this.btnF1_Click);
     //
     // splitterControl1
     //
     this.splitterControl1.Location = new System.Drawing.Point(176, 0);
     this.splitterControl1.Name = "splitterControl1";
     this.splitterControl1.Size = new System.Drawing.Size(6, 387);
     this.splitterControl1.TabIndex = 46;
     this.splitterControl1.TabStop = false;
     //
     // pnlLeft
     //
     this.pnlLeft.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.pnlLeft.Controls.Add(this.NavBarControl1);
     this.pnlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlLeft.Location = new System.Drawing.Point(0, 0);
     this.pnlLeft.Name = "pnlLeft";
     this.pnlLeft.Size = new System.Drawing.Size(176, 387);
     this.pnlLeft.TabIndex = 45;
     //
     // NavBarControl1
     //
     this.NavBarControl1.ActiveGroup = this.nbgPackage;
     this.NavBarControl1.Appearance.Background.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.NavBarControl1.Appearance.Background.Options.UseFont = true;
     this.NavBarControl1.Appearance.Background.Options.UseTextOptions = true;
     this.NavBarControl1.Appearance.Background.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
     this.NavBarControl1.Appearance.Background.TextOptions.Trimming = DevExpress.Utils.Trimming.Word;
     this.NavBarControl1.Appearance.Background.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
     this.NavBarControl1.Appearance.Background.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.NavBarControl1.Appearance.Item.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.NavBarControl1.Appearance.Item.Options.UseFont = true;
     this.NavBarControl1.Appearance.ItemActive.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.NavBarControl1.Appearance.ItemActive.Options.UseFont = true;
     this.NavBarControl1.ContentButtonHint = null;
     this.NavBarControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.NavBarControl1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.NavBarControl1.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] {
     this.nbgPackage,
     this.nbgProduct,
     this.nbgMiscellaneous});
     this.NavBarControl1.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] {
     this.nbiPackage001,
     this.nbiPackage002,
     this.nbiPackage003,
     this.nbiPackage004,
     this.nbiPackage005,
     this.nbiPackage006,
     this.nbiPackage007,
     this.nbiPackage008,
     this.nbiPackage009,
     this.nbiPackage010,
     this.nbiPackage011,
     this.nbiPackage012,
     this.nbiProduct001,
     this.nbiProduct002,
     this.nbiMiscellaneous001,
     this.nbiMiscellaneous002,
     this.nbiMiscellaneous004,
     this.nbiMiscellaneous005,
     this.nbiMiscellaneous006,
     this.nbiMiscellaneous007,
     this.nbiMiscellaneous008,
     this.nbiMiscellaneous009,
     this.navGiro,
     this.navBarItem1,
     this.navDeposit,
     this.navSpaGiro,
     this.navBarMaintainSpaGiro,
     this.navConvertSpa,
     this.nbiPackage036,
     this.nbiPackage037});
     this.NavBarControl1.Location = new System.Drawing.Point(0, 0);
     this.NavBarControl1.LookAndFeel.UseDefaultLookAndFeel = false;
     this.NavBarControl1.Name = "NavBarControl1";
     this.NavBarControl1.OptionsNavPane.ExpandedWidth = 176;
     this.NavBarControl1.Size = new System.Drawing.Size(176, 387);
     this.NavBarControl1.StoreDefaultPaintStyleName = true;
     this.NavBarControl1.TabIndex = 44;
     this.NavBarControl1.Text = "MANTAIN GIROPKG  ";
     this.NavBarControl1.Click += new System.EventHandler(this.NavBarControl1_Click);
     //
     // nbgPackage
     //
     this.nbgPackage.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nbgPackage.Appearance.Options.UseFont = true;
     this.nbgPackage.Caption = "PACKAGE";
     this.nbgPackage.Expanded = true;
     this.nbgPackage.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage001),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage002),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage003),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage004),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage005),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage006),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage007),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage008),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage009),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage010),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage011),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage012),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage036),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiPackage037),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navGiro),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navSpaGiro),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navConvertSpa)});
     this.nbgPackage.Name = "nbgPackage";
     this.nbgPackage.TopVisibleLinkIndex = 6;
     //
     // nbiPackage001
     //
     this.nbiPackage001.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nbiPackage001.Appearance.Options.UseFont = true;
     this.nbiPackage001.Caption = "FITNESS PKG";
     this.nbiPackage001.Name = "nbiPackage001";
     this.nbiPackage001.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage001_LinkClicked_1);
     //
     // nbiPackage002
     //
     this.nbiPackage002.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nbiPackage002.Appearance.Options.UseFont = true;
     this.nbiPackage002.Caption = "FITNESS GIRO";
     this.nbiPackage002.Name = "nbiPackage002";
     this.nbiPackage002.Visible = false;
     this.nbiPackage002.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage002_LinkClicked);
     //
     // nbiPackage003
     //
     this.nbiPackage003.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nbiPackage003.Appearance.Options.UseFont = true;
     this.nbiPackage003.Caption = "PT PKG";
     this.nbiPackage003.Name = "nbiPackage003";
     this.nbiPackage003.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage003_LinkClicked);
     //
     // nbiPackage004
     //
     this.nbiPackage004.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nbiPackage004.Appearance.Options.UseFont = true;
     this.nbiPackage004.Caption = "SPA SINGLE TX";
     this.nbiPackage004.Name = "nbiPackage004";
     this.nbiPackage004.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage004_LinkClicked);
     //
     // nbiPackage005
     //
     this.nbiPackage005.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiPackage005.Appearance.Options.UseFont = true;
     this.nbiPackage005.Caption = "SPA PKG";
     this.nbiPackage005.Name = "nbiPackage005";
     this.nbiPackage005.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage005_LinkClicked);
     //
     // nbiPackage006
     //
     this.nbiPackage006.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiPackage006.Appearance.Options.UseFont = true;
     this.nbiPackage006.Caption = "IPL PKG";
     this.nbiPackage006.Name = "nbiPackage006";
     this.nbiPackage006.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage006_LinkClicked);
     //
     // nbiPackage007
     //
     this.nbiPackage007.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiPackage007.Appearance.Options.UseFont = true;
     this.nbiPackage007.Caption = "SPA CREDIT";
     this.nbiPackage007.Name = "nbiPackage007";
     this.nbiPackage007.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage007_LinkClicked);
     //
     // nbiPackage008
     //
     this.nbiPackage008.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiPackage008.Appearance.Options.UseFont = true;
     this.nbiPackage008.Appearance.Options.UseTextOptions = true;
     this.nbiPackage008.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.nbiPackage008.Caption = "FITNESS COMBO PKG";
     this.nbiPackage008.Name = "nbiPackage008";
     this.nbiPackage008.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage008_LinkClicked);
     //
     // nbiPackage009
     //
     this.nbiPackage009.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiPackage009.Appearance.Options.UseFont = true;
     this.nbiPackage009.Appearance.Options.UseTextOptions = true;
     this.nbiPackage009.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.nbiPackage009.Caption = "SPA COMBO PKG";
     this.nbiPackage009.Name = "nbiPackage009";
     this.nbiPackage009.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage009_LinkClicked);
     //
     // nbiPackage010
     //
     this.nbiPackage010.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiPackage010.Appearance.Options.UseFont = true;
     this.nbiPackage010.Caption = "UPGRADE PKG";
     this.nbiPackage010.Name = "nbiPackage010";
     this.nbiPackage010.Visible = false;
     this.nbiPackage010.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage010_LinkClicked);
     //
     // nbiPackage011
     //
     this.nbiPackage011.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiPackage011.Appearance.Options.UseFont = true;
     this.nbiPackage011.Caption = "TOP-UP SINGLE TREATMENT";
     this.nbiPackage011.Name = "nbiPackage011";
     this.nbiPackage011.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage011_LinkClicked);
     //
     // nbiPackage012
     //
     this.nbiPackage012.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiPackage012.Appearance.Options.UseFont = true;
     this.nbiPackage012.Caption = "TOP-UP SPA CREDIT";
     this.nbiPackage012.Name = "nbiPackage012";
     this.nbiPackage012.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage012_LinkClicked);
     //
     // nbiPackage036
     //
     this.nbiPackage036.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiPackage036.Appearance.Options.UseFont = true;
     this.nbiPackage036.Caption = "HOLISTIC FITNESS CREDIT";
     this.nbiPackage036.Name = "nbiPackage036";
     this.nbiPackage036.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage036_LinkClicked);
     //
     // nbiPackage037
     //
     this.nbiPackage037.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiPackage037.Appearance.Options.UseFont = true;
     this.nbiPackage037.Caption = "HOLISTIC SPA CREDIT";
     this.nbiPackage037.Name = "nbiPackage037";
     this.nbiPackage037.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiPackage037_LinkClicked);
     //
     // navGiro
     //
     this.navGiro.Caption = "GIRO PKG";
     this.navGiro.Name = "navGiro";
     this.navGiro.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navGiro_LinkClicked);
     //
     // navSpaGiro
     //
     this.navSpaGiro.Caption = "SPA GIRO";
     this.navSpaGiro.Name = "navSpaGiro";
     this.navSpaGiro.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navSpaGiro_LinkClicked);
     //
     // navConvertSpa
     //
     this.navConvertSpa.Caption = "CONVERT SPA PKG";
     this.navConvertSpa.Name = "navConvertSpa";
     this.navConvertSpa.Visible = false;
     this.navConvertSpa.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navConvertSpa_LinkClicked);
     //
     // nbgProduct
     //
     this.nbgProduct.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nbgProduct.Appearance.Options.UseFont = true;
     this.nbgProduct.AppearanceBackground.Font = new System.Drawing.Font("Tahoma", 14.25F);
     this.nbgProduct.AppearanceBackground.Options.UseFont = true;
     this.nbgProduct.Caption = "PRODUCT";
     this.nbgProduct.Expanded = true;
     this.nbgProduct.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiProduct001),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiProduct002)});
     this.nbgProduct.Name = "nbgProduct";
     //
     // nbiProduct001
     //
     this.nbiProduct001.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nbiProduct001.Appearance.Options.UseFont = true;
     this.nbiProduct001.Caption = "FITNESS PRODUCT";
     this.nbiProduct001.Name = "nbiProduct001";
     this.nbiProduct001.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiProduct001_LinkClicked);
     //
     // nbiProduct002
     //
     this.nbiProduct002.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nbiProduct002.Appearance.Options.UseFont = true;
     this.nbiProduct002.Caption = "SPA PRODUCT";
     this.nbiProduct002.Name = "nbiProduct002";
     this.nbiProduct002.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiProduct002_LinkClicked);
     //
     // nbgMiscellaneous
     //
     this.nbgMiscellaneous.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nbgMiscellaneous.Appearance.Options.UseFont = true;
     this.nbgMiscellaneous.Caption = "MISCELLANEOUS";
     this.nbgMiscellaneous.Expanded = true;
     this.nbgMiscellaneous.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiMiscellaneous009),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiMiscellaneous001),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiMiscellaneous002),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiMiscellaneous004),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiMiscellaneous005),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiMiscellaneous006),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiMiscellaneous007),
     new DevExpress.XtraNavBar.NavBarItemLink(this.nbiMiscellaneous008),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem1),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navBarMaintainSpaGiro),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navDeposit)});
     this.nbgMiscellaneous.Name = "nbgMiscellaneous";
     //
     // nbiMiscellaneous001
     //
     this.nbiMiscellaneous001.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nbiMiscellaneous001.Appearance.Options.UseFont = true;
     this.nbiMiscellaneous001.Appearance.Options.UseTextOptions = true;
     this.nbiMiscellaneous001.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.nbiMiscellaneous001.Caption = "COURSES & EVENTS";
     this.nbiMiscellaneous001.Name = "nbiMiscellaneous001";
     this.nbiMiscellaneous001.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiMiscellaneous001_LinkClicked);
     //
     // nbiMiscellaneous002
     //
     this.nbiMiscellaneous002.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiMiscellaneous002.Appearance.Options.UseFont = true;
     this.nbiMiscellaneous002.Appearance.Options.UseTextOptions = true;
     this.nbiMiscellaneous002.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.nbiMiscellaneous002.Caption = "LOCKER RENTAL";
     this.nbiMiscellaneous002.Name = "nbiMiscellaneous002";
     this.nbiMiscellaneous002.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiMiscellaneous002_LinkClicked);
     //
     // nbiMiscellaneous004
     //
     this.nbiMiscellaneous004.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiMiscellaneous004.Appearance.Options.UseFont = true;
     this.nbiMiscellaneous004.Appearance.Options.UseTextOptions = true;
     this.nbiMiscellaneous004.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.nbiMiscellaneous004.Caption = "FORGET CARD";
     this.nbiMiscellaneous004.Name = "nbiMiscellaneous004";
     this.nbiMiscellaneous004.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiMiscellaneous004_LinkClicked);
     //
     // nbiMiscellaneous005
     //
     this.nbiMiscellaneous005.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiMiscellaneous005.Appearance.Options.UseFont = true;
     this.nbiMiscellaneous005.Appearance.Options.UseTextOptions = true;
     this.nbiMiscellaneous005.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.nbiMiscellaneous005.Caption = "LOST CARD";
     this.nbiMiscellaneous005.Name = "nbiMiscellaneous005";
     this.nbiMiscellaneous005.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiMiscellaneous005_LinkClicked);
     //
     // nbiMiscellaneous006
     //
     this.nbiMiscellaneous006.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiMiscellaneous006.Appearance.Options.UseFont = true;
     this.nbiMiscellaneous006.Appearance.Options.UseTextOptions = true;
     this.nbiMiscellaneous006.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.nbiMiscellaneous006.Caption = "MINERAL WATER";
     this.nbiMiscellaneous006.Name = "nbiMiscellaneous006";
     this.nbiMiscellaneous006.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiMiscellaneous006_LinkClicked);
     //
     // nbiMiscellaneous007
     //
     this.nbiMiscellaneous007.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiMiscellaneous007.Appearance.Options.UseFont = true;
     this.nbiMiscellaneous007.Appearance.Options.UseTextOptions = true;
     this.nbiMiscellaneous007.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.nbiMiscellaneous007.Caption = "OTHERS";
     this.nbiMiscellaneous007.Name = "nbiMiscellaneous007";
     this.nbiMiscellaneous007.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiMiscellaneous007_LinkClicked);
     //
     // nbiMiscellaneous008
     //
     this.nbiMiscellaneous008.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiMiscellaneous008.Appearance.Options.UseFont = true;
     this.nbiMiscellaneous008.Appearance.Options.UseTextOptions = true;
     this.nbiMiscellaneous008.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.nbiMiscellaneous008.Caption = "PAY OUTSTANDING";
     this.nbiMiscellaneous008.Name = "nbiMiscellaneous008";
     this.nbiMiscellaneous008.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiMiscellaneous008_LinkClicked);
     //
     // nbiMiscellaneous009
     //
     this.nbiMiscellaneous009.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.nbiMiscellaneous009.Appearance.Options.UseFont = true;
     this.nbiMiscellaneous009.Appearance.Options.UseTextOptions = true;
     this.nbiMiscellaneous009.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.nbiMiscellaneous009.Caption = "CASH VOUCHER";
     this.nbiMiscellaneous009.Name = "nbiMiscellaneous009";
     this.nbiMiscellaneous009.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nbiMiscellaneous009_LinkClicked);
     //
     // navBarItem1
     //
     this.navBarItem1.Caption = "MAINTAIN GIRO PKG";
     this.navBarItem1.Name = "navBarItem1";
     this.navBarItem1.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem1_LinkClicked);
     //
     // navBarMaintainSpaGiro
     //
     this.navBarMaintainSpaGiro.Caption = "MAINTAIN SPA GIRO";
     this.navBarMaintainSpaGiro.Name = "navBarMaintainSpaGiro";
     this.navBarMaintainSpaGiro.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarMaintainSpaGiro_LinkClicked);
     //
     // navDeposit
     //
     this.navDeposit.Caption = "DEPOSIT";
     this.navDeposit.Name = "navDeposit";
     this.navDeposit.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navDeposit_LinkClicked);
     //
     // pnlGrid
     //
     this.pnlGrid.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.pnlGrid.Controls.Add(this.gridItem);
     this.pnlGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlGrid.Location = new System.Drawing.Point(0, 387);
     this.pnlGrid.Name = "pnlGrid";
     this.pnlGrid.Size = new System.Drawing.Size(1030, 355);
     this.pnlGrid.TabIndex = 1;
     //
     // gridItem
     //
     this.gridItem.EmbeddedNavigator.Buttons.Append.Visible = false;
     this.gridItem.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.gridItem.EmbeddedNavigator.Buttons.Edit.Visible = false;
     this.gridItem.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
     this.gridItem.EmbeddedNavigator.Buttons.Remove.Visible = false;
     this.gridItem.Location = new System.Drawing.Point(0, 0);
     this.gridItem.MainView = this.GridView1;
     this.gridItem.Name = "gridItem";
     this.gridItem.Size = new System.Drawing.Size(990, 269);
     this.gridItem.TabIndex = 40;
     this.gridItem.UseEmbeddedNavigator = true;
     this.gridItem.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.GridView1});
     //
     // GridView1
     //
     this.GridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.GridView1.ColumnPanelRowHeight = 25;
     this.GridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnStrCode,
     this.gridColumnDesc,
     this.gridColumnListPrice,
     this.gridColumn8,
     this.gridColumnQty,
     this.gridColumnDiscountCode,
     this.gridColumnDiscountAmt,
     this.gridColumnFreebieCode,
     this.gridColumnSubTotal,
     this.gridColumnExchange,
     this.gridColumnBillDiscount});
     this.GridView1.CustomizationFormBounds = new System.Drawing.Rectangle(322, 464, 208, 156);
     this.GridView1.GridControl = this.gridItem;
     this.GridView1.Name = "GridView1";
     this.GridView1.RowHeight = 25;
     //
     // gridColumnStrCode
     //
     this.gridColumnStrCode.Caption = "Code";
     this.gridColumnStrCode.FieldName = "strCode";
     this.gridColumnStrCode.Name = "gridColumnStrCode";
     this.gridColumnStrCode.OptionsColumn.AllowEdit = false;
     this.gridColumnStrCode.OptionsFilter.AllowFilter = false;
     this.gridColumnStrCode.Visible = true;
     this.gridColumnStrCode.VisibleIndex = 0;
     this.gridColumnStrCode.Width = 104;
     //
     // gridColumnDesc
     //
     this.gridColumnDesc.Caption = "Description";
     this.gridColumnDesc.FieldName = "strDescription";
     this.gridColumnDesc.Name = "gridColumnDesc";
     this.gridColumnDesc.OptionsColumn.AllowEdit = false;
     this.gridColumnDesc.OptionsFilter.AllowFilter = false;
     this.gridColumnDesc.Visible = true;
     this.gridColumnDesc.VisibleIndex = 1;
     this.gridColumnDesc.Width = 166;
     //
     // gridColumnListPrice
     //
     this.gridColumnListPrice.Caption = "List Price";
     this.gridColumnListPrice.DisplayFormat.FormatString = "n2";
     this.gridColumnListPrice.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnListPrice.FieldName = "mUnitPrice";
     this.gridColumnListPrice.Name = "gridColumnListPrice";
     this.gridColumnListPrice.OptionsColumn.AllowEdit = false;
     this.gridColumnListPrice.OptionsFilter.AllowFilter = false;
     this.gridColumnListPrice.Visible = true;
     this.gridColumnListPrice.VisibleIndex = 2;
     this.gridColumnListPrice.Width = 98;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption = "Old Package Price";
     this.gridColumn8.FieldName = "OldPackagePrice";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Width = 101;
     //
     // gridColumnQty
     //
     this.gridColumnQty.Caption = "Quantity";
     this.gridColumnQty.FieldName = "nQuantity";
     this.gridColumnQty.Name = "gridColumnQty";
     this.gridColumnQty.OptionsFilter.AllowFilter = false;
     this.gridColumnQty.Visible = true;
     this.gridColumnQty.VisibleIndex = 3;
     this.gridColumnQty.Width = 58;
     //
     // gridColumnDiscountCode
     //
     this.gridColumnDiscountCode.Caption = "Discount Code";
     this.gridColumnDiscountCode.FieldName = "strDiscountCode";
     this.gridColumnDiscountCode.Name = "gridColumnDiscountCode";
     this.gridColumnDiscountCode.OptionsColumn.AllowEdit = false;
     this.gridColumnDiscountCode.OptionsFilter.AllowFilter = false;
     this.gridColumnDiscountCode.Visible = true;
     this.gridColumnDiscountCode.VisibleIndex = 4;
     this.gridColumnDiscountCode.Width = 82;
     //
     // gridColumnDiscountAmt
     //
     this.gridColumnDiscountAmt.Caption = "Discount Amt";
     this.gridColumnDiscountAmt.DisplayFormat.FormatString = "n2";
     this.gridColumnDiscountAmt.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnDiscountAmt.FieldName = "DiscountAmt";
     this.gridColumnDiscountAmt.Name = "gridColumnDiscountAmt";
     this.gridColumnDiscountAmt.OptionsColumn.AllowEdit = false;
     this.gridColumnDiscountAmt.OptionsFilter.AllowFilter = false;
     this.gridColumnDiscountAmt.Visible = true;
     this.gridColumnDiscountAmt.VisibleIndex = 5;
     this.gridColumnDiscountAmt.Width = 84;
     //
     // gridColumnFreebieCode
     //
     this.gridColumnFreebieCode.Caption = "Freebie Code";
     this.gridColumnFreebieCode.FieldName = "strFreebieCode";
     this.gridColumnFreebieCode.Name = "gridColumnFreebieCode";
     this.gridColumnFreebieCode.OptionsColumn.AllowEdit = false;
     this.gridColumnFreebieCode.OptionsFilter.AllowFilter = false;
     this.gridColumnFreebieCode.Visible = true;
     this.gridColumnFreebieCode.VisibleIndex = 6;
     this.gridColumnFreebieCode.Width = 108;
     //
     // gridColumnSubTotal
     //
     this.gridColumnSubTotal.Caption = "SubTotal";
     this.gridColumnSubTotal.DisplayFormat.FormatString = "n2";
     this.gridColumnSubTotal.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnSubTotal.FieldName = "mSubTotal";
     this.gridColumnSubTotal.Name = "gridColumnSubTotal";
     this.gridColumnSubTotal.OptionsColumn.AllowEdit = false;
     this.gridColumnSubTotal.OptionsFilter.AllowFilter = false;
     this.gridColumnSubTotal.Visible = true;
     this.gridColumnSubTotal.VisibleIndex = 7;
     this.gridColumnSubTotal.Width = 95;
     //
     // gridColumnExchange
     //
     this.gridColumnExchange.Caption = "Item Ref";
     this.gridColumnExchange.FieldName = "strReferenceNo";
     this.gridColumnExchange.Name = "gridColumnExchange";
     this.gridColumnExchange.OptionsFilter.AllowFilter = false;
     this.gridColumnExchange.Visible = true;
     this.gridColumnExchange.VisibleIndex = 8;
     this.gridColumnExchange.Width = 86;
     //
     // gridColumnBillDiscount
     //
     this.gridColumnBillDiscount.Caption = "Bill Ref";
     this.gridColumnBillDiscount.FieldName = "strBillReferenceNo";
     this.gridColumnBillDiscount.Name = "gridColumnBillDiscount";
     this.gridColumnBillDiscount.OptionsFilter.AllowFilter = false;
     this.gridColumnBillDiscount.Visible = true;
     this.gridColumnBillDiscount.VisibleIndex = 9;
     this.gridColumnBillDiscount.Width = 88;
     //
     // FormPOS2
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(1030, 742);
     this.Controls.Add(this.pnlGrid);
     this.Controls.Add(this.pnlTop);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.KeyPreview = true;
     this.MinimizeBox = false;
     this.Name = "FormPOS2";
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "ACMS POS";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FormPOS2_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.pnlTop)).EndInit();
     this.pnlTop.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl1)).EndInit();
     this.GroupControl1.ResumeLayout(false);
     this.GroupControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl2)).EndInit();
     this.GroupControl2.ResumeLayout(false);
     this.GroupControl2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).EndInit();
     this.groupControl6.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).EndInit();
     this.groupControl5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).EndInit();
     this.groupControl4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).EndInit();
     this.groupControl3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlBarScanner)).EndInit();
     this.pnlCtrlBarScanner.ResumeLayout(false);
     this.pnlCtrlBarScanner.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.calcEditQty.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtScannedCode.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pnlLeft)).EndInit();
     this.pnlLeft.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.NavBarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pnlGrid)).EndInit();
     this.pnlGrid.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridItem)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.GridView1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 9
0
        private void LoadMenu()
        {
            this.navMenu.Groups.Clear();
            t_menu mnu;
            using (var db = new Database()) {
                mnu = db.FirstOrDefault<t_menu>("select * from t_menu");
                if (null == mnu || string.IsNullOrEmpty(mnu.MenuXml))
                    return;
            }
            XDocument xdoc = XDocument.Parse(mnu.MenuXml);
            foreach (XElement item in xdoc.Element("Menus").Elements()) {
                var md = new MenuData {
                    IsUsing = true,
                    MenuGrpName = item.Attribute("Name").Value,
                    MenuItem = null
                };
                //var td = treeCtl1.Nodes.Add(new object[] { item.Attribute("Name").Value, md });
                var gp = this.navMenu.Groups.Add();
                gp.Caption = item.Attribute("Name").Value;
                gp.Tag = md;
                CanAddMenuGrp(gp);
                foreach (XElement xd in item.Elements()) {
                    var mi = new MenuData {
                        IsUsing = true,
                        MenuGrpName = md.MenuGrpName,
                        MenuItem = new MenuItemData {
                            MenuAsmName = xd.Attribute("AsmName").Value,
                            MenuClsName = xd.Attribute("ClsName").Value,
                            MenuName = xd.Attribute("Name").Value,
                            IsUsing = string.Compare(true.ToString(), xd.Attribute("IsUsing").Value) == 0
                        }
                    };
                    var lnk = new DevExpress.XtraNavBar.NavBarItem(mi.MenuItem.MenuName);
                    gp.ItemLinks.Add(lnk);
                    lnk.Visible = CanAddLink(mi);
                    lnk.Tag = mi;
                }
            }

            //navMenu.Groups;
        }
Esempio n. 10
0
        private void LoadMenuNew()
        {
            this.navMenu.Groups.Clear();
            var sftver = this.Cacher.Get<string>("SoftVer");
            var mnus = this.Cacher.Get<List<UltraDbEntity.T_ERP_MenuNew>>("SYS.MenuLstNew");

            var grpname = string.Empty;
            NavBarGroup nbgp = null;
            foreach (var mn in mnus) {
                if (string.IsNullOrEmpty(grpname) || !grpname.Equals(mn.MenuGrpName)) {
                    var g = mn.Copy();
                    g.MenuName = string.Empty;
                    grpname = mn.MenuGrpName;
                    nbgp = this.navMenu.Groups.Add();
                    nbgp.Caption = mn.MenuGrpName;
                    nbgp.Tag = g;
                    nbgp.Visible = true;
                }
                if (!mn.IsUsing) continue;
                var lnk = new DevExpress.XtraNavBar.NavBarItem(mn.MenuName);
                nbgp.ItemLinks.Add(lnk);
                lnk.Visible = true;
                lnk.Tag = mn;
            }

            var mnustl = OptConfig.Get<string>("Menu");
            var mnustyle = mnustl;
            if (mnustyle == "Taobao") {
                barChkTaobao.Checked = true;
            } else
                barChkSys.Checked = true;

            if (string.Compare(mnustl, "taobao", true) == 0) {
                barChkTaobao.Checked = true; barChkSys.Checked = false;
                foreach (NavBarGroup gp in navMenu.Groups)
                    gp.Expanded = true;
            } else { barChkSys.Checked = true; barChkTaobao.Checked = false; }
            var w = OptConfig.Get<int>("MenuWidth");
            if (w > 0) this.navMenu.Width = w;
        }
Esempio n. 11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components     = new System.ComponentModel.Container();
     this.navBarControl1 = new DevExpress.XtraNavBar.NavBarControl();
     this.navBarGroup1   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarItem10   = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroupControlContainer1 = new DevExpress.XtraNavBar.NavBarGroupControlContainer();
     this.panel1               = new System.Windows.Forms.Panel();
     this.navBarGroup2         = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarItem5          = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem6          = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem7          = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem8          = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem9          = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem11         = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup3         = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarItem1          = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem2          = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem3          = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem4          = new DevExpress.XtraNavBar.NavBarItem();
     this.barManager1          = new DevExpress.XtraBars.BarManager(this.components);
     this.barDockControlTop    = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft   = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight  = new DevExpress.XtraBars.BarDockControl();
     this.bar1                = new DevExpress.XtraBars.Bar();
     this.bar2                = new DevExpress.XtraBars.Bar();
     this.bar3                = new DevExpress.XtraBars.Bar();
     this.skinBarSubItem1     = new DevExpress.XtraBars.SkinBarSubItem();
     this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).BeginInit();
     this.navBarControl1.SuspendLayout();
     this.navBarGroupControlContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     this.SuspendLayout();
     //
     // navBarControl1
     //
     this.navBarControl1.ActiveGroup       = this.navBarGroup1;
     this.navBarControl1.ContentButtonHint = null;
     this.navBarControl1.Controls.Add(this.navBarGroupControlContainer1);
     this.navBarControl1.Dock = System.Windows.Forms.DockStyle.Right;
     this.navBarControl1.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] {
         this.navBarGroup1,
         this.navBarGroup2,
         this.navBarGroup3
     });
     this.navBarControl1.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] {
         this.navBarItem1,
         this.navBarItem2,
         this.navBarItem3,
         this.navBarItem4,
         this.navBarItem5,
         this.navBarItem6,
         this.navBarItem7,
         this.navBarItem8,
         this.navBarItem9,
         this.navBarItem10,
         this.navBarItem11
     });
     this.navBarControl1.Location             = new System.Drawing.Point(344, 49);
     this.navBarControl1.LookAndFeel.SkinName = "Liquid Sky";
     this.navBarControl1.Name = "navBarControl1";
     this.navBarControl1.OptionsNavPane.ExpandedWidth = 280;
     this.navBarControl1.Size     = new System.Drawing.Size(280, 302);
     this.navBarControl1.TabIndex = 0;
     this.navBarControl1.Text     = "navBarControl1";
     //
     // navBarGroup1
     //
     this.navBarGroup1.Caption  = "navBarGroup1";
     this.navBarGroup1.Expanded = true;
     this.navBarGroup1.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem10)
     });
     this.navBarGroup1.Name = "navBarGroup1";
     //
     // navBarItem10
     //
     this.navBarItem10.Caption = "navBarItem10";
     this.navBarItem10.Name    = "navBarItem10";
     //
     // navBarGroupControlContainer1
     //
     // this.navBarGroupControlContainer1.Appearance.ForeColor = System.Drawing.Color.Transparent;
     // this.navBarGroupControlContainer1.Appearance.Options.UseForeColor = true;
     this.navBarGroupControlContainer1.Controls.Add(this.panel1);
     this.navBarGroupControlContainer1.Name     = "navBarGroupControlContainer1";
     this.navBarGroupControlContainer1.Size     = new System.Drawing.Size(272, 76);
     this.navBarGroupControlContainer1.TabIndex = 2;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Red;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.panel1.ForeColor = System.Drawing.Color.Transparent;
     this.panel1.Location  = new System.Drawing.Point(0, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(272, 76);
     this.panel1.TabIndex  = 0;
     //
     // navBarGroup2
     //
     this.navBarGroup2.Caption  = "navBarGroup2";
     this.navBarGroup2.Expanded = true;
     this.navBarGroup2.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem5),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem6),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem7),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem8),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem9),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem11)
     });
     this.navBarGroup2.Name = "navBarGroup2";
     //
     // navBarItem5
     //
     this.navBarItem5.Caption = "navBarItem5";
     this.navBarItem5.Name    = "navBarItem5";
     //
     // navBarItem6
     //
     this.navBarItem6.Caption = "navBarItem6";
     this.navBarItem6.Name    = "navBarItem6";
     //
     // navBarItem7
     //
     this.navBarItem7.Caption = "navBarItem7";
     this.navBarItem7.Name    = "navBarItem7";
     //
     // navBarItem8
     //
     this.navBarItem8.Caption = "navBarItem8";
     this.navBarItem8.Name    = "navBarItem8";
     //
     // navBarItem9
     //
     this.navBarItem9.Caption = "navBarItem9";
     this.navBarItem9.Name    = "navBarItem9";
     //
     // navBarItem11
     //
     this.navBarItem11.Caption = "navBarItem11";
     this.navBarItem11.Name    = "navBarItem11";
     //
     // navBarGroup3
     //
     this.navBarGroup3.Caption           = "navBarGroup3";
     this.navBarGroup3.ControlContainer  = this.navBarGroupControlContainer1;
     this.navBarGroup3.Expanded          = true;
     this.navBarGroup3.GroupClientHeight = 80;
     this.navBarGroup3.GroupStyle        = DevExpress.XtraNavBar.NavBarGroupStyle.ControlContainer;
     this.navBarGroup3.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem1),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem2),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem3),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem4)
     });
     this.navBarGroup3.Name = "navBarGroup3";
     this.navBarGroup3.CalcGroupClientHeight += new DevExpress.XtraNavBar.NavBarCalcGroupClientHeightEventHandler(this.navBarGroup3_CalcGroupClientHeight);
     //
     // navBarItem1
     //
     this.navBarItem1.Caption = "navBarItem1";
     this.navBarItem1.Name    = "navBarItem1";
     //
     // navBarItem2
     //
     this.navBarItem2.Caption = "navBarItem2";
     this.navBarItem2.Name    = "navBarItem2";
     //
     // navBarItem3
     //
     this.navBarItem3.Caption = "navBarItem3";
     this.navBarItem3.Name    = "navBarItem3";
     //
     // navBarItem4
     //
     this.navBarItem4.Caption = "navBarItem4";
     this.navBarItem4.Name    = "navBarItem4";
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
         this.bar1,
         this.bar2,
         this.bar3
     });
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.skinBarSubItem1
     });
     this.barManager1.MainMenu  = this.bar2;
     this.barManager1.MaxItemId = 1;
     this.barManager1.StatusBar = this.bar3;
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock             = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location         = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size             = new System.Drawing.Size(624, 49);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 351);
     this.barDockControlBottom.Size             = new System.Drawing.Size(624, 23);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock             = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location         = new System.Drawing.Point(0, 49);
     this.barDockControlLeft.Size             = new System.Drawing.Size(0, 302);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(624, 49);
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 302);
     //
     // bar1
     //
     this.bar1.BarName   = "Tools";
     this.bar1.DockCol   = 0;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.skinBarSubItem1)
     });
     this.bar1.Text = "Tools";
     //
     // bar2
     //
     this.bar2.BarName                = "Main menu";
     this.bar2.DockCol                = 0;
     this.bar2.DockStyle              = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar2.OptionsBar.MultiLine   = true;
     this.bar2.OptionsBar.UseWholeRow = true;
     this.bar2.Text = "Main menu";
     //
     // bar3
     //
     this.bar3.BarName      = "Status bar";
     this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
     this.bar3.DockCol      = 0;
     this.bar3.DockStyle    = DevExpress.XtraBars.BarDockStyle.Bottom;
     this.bar3.OptionsBar.AllowQuickCustomization = false;
     this.bar3.OptionsBar.DrawDragBorder          = false;
     this.bar3.OptionsBar.UseWholeRow             = true;
     this.bar3.Text = "Status bar";
     //
     // skinBarSubItem1
     //
     this.skinBarSubItem1.Caption = "skinBarSubItem1";
     this.skinBarSubItem1.Id      = 0;
     this.skinBarSubItem1.Name    = "skinBarSubItem1";
     //
     // defaultLookAndFeel1
     //
     this.defaultLookAndFeel1.EnableBonusSkins = true;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(624, 374);
     this.Controls.Add(this.navBarControl1);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).EndInit();
     this.navBarControl1.ResumeLayout(false);
     this.navBarGroupControlContainer1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 12
0
        private void CreateMenu() {
            nbctSystem.Groups.Clear();
            nbctSystem.Items.Clear();

           

            string sqlwhere = string.Format("where (visiableflag='true' or parentid='0') and Description='{0}'  order by Sequence", xtdm);
            if (!string.IsNullOrEmpty(MainHelper.LoginName)) {

                sqlwhere = "where (visiableflag='true' or parentid='0') and Description='" + xtdm + "'" + "and Modu_ID in (select distinct modu_id from vusermodule where userid='" + MainHelper.User.UserID + "')" + "  order by Sequence ";

            }
            if(MainHelper.User.LoginID=="rabbit")
                sqlwhere = string.Format("where   Description='{0}'  order by Sequence", xtdm);
            IList<mModule> mlist = Ebada.Client.ClientHelper.PlatformSqlMap.GetList<mModule>(sqlwhere);

            DataTable table = progtable = Ebada.Core.ConvertHelper.ToDataTable((IList)mlist);

            DataRow[] Rows = table.Select(string.Format("ParentID='{0}'", "0"));

            foreach (DataRow row in Rows) {
                DevExpress.XtraNavBar.NavBarGroup nbg = new DevExpress.XtraNavBar.NavBarGroup();
                nbg.Name = row["ModuName"].ToString();
                nbg.Tag = Ebada.Core.ConvertHelper.RowToObject<mModule>(row);
                nbg.Caption = row["ModuName"].ToString();
                nbg.LargeImage = ((ImageList)nbctSystem.LargeImages).Images[row["IconName"].ToString()];

                DataRow[] Rows2 = table.Select(string.Format(" ParentID='{0}'", row["Modu_ID"].ToString()));
                foreach (DataRow row2 in Rows2) {
                    DevExpress.XtraNavBar.NavBarItem nbi = new DevExpress.XtraNavBar.NavBarItem();
                    nbi.Name = row2["ModuName"].ToString();
                    nbi.Tag = Ebada.Core.ConvertHelper.RowToObject<mModule>(row2);
                    nbi.Caption = row2["ModuName"].ToString();
                    nbi.SmallImage = ((ImageList)nbctSystem.SmallImages).Images[row2["IconName"].ToString()];
                    nbi.Hint = row["Sequence"].ToString();
                    nbctSystem.Items.Add(nbi);
                    nbg.ItemLinks.Add(nbi);
                }
                nbctSystem.Groups.Add(nbg);
                nbctSystem.Refresh();

            }
            if (nbctSystem.Groups.Count > 0 && nbctSystem.Groups[0].ItemLinks.Count > 0) {
                nbctSystem.Groups[0].ItemLinks[0].PerformClick();
                nbctSystem.Groups[0].SelectedLinkIndex = 0;
            }
        }
Esempio n. 13
0
        /// <summary>
        /// ���ģ��˵�
        /// </summary>
        /// <param name="menuFile"></param>
        public void FillNavBarMenu(string menuFile)
        {
            TemplateGroupDictionary = new List<DictionaryEntry>();
            TemplateItemDictionary = new Dictionary<string, IList<DrawObject>>();
            GroupTypeList = new List<DictionaryEntry>();
            XmlNodeList xmlNodeList = XmlHelper.GetXmlNodeListByXpath(menuFile, "Menu/Group");
            for (int i = 0; i < xmlNodeList.Count; i++)
            {
                XmlNode xn = xmlNodeList[i];
                if (xn.Attributes["visible"].Value == "false")
                    continue;
                DevExpress.XtraNavBar.NavBarGroup nbgTemp = new DevExpress.XtraNavBar.NavBarGroup();
                nbgTemp.Name = xn.Attributes["name"].Value;
                nbgTemp.Caption = xn.Attributes["caption"].Value;
                nbgTemp.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.AllowDrop;
                nbgTemp.ItemChanged += new EventHandler(delegate
                {
                    foreach (DevExpress.XtraNavBar.NavBarGroup group in navMenu.Groups)
                    {
                        if (group.Name != nbgTemp.Name)
                        {
                            foreach (DevExpress.XtraNavBar.NavBarItemLink item in group.ItemLinks)
                            {
                                item.Item.Appearance.ForeColor = Color.FromArgb(235, 235, 235);
                            }
                        }
                    }
                    //navMenu.Refresh();
                });
                //GroupTypeList.Add(new Entity() { string1 = nbgTemp.Name, string2 = nbgTemp.Caption });
                //List<DrawObject> d=new List<DrawObject> ();
                GroupTypeList.Add(new DictionaryEntry(nbgTemp.Name, nbgTemp.Caption));
                for (int j = 0; j < xn.ChildNodes.Count; j++)
                {
                    if (xn.ChildNodes[j].Attributes["visible"].Value == "false")
                        continue;
                    DevExpress.XtraNavBar.NavBarItem nviTemp = new DevExpress.XtraNavBar.NavBarItem();
                    nviTemp.Name = xn.ChildNodes[j].Attributes["name"].Value;
                    nviTemp.Caption = xn.ChildNodes[j].Attributes["caption"].Value;
                    nviTemp.SmallImage = Image.FromFile(menuImagesDirectory + xn.ChildNodes[j].Attributes["name"].Value + ".png");
                    nviTemp.Appearance.ForeColor = Color.FromArgb(235, 235, 235);
                    ArrayList al = ((GraphicsList)docManager.OpenDocumentTemplate(menuFilesDirectory + nviTemp.Name + ".dtl")).graphicsList;
                    IList<DrawObject> temp = new List<DrawObject>();
                    for (int k = 0; k < al.Count; k++)
                    {
                        temp.Add(al[k] as DrawObject);
                    }
                    if (temp.Count > 0)
                    {
                        TemplateItemDictionary.Add(nviTemp.Name, temp);
                    }
                    else
                    {
                        throw new Exception("ģ�������ļ����س���");
                    }
                    nviTemp.LinkClicked +=
                        new DevExpress.XtraNavBar.NavBarLinkEventHandler(
                            delegate
                            {
                                foreach (DevExpress.XtraNavBar.NavBarItemLink item in nbgTemp.ItemLinks)
                                {
                                    item.Item.Appearance.ForeColor = Color.FromArgb(235, 235, 235);
                                }
                                nviTemp.Appearance.ForeColor = Color.LightSkyBlue;
                                navMenu.Refresh();
                                CommandTemplate(temp);
                            }
                            );
                    nbgTemp.ItemLinks.Add(nviTemp);
                    TemplateGroupDictionary.Add(new DictionaryEntry(nbgTemp.Name, nviTemp.Name));

                }
                navMenu.Groups.Add(nbgTemp);
            }
            navMenu.Groups[0].Expanded = true;
        }
Esempio n. 14
0
        private void initData(string ConfigXMLStr)
        {
            WinLaw.checkLaw(this);

            this.addButton.Image = FWImageDic.ADD_IMAGE20;
            this.editButton.Image = FWImageDic.EDIT_IMAGE20;
            this.removeButton.Image = FWImageDic.DELETE_IMAGE20;
            this.closeButton.Image = FWImageDic.CLOSE_IMAGE20;
            this.btnSave.Image = FWImageDic.SAVE_IMAGE20;
            this.btnNoSave.Image = FWImageDic.NO_SAVE_IMAGE20;

            String language = "vn";

            XPathNavigator nav = null;
            XPathDocument docNav = null;
            System.IO.StringReader sr = new System.IO.StringReader(ConfigXMLStr);
            docNav = new XPathDocument(sr);
            nav = docNav.CreateNavigator();

            XPathNodeIterator iterator = nav.Select("/basiccats/group");
            while (iterator.MoveNext())
            {
                XPathNavigator groupNode = iterator.Current;
                //Nav Group
                DevExpress.XtraNavBar.NavBarGroup group = new DevExpress.XtraNavBar.NavBarGroup();
                group.Expanded = true;
                XPathNodeIterator langCatNode = groupNode.SelectChildren("lang", groupNode.NamespaceURI);
                while (langCatNode.MoveNext())
                {
                    //<group id ='3' picindex='navChuXe.png'>
                    //    <lang id='vn'>Đối tác dịch vụ</lang>
                    //    <lang id='en'></lang>
                    //    <cat>...</cat>
                    //</group>
                    XPathNavigator tmp = langCatNode.Current;
                    if (tmp.GetAttribute("id", tmp.NamespaceURI).Equals(language))
                    {
                        group.Caption = langCatNode.Current.Value.Trim();
                        group.Name = langCatNode.Current.Value.Trim();
                        group.Tag = groupNode.GetAttribute("id", groupNode.NamespaceURI);
                    }
                }
                this.navBarControl1.Groups.Add(group);
                //Nav Item
                XPathNodeIterator catNode = groupNode.SelectChildren("cat", groupNode.NamespaceURI);
                while (catNode.MoveNext())
                {
                    //<cat table='" + ProtocolVN.DanhMuc.PL.FURL(N, "Init") + @"' type='action' picindex='navChuXe.png'>
                    //    <lang id='vn'>Đối tác</lang>
                    //    <lang id='en'></lang>
                    //</cat>

                    XPathNavigator tmp = catNode.Current;
                    DevExpress.XtraNavBar.NavBarItem navItem = new DevExpress.XtraNavBar.NavBarItem();
                    navItem.Name = tmp.GetAttribute("table", tmp.NamespaceURI);
                    navItem.Tag = tmp.GetAttribute("type", tmp.NamespaceURI);
                    //navItem.LargeImage = FWImageDic.getImage4848(tmp.GetAttribute("picindex", tmp.NamespaceURI));
                    navItem.SmallImage = HelpImage.getImage1616(tmp.GetAttribute("picindex", tmp.NamespaceURI));
                    //navItem.LargeImage = ResourceMan.getImage48(tmp.GetAttribute("picindex", tmp.NamespaceURI));
                    //navItem.SmallImage = ResourceMan.getImage32(tmp.GetAttribute("picindex", tmp.NamespaceURI));

                    XPathNodeIterator tmpSub = tmp.SelectChildren("lang", tmp.NamespaceURI);
                    while (tmpSub.MoveNext())
                    {
                        XPathNavigator tmp2 = tmpSub.Current;
                        if (tmp2.GetAttribute("id", tmp2.NamespaceURI).Equals(language))
                        {
                            navItem.Caption = tmpSub.Current.Value.Trim();
                        }
                    }
                    try
                    {
                        string param = "";
                        string formName = navItem.Name;

                        if (formName.Contains("?") && formName.Contains("="))
                        {
                            param = formName.Substring(formName.IndexOf('=') + 1).Trim();
                            formName = formName.Substring(0, formName.IndexOf('?')).Trim();
                        }
                        previousItem = currentItem;

                        XtraUserControl control = (XtraUserControl)GenerateClass.initMethod(formName, param, false);

                        if (control != null)
                        {
                            if (HelpPermission.CheckCtrl(control) == false)
                            {
                                navItem.Enabled = false;
                            }
                        }
                    }
                    catch { }
                    navItem.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_LinkClicked);
                    DevExpress.XtraNavBar.NavBarItemLink navItemLink = new DevExpress.XtraNavBar.NavBarItemLink(navItem);
                    group.ItemLinks.Add(navItemLink);
                    this.navBarControl1.Items.Add(navItem);
                }
                //Gắn hình vào group

                string image = groupNode.GetAttribute("picindex", groupNode.NamespaceURI);
                if (image == String.Empty)
                {
                    if (group.ItemLinks.Count > 0)
                        group.SmallImage = group.ItemLinks[0].Item.SmallImage;
                }
                else
                {
                    group.SmallImage = HelpImage.getImage1616(image);
                }
            }

            if (navBarControl1.ActiveGroup.ItemLinks.Count > 0)
            {
                lblCat.Text = navBarControl1.ActiveGroup.ItemLinks[0].Item.Caption;
            }
            else
            {
                lblCat.Text = "Chưa xác định danh mục";
            }

            if (viewID == 2)//View Old
            {
                toView2();
            }
            else if (viewID == 1)// View Old
            {
                //NOOP
            }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components     = new System.ComponentModel.Container();
     this.navBarControl1 = new WindowsApplication1.MyNavBarControl();
     this.navBarGroup1   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarItem4    = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem1    = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem2    = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup2   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarItem6    = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem5    = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup3   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarGroup4   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarItem9    = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem7    = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup5   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarItem11   = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem8    = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup6   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarItem14   = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem12   = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem13   = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem15   = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem17   = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem16   = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem10   = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup7   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarGroup8   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarGroup9   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarItem19   = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem18   = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem3    = new DevExpress.XtraNavBar.NavBarItem();
     this.timer1         = new System.Windows.Forms.Timer(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).BeginInit();
     this.SuspendLayout();
     //
     // navBarControl1
     //
     this.navBarControl1.ActiveGroup       = this.navBarGroup1;
     this.navBarControl1.AllowSelectedLink = true;
     this.navBarControl1.ContentButtonHint = null;
     this.navBarControl1.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] {
         this.navBarGroup1,
         this.navBarGroup2,
         this.navBarGroup3,
         this.navBarGroup4,
         this.navBarGroup5,
         this.navBarGroup6,
         this.navBarGroup7,
         this.navBarGroup8,
         this.navBarGroup9
     });
     this.navBarControl1.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] {
         this.navBarItem1,
         this.navBarItem2,
         this.navBarItem3,
         this.navBarItem4,
         this.navBarItem5,
         this.navBarItem6,
         this.navBarItem7,
         this.navBarItem8,
         this.navBarItem9,
         this.navBarItem10,
         this.navBarItem11,
         this.navBarItem12,
         this.navBarItem13,
         this.navBarItem14,
         this.navBarItem15,
         this.navBarItem16,
         this.navBarItem17,
         this.navBarItem18,
         this.navBarItem19
     });
     this.navBarControl1.Location = new System.Drawing.Point(64, 56);
     this.navBarControl1.Name     = "navBarControl1";
     this.navBarControl1.OptionsNavPane.ExpandedWidth = 200;
     this.navBarControl1.Size            = new System.Drawing.Size(200, 384);
     this.navBarControl1.TabIndex        = 6;
     this.navBarControl1.Text            = "navBarControl1";
     this.navBarControl1.CustomDrawLink += new DevExpress.XtraNavBar.ViewInfo.CustomDrawNavBarElementEventHandler(this.navBarControl1_CustomDrawLink);
     //
     // navBarGroup1
     //
     this.navBarGroup1.Caption  = "navBarGroup1";
     this.navBarGroup1.Expanded = true;
     this.navBarGroup1.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem4),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem1),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem2)
     });
     this.navBarGroup1.Name = "navBarGroup1";
     //
     // navBarItem4
     //
     this.navBarItem4.Caption = "navBarItem4";
     this.navBarItem4.Name    = "navBarItem4";
     //
     // navBarItem1
     //
     this.navBarItem1.Caption = "navBarItem1";
     this.navBarItem1.Name    = "navBarItem1";
     //
     // navBarItem2
     //
     this.navBarItem2.Caption = "navBarItem2";
     this.navBarItem2.Name    = "navBarItem2";
     //
     // navBarGroup2
     //
     this.navBarGroup2.Caption  = "navBarGroup2";
     this.navBarGroup2.Expanded = true;
     this.navBarGroup2.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem6),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem5)
     });
     this.navBarGroup2.Name = "navBarGroup2";
     //
     // navBarItem6
     //
     this.navBarItem6.Caption = "navBarItem6";
     this.navBarItem6.Name    = "navBarItem6";
     //
     // navBarItem5
     //
     this.navBarItem5.Caption = "navBarItem5";
     this.navBarItem5.Name    = "navBarItem5";
     //
     // navBarGroup3
     //
     this.navBarGroup3.Caption  = "navBarGroup3";
     this.navBarGroup3.Expanded = true;
     this.navBarGroup3.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem6),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem6)
     });
     this.navBarGroup3.Name = "navBarGroup3";
     //
     // navBarGroup4
     //
     this.navBarGroup4.Caption  = "navBarGroup4";
     this.navBarGroup4.Expanded = true;
     this.navBarGroup4.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem9),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem7)
     });
     this.navBarGroup4.Name = "navBarGroup4";
     //
     // navBarItem9
     //
     this.navBarItem9.Caption = "navBarItem9";
     this.navBarItem9.Name    = "navBarItem9";
     //
     // navBarItem7
     //
     this.navBarItem7.Caption = "navBarItem7";
     this.navBarItem7.Name    = "navBarItem7";
     //
     // navBarGroup5
     //
     this.navBarGroup5.Caption  = "navBarGroup5";
     this.navBarGroup5.Expanded = true;
     this.navBarGroup5.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem11),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem8)
     });
     this.navBarGroup5.Name = "navBarGroup5";
     //
     // navBarItem11
     //
     this.navBarItem11.Caption = "navBarItem11";
     this.navBarItem11.Name    = "navBarItem11";
     //
     // navBarItem8
     //
     this.navBarItem8.Caption = "navBarItem8";
     this.navBarItem8.Name    = "navBarItem8";
     //
     // navBarGroup6
     //
     this.navBarGroup6.Caption  = "navBarGroup6";
     this.navBarGroup6.Expanded = true;
     this.navBarGroup6.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem14),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem12),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem13),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem15),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem15),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem17),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem15),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem16),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem16),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem17),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem15),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem13),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem10)
     });
     this.navBarGroup6.Name = "navBarGroup6";
     this.navBarGroup6.SelectedLinkIndex = 0;
     //
     // navBarItem14
     //
     this.navBarItem14.Caption = "navBarItem14";
     this.navBarItem14.Name    = "navBarItem14";
     //
     // navBarItem12
     //
     this.navBarItem12.Caption = "navBarItem12";
     this.navBarItem12.Name    = "navBarItem12";
     //
     // navBarItem13
     //
     this.navBarItem13.Caption = "navBarItem13";
     this.navBarItem13.Name    = "navBarItem13";
     //
     // navBarItem15
     //
     this.navBarItem15.Caption = "navBarItem15";
     this.navBarItem15.Name    = "navBarItem15";
     //
     // navBarItem17
     //
     this.navBarItem17.Caption = "navBarItem17";
     this.navBarItem17.Name    = "navBarItem17";
     //
     // navBarItem16
     //
     this.navBarItem16.Caption = "navBarItem16";
     this.navBarItem16.Name    = "navBarItem16";
     //
     // navBarItem10
     //
     this.navBarItem10.Caption = "navBarItem10";
     this.navBarItem10.Name    = "navBarItem10";
     //
     // navBarGroup7
     //
     this.navBarGroup7.Caption  = "navBarGroup7";
     this.navBarGroup7.Expanded = true;
     this.navBarGroup7.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem16),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem13)
     });
     this.navBarGroup7.Name = "navBarGroup7";
     //
     // navBarGroup8
     //
     this.navBarGroup8.Caption  = "navBarGroup8";
     this.navBarGroup8.Expanded = true;
     this.navBarGroup8.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem17),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem16)
     });
     this.navBarGroup8.Name = "navBarGroup8";
     //
     // navBarGroup9
     //
     this.navBarGroup9.Caption  = "navBarGroup9";
     this.navBarGroup9.Expanded = true;
     this.navBarGroup9.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem19),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem18),
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem17)
     });
     this.navBarGroup9.Name = "navBarGroup9";
     //
     // navBarItem19
     //
     this.navBarItem19.Caption = "navBarItem19";
     this.navBarItem19.Name    = "navBarItem19";
     //
     // navBarItem18
     //
     this.navBarItem18.Caption = "navBarItem18";
     this.navBarItem18.Name    = "navBarItem18";
     //
     // navBarItem3
     //
     this.navBarItem3.Caption = "navBarItem3";
     this.navBarItem3.Name    = "navBarItem3";
     //
     // timer1
     //
     this.timer1.Enabled = true;
     this.timer1.Tick   += new System.EventHandler(this.timer1_Tick);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(832, 510);
     this.Controls.Add(this.navBarControl1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 16
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.navBarControl1 = new DevExpress.XtraNavBar.NavBarControl();
     this.navBarGroup1   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarItem1    = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup2   = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarItem2    = new DevExpress.XtraNavBar.NavBarItem();
     ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).BeginInit();
     this.SuspendLayout();
     //
     // navBarControl1
     //
     this.navBarControl1.ActiveGroup = this.navBarGroup1;
     this.navBarControl1.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] {
         this.navBarGroup1,
         this.navBarGroup2
     });
     this.navBarControl1.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] {
         this.navBarItem1,
         this.navBarItem2
     });
     this.navBarControl1.Location = new System.Drawing.Point(16, 8);
     this.navBarControl1.Name     = "navBarControl1";
     this.navBarControl1.OptionsNavPane.ExpandedWidth = 168;
     this.navBarControl1.Size     = new System.Drawing.Size(168, 300);
     this.navBarControl1.TabIndex = 0;
     this.navBarControl1.Text     = "navBarControl1";
     this.navBarControl1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.navBarControl1_MouseUp);
     //
     // navBarGroup1
     //
     this.navBarGroup1.Caption = "navBarGroup1";
     this.navBarGroup1.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem1)
     });
     this.navBarGroup1.Name = "navBarGroup1";
     //
     // navBarItem1
     //
     this.navBarItem1.Caption = "navBarItem1";
     this.navBarItem1.Name    = "navBarItem1";
     //
     // navBarGroup2
     //
     this.navBarGroup2.Caption = "navBarGroup2";
     this.navBarGroup2.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
         new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem2)
     });
     this.navBarGroup2.Name = "navBarGroup2";
     //
     // navBarItem2
     //
     this.navBarItem2.Caption = "navBarItem2";
     this.navBarItem2.Name    = "navBarItem2";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(312, 322);
     this.Controls.Add(this.navBarControl1);
     this.Name = "Form1";
     this.Text = "Which event to use when collapsing/expanding the groups in the NavBar\'s Explorer " +
                 "views?";
     ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).EndInit();
     this.ResumeLayout(false);
 }