Example #1
0
        public void Animation(string Qtype, Control Grid)
        {
            string[] EN = new string[] { "Quality", "Production", "Equipment", "Inventory", "Human\nResource",
                                         "Quality", "Production", "Equipment", "Inventory", "Human\nResource",
                                         "Quality", "Production", "Equipment", "Inventory", "Human\nResource",
                                         "Quality", "Production", "Equipment", "Inventory", "Human\nResource",
                                         "Quality", "Production", "Equipment", "Inventory", "Human\nResource",
                                         "Quality", "Production", "Equipment", "Inventory", "Human\nResource",
                                         "Quality", "Production", "Equipment", "Inventory", "Human\nResource",
                                         "Quality", "Production", "Equipment", "Inventory", "Human\nResource" };

            string[] VIE = new string[] { "Chất lượng", "Sản Xuất", "Thiết bị", "Tồn kho", "Nguồn\nN.Lực",
                                          "Chất lượng", "Sản Xuất", "Thiết bị", "Tồn kho", "Nguồn\nN.Lực",
                                          "Chất lượng", "Sản Xuất", "Thiết bị", "Tồn kho", "Nguồn\nN.Lực",
                                          "Chất lượng", "Sản Xuất", "Thiết bị", "Tồn kho", "Nguồn\nN.Lực",
                                          "Chất lượng", "Sản Xuất", "Thiết bị", "Tồn kho", "Nguồn\nN.Lực",
                                          "Chất lượng", "Sản Xuất", "Thiết bị", "Tồn kho", "Nguồn\nN.Lực",
                                          "Chất lượng", "Sản Xuất", "Thiết bị", "Tồn kho", "Nguồn\nN.Lực",
                                          "Chất lượng", "Sản Xuất", "Thiết bị", "Tồn kho", "Nguồn\nN.Lực" };

            string[] GbEx_VIE = new string[] { "Tình trạng sản xuất", "Tình trạng sản xuất", "Tình trạng sản xuất", "Tình trạng sản xuất", "Tình trạng sản xuất", "Tình trạng sản xuất", "Tình trạng sản xuất", "Tình trạng sản xuất" };
            string[] GbEx_EN  = new string[] { "Production Status", "Production Status", "Production Status", "Production Status", "Production Status", "Production Status", "Production Status", "Production Status" };

            string[] btn_VIE = new string[] {
                "PFC", "NPI", "External OS&D", "Hàng Hư\nTrả Về", "KQ.Sản Xuất", "BTS", "Năng Suất", "Down Time", "Lead Time", "Tồn Kho", "Vắng Mặt", "Relief Man", "Đa Kỹ Năng",
                "PFC", "NPI", "External OS&D", "Hàng Hư\nTrả Về", "KQ.Sản Xuất", "BTS", "Năng Suất", "Down Time", "Lead Time", "Tồn Kho", "Vắng Mặt", "Relief Man", "Đa Kỹ Năng",
                "PFC", "NPI", "External OS&D", "Hàng Hư\nTrả Về", "KQ.Sản Xuất", "BTS", "Năng Suất", "Down Time", "Lead Time", "Tồn Kho", "Vắng Mặt", "Relief Man", "Đa Kỹ Năng",
                "PFC", "NPI", "External OS&D", "Hàng Hư\nTrả Về", "KQ.Sản Xuất", "BTS", "Năng Suất", "Down Time", "Lead Time", "Tồn Kho", "Vắng Mặt", "Relief Man", "Đa Kỹ Năng",
                "PFC", "NPI", "External OS&D", "Hàng Hư\nTrả Về", "KQ.Sản Xuất", "BTS", "Năng Suất", "Down Time", "Lead Time", "Tồn Kho", "Vắng Mặt", "Relief Man", "Đa Kỹ Năng",
                "PFC", "NPI", "External OS&D", "Hàng Hư\nTrả Về", "KQ.Sản Xuất", "BTS", "Năng Suất", "Down Time", "Lead Time", "Tồn Kho", "Vắng Mặt", "Relief Man", "Đa Kỹ Năng",
                "PFC", "NPI", "External OS&D", "Hàng Hư\nTrả Về", "KQ.Sản Xuất", "BTS", "Năng Suất", "Down Time", "Lead Time", "Tồn Kho", "Vắng Mặt", "Relief Man", "Đa Kỹ Năng",
                "PFC", "NPI", "External OS&D", "Hàng Hư\nTrả Về", "KQ.Sản Xuất", "BTS", "Năng Suất", "Down Time", "Lead Time", "Tồn Kho", "Vắng Mặt", "Relief Man", "Đa Kỹ Năng"
            };
            string[] btn_EN = new string[] {
                "PFC", "NPI", "External OS&D", "Internal OS&&D", "Prod. Result", "BTS", "Productivity", "Down Time", "Lead Time", "Outgoing\nInventory", "Absenteeism", "Relief Man", "Multi Skill",
                "PFC", "NPI", "External OS&D", "Internal OS&&D", "Prod. Result", "BTS", "Productivity", "Down Time", "Lead Time", "Outgoing\nInventory", "Absenteeism", "Relief Man", "Multi Skill",
                "PFC", "NPI", "External OS&D", "Internal OS&&D", "Prod. Result", "BTS", "Productivity", "Down Time", "Lead Time", "Outgoing\nInventory", "Absenteeism", "Relief Man", "Multi Skill",
                "PFC", "NPI", "External OS&D", "Internal OS&&D", "Prod. Result", "BTS", "Productivity", "Down Time", "Lead Time", "Outgoing\nInventory", "Absenteeism", "Relief Man", "Multi Skill",
                "PFC", "NPI", "External OS&D", "Internal OS&&D", "Prod. Result", "BTS", "Productivity", "Down Time", "Lead Time", "Outgoing\nInventory", "Absenteeism", "Relief Man", "Multi Skill",
                "PFC", "NPI", "External OS&D", "Internal OS&&D", "Prod. Result", "BTS", "Productivity", "Down Time", "Lead Time", "Outgoing\nInventory", "Absenteeism", "Relief Man", "Multi Skill",
                "PFC", "NPI", "External OS&D", "Internal OS&&D", "Prod. Result", "BTS", "Productivity", "Down Time", "Lead Time", "Outgoing\nInventory", "Absenteeism", "Relief Man", "Multi Skill",
                "PFC", "NPI", "External OS&D", "Internal OS&&D", "Prod. Result", "BTS", "Productivity", "Down Time", "Lead Time", "Outgoing\nInventory", "Absenteeism", "Relief Man", "Multi Skill"
            };

            DevExpress.XtraEditors.SimpleButton[] btn = new DevExpress.XtraEditors.SimpleButton[] {
                mnQua1, mnQua2, mnQua3, mnQua4, mnPro1, mnPro2, mn6, mnEqu1, mnInv1, mn11, mnHR1, mnHR2, mnHR3
            };
            DevExpress.XtraBars.Ribbon.BackstageViewTabItem[] tabItem = new DevExpress.XtraBars.Ribbon.BackstageViewTabItem[]
            {
                bsVQuality, bsVProduction, bsVEquipment, bsVInventory, bsVHumanResource
            };
            FORM.GroupBoxEx[] gbEX = new FORM.GroupBoxEx[] { grpProd };
            Grid.Hide();
            this.Cursor = Cursors.WaitCursor;
            //AnimateWindow(Grid.Handle, 400, AW_SLIDE | 0X4); //IPEX_Monitor.ClassLib.WinAPI.getSlidType("2")
            //BindingGrid(dt);
            switch (Qtype)
            {
            case "En":
                for (int i = 0; i < tabItem.Length; i++)
                {
                    tabItem[i].Caption = EN[i];
                }
                for (int j = 0; j < gbEX.Length; j++)
                {
                    gbEX[j].Text = GbEx_EN[j];
                }
                for (int k = 0; k < btn.Length; k++)
                {
                    btn[k].Text = btn_EN[k];
                }
                break;

            case "Vi":
                for (int i = 0; i < tabItem.Length; i++)
                {
                    tabItem[i].Caption = VIE[i];
                }
                for (int j = 0; j < gbEX.Length; j++)
                {
                    gbEX[j].Text = GbEx_VIE[j];
                }
                for (int k = 0; k < btn.Length; k++)
                {
                    btn[k].Text = btn_VIE[k];
                }
                break;
            }
            Grid.Show();
            this.Cursor = Cursors.Default;
        }
Example #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem1 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.ToolTipSeparatorItem toolTipSeparatorItem1 = new DevExpress.Utils.ToolTipSeparatorItem();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem2 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip2 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem3 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.ToolTipItem toolTipItem2 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.ToolTipSeparatorItem toolTipSeparatorItem2 = new DevExpress.Utils.ToolTipSeparatorItem();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem4 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip3 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem5 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.ToolTipItem toolTipItem3 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.ToolTipSeparatorItem toolTipSeparatorItem3 = new DevExpress.Utils.ToolTipSeparatorItem();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem6 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.XtraEditors.TileItemElement tileItemElement1 = new DevExpress.XtraEditors.TileItemElement();
     DevExpress.XtraEditors.TileItemElement tileItemElement2 = new DevExpress.XtraEditors.TileItemElement();
     DevExpress.XtraEditors.TileItemElement tileItemElement3 = new DevExpress.XtraEditors.TileItemElement();
     DevExpress.XtraEditors.TileItemElement tileItemElement4 = new DevExpress.XtraEditors.TileItemElement();
     DevExpress.XtraEditors.TileItemElement tileItemElement5 = new DevExpress.XtraEditors.TileItemElement();
     DevExpress.XtraEditors.TileItemElement tileItemElement6 = new DevExpress.XtraEditors.TileItemElement();
     DevExpress.XtraEditors.TileItemElement tileItemElement7 = new DevExpress.XtraEditors.TileItemElement();
     DevExpress.Utils.SuperToolTip superToolTip4 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem7 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.ToolTipItem toolTipItem4 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.ToolTipSeparatorItem toolTipSeparatorItem4 = new DevExpress.Utils.ToolTipSeparatorItem();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem8 = new DevExpress.Utils.ToolTipTitleItem();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
     this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
     this.lblDatabaseName = new DevExpress.XtraBars.BarStaticItem();
     this.lblUsername = new DevExpress.XtraBars.BarStaticItem();
     this.lblLoginTime = new DevExpress.XtraBars.BarStaticItem();
     this.barStaticItem4 = new DevExpress.XtraBars.BarStaticItem();
     this.barStaticItem5 = new DevExpress.XtraBars.BarStaticItem();
     this.barStaticItem6 = new DevExpress.XtraBars.BarStaticItem();
     this.lblLoginDate = new DevExpress.XtraBars.BarStaticItem();
     this.barStaticItem8 = new DevExpress.XtraBars.BarStaticItem();
     this.barStaticItem7 = new DevExpress.XtraBars.BarStaticItem();
     this.lblComputerName = new DevExpress.XtraBars.BarStaticItem();
     this.skinRibbonGalleryBarItem1 = new DevExpress.XtraBars.SkinRibbonGalleryBarItem();
     this.barStaticItem9 = new DevExpress.XtraBars.BarStaticItem();
     this.barCheckItem3 = new DevExpress.XtraBars.BarCheckItem();
     this.barCheckItem4 = new DevExpress.XtraBars.BarCheckItem();
     this.barStaticItem10 = new DevExpress.XtraBars.BarStaticItem();
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
     this.b_code = new DevExpress.XtraBars.BarStaticItem();
     this.btnRefresh = new DevExpress.XtraBars.BarButtonItem();
     this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem();
     this.lblWorkDate = new DevExpress.XtraBars.BarStaticItem();
     this.barStaticItem11 = new DevExpress.XtraBars.BarStaticItem();
     this.lblUserID = new DevExpress.XtraBars.BarStaticItem();
     this.barStaticItem3 = new DevExpress.XtraBars.BarStaticItem();
     this.lblServer = new DevExpress.XtraBars.BarStaticItem();
     this.ribbonPage8 = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPage16 = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPage2 = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.repositoryItemToggleSwitch1 = new DevExpress.XtraEditors.Repository.RepositoryItemToggleSwitch();
     this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
     this.tileNavSubItem16 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
     this.tileNavSubItem17 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
     this.tileNavSubItem18 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
     this.tileNavSubItem19 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
     this.tileNavSubItem20 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
     this.tileNavSubItem21 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
     this.tileNavSubItem22 = new DevExpress.XtraBars.Navigation.TileNavSubItem();
     this.backstageViewTabItem1 = new DevExpress.XtraBars.Ribbon.BackstageViewTabItem();
     this.navBarItem1 = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem45 = new DevExpress.XtraNavBar.NavBarItem();
     this.frmModulesList = new DevExpress.XtraNavBar.NavBarItem();
     this.frmaddUsers = new DevExpress.XtraNavBar.NavBarItem();
     this.frmUserRights = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup2 = new DevExpress.XtraNavBar.NavBarGroup();
     this.frmGeneralSettings = new DevExpress.XtraNavBar.NavBarItem();
     this.frmEmailManager = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup3 = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarGroup4 = new DevExpress.XtraNavBar.NavBarGroup();
     this.frmOpenRSS = new DevExpress.XtraNavBar.NavBarItem();
     this.frmOpenRssStock = new DevExpress.XtraNavBar.NavBarItem();
     this.frmReturnSummary = new DevExpress.XtraNavBar.NavBarItem();
     this.frmOpenDSS = new DevExpress.XtraNavBar.NavBarItem();
     this.frmMPOSSync = new DevExpress.XtraNavBar.NavBarItem();
     this.frmSelectSummary = new DevExpress.XtraNavBar.NavBarItem();
     this.frmSaleInvoiceGeneration = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup5 = new DevExpress.XtraNavBar.NavBarGroup();
     this.frmPurchaseOrder = new DevExpress.XtraNavBar.NavBarItem();
     this.frmGRN = new DevExpress.XtraNavBar.NavBarItem();
     this.frmPurchaseInvoice = new DevExpress.XtraNavBar.NavBarItem();
     this.frmDeliveryChallan = new DevExpress.XtraNavBar.NavBarItem();
     this.frmPurchaseReturn = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup6 = new DevExpress.XtraNavBar.NavBarGroup();
     this.frmTown = new DevExpress.XtraNavBar.NavBarItem();
     this.frmOurCompanyGroups = new DevExpress.XtraNavBar.NavBarItem();
     this.frmCustomers = new DevExpress.XtraNavBar.NavBarItem();
     this.frmProducts = new DevExpress.XtraNavBar.NavBarItem();
     this.frmCompanyGroup = new DevExpress.XtraNavBar.NavBarItem();
     this.frmEmployeeTargets = new DevExpress.XtraNavBar.NavBarItem();
     this.frmProductGroup = new DevExpress.XtraNavBar.NavBarItem();
     this.frmVendorEmployees = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup7 = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarGroup8 = new DevExpress.XtraNavBar.NavBarGroup();
     this.frmHoldScan = new DevExpress.XtraNavBar.NavBarItem();
     this.frmBatchCorrection = new DevExpress.XtraNavBar.NavBarItem();
     this.frmIntimations = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarItem2 = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarGroup9 = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarGroup10 = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarGroup11 = new DevExpress.XtraNavBar.NavBarGroup();
     this.Administration = new DevExpress.XtraNavBar.NavBarItem();
     this.Financials = new DevExpress.XtraNavBar.NavBarItem();
     this.Accounts = new DevExpress.XtraNavBar.NavBarItem();
     this.Claims = new DevExpress.XtraNavBar.NavBarItem();
     this.Sales = new DevExpress.XtraNavBar.NavBarItem();
     this.navbrPurchasing = new DevExpress.XtraNavBar.NavBarItem();
     this.navbrPartners = new DevExpress.XtraNavBar.NavBarItem();
     this.navbrBanking = new DevExpress.XtraNavBar.NavBarItem();
     this.navbrInventory = new DevExpress.XtraNavBar.NavBarItem();
     this.navbrHumanResource = new DevExpress.XtraNavBar.NavBarItem();
     this.navbrFleetnSupply = new DevExpress.XtraNavBar.NavBarItem();
     this.navbrInstitution = new DevExpress.XtraNavBar.NavBarItem();
     this.navbrGeneralStore = new DevExpress.XtraNavBar.NavBarItem();
     this.navBarControl1 = new DevExpress.XtraNavBar.NavBarControl();
     this.navBarGroup12 = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarGroup1 = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarGroup13 = new DevExpress.XtraNavBar.NavBarGroup();
     this.navBarGroup14 = new DevExpress.XtraNavBar.NavBarGroup();
     this.button1 = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemToggleSwitch1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).BeginInit();
     this.SuspendLayout();
     //
     // ribbonControl1
     //
     this.ribbonControl1.ExpandCollapseItem.Id = 0;
     this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.ribbonControl1.ExpandCollapseItem,
     this.lblDatabaseName,
     this.lblUsername,
     this.lblLoginTime,
     this.barStaticItem4,
     this.barStaticItem5,
     this.barStaticItem6,
     this.lblLoginDate,
     this.barStaticItem8,
     this.barStaticItem7,
     this.lblComputerName,
     this.skinRibbonGalleryBarItem1,
     this.barStaticItem9,
     this.barCheckItem3,
     this.barCheckItem4,
     this.barStaticItem10,
     this.barButtonItem1,
     this.barStaticItem1,
     this.b_code,
     this.btnRefresh,
     this.barStaticItem2,
     this.lblWorkDate,
     this.barStaticItem11,
     this.lblUserID,
     this.barStaticItem3,
     this.lblServer});
     this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
     this.ribbonControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.ribbonControl1.MaxItemId = 27;
     this.ribbonControl1.Name = "ribbonControl1";
     this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
     this.ribbonPage8,
     this.ribbonPage16,
     this.ribbonPage1,
     this.ribbonPage2});
     this.ribbonControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemToggleSwitch1});
     this.ribbonControl1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2013;
     this.ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
     this.ribbonControl1.ShowFullScreenButton = DevExpress.Utils.DefaultBoolean.False;
     this.ribbonControl1.ShowToolbarCustomizeItem = false;
     this.ribbonControl1.Size = new System.Drawing.Size(1190, 147);
     this.ribbonControl1.StatusBar = this.ribbonStatusBar1;
     this.ribbonControl1.Toolbar.ShowCustomizeItem = false;
     this.ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden;
     //
     // lblDatabaseName
     //
     this.lblDatabaseName.Caption = "lblErp";
     this.lblDatabaseName.Id = 133;
     this.lblDatabaseName.Name = "lblDatabaseName";
     this.lblDatabaseName.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // lblUsername
     //
     this.lblUsername.Caption = "u_name";
     this.lblUsername.Id = 134;
     this.lblUsername.Name = "lblUsername";
     this.lblUsername.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // lblLoginTime
     //
     this.lblLoginTime.Caption = "logintime";
     this.lblLoginTime.Id = 135;
     this.lblLoginTime.Name = "lblLoginTime";
     this.lblLoginTime.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barStaticItem4
     //
     this.barStaticItem4.Caption = "Login User :"******"Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.barStaticItem4.ItemAppearance.Normal.Options.UseFont = true;
     this.barStaticItem4.Name = "barStaticItem4";
     this.barStaticItem4.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barStaticItem5
     //
     this.barStaticItem5.Caption = "Database :";
     this.barStaticItem5.Id = 139;
     this.barStaticItem5.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.barStaticItem5.ItemAppearance.Normal.Options.UseFont = true;
     this.barStaticItem5.Name = "barStaticItem5";
     this.barStaticItem5.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barStaticItem6
     //
     this.barStaticItem6.Caption = "Login Time :";
     this.barStaticItem6.Id = 140;
     this.barStaticItem6.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.barStaticItem6.ItemAppearance.Normal.Options.UseFont = true;
     this.barStaticItem6.Name = "barStaticItem6";
     this.barStaticItem6.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // lblLoginDate
     //
     this.lblLoginDate.Caption = "logindate";
     this.lblLoginDate.Id = 141;
     this.lblLoginDate.Name = "lblLoginDate";
     this.lblLoginDate.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barStaticItem8
     //
     this.barStaticItem8.Caption = "Login At :";
     this.barStaticItem8.Id = 142;
     this.barStaticItem8.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.barStaticItem8.ItemAppearance.Normal.Options.UseFont = true;
     this.barStaticItem8.Name = "barStaticItem8";
     this.barStaticItem8.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barStaticItem7
     //
     this.barStaticItem7.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
     this.barStaticItem7.Caption = "Computer Name :";
     this.barStaticItem7.Id = 143;
     this.barStaticItem7.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.barStaticItem7.ItemAppearance.Normal.Options.UseFont = true;
     this.barStaticItem7.Name = "barStaticItem7";
     this.barStaticItem7.TextAlignment = System.Drawing.StringAlignment.Near;
     this.barStaticItem7.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     //
     // lblComputerName
     //
     this.lblComputerName.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
     this.lblComputerName.Caption = "c_name";
     this.lblComputerName.Id = 145;
     this.lblComputerName.Name = "lblComputerName";
     this.lblComputerName.TextAlignment = System.Drawing.StringAlignment.Near;
     this.lblComputerName.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     //
     // skinRibbonGalleryBarItem1
     //
     this.skinRibbonGalleryBarItem1.Caption = "skinRibbonGalleryBarItem1";
     //
     //
     //
     this.skinRibbonGalleryBarItem1.Gallery.ShowItemText = true;
     this.skinRibbonGalleryBarItem1.Id = 3;
     this.skinRibbonGalleryBarItem1.Name = "skinRibbonGalleryBarItem1";
     //
     // barStaticItem9
     //
     this.barStaticItem9.Caption = "Pane Style : ";
     this.barStaticItem9.Id = 6;
     this.barStaticItem9.Name = "barStaticItem9";
     this.barStaticItem9.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barCheckItem3
     //
     this.barCheckItem3.Caption = "Explorer View";
     this.barCheckItem3.CheckBoxVisibility = DevExpress.XtraBars.CheckBoxVisibility.BeforeText;
     this.barCheckItem3.Checked = true;
     this.barCheckItem3.Id = 14;
     this.barCheckItem3.Name = "barCheckItem3";
     superToolTip1.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
     toolTipTitleItem1.Text = "What\'s Explorer View?";
     toolTipItem1.LeftIndent = 6;
     toolTipItem1.Text = "In <b>Explorer View</b> all groups are arranged one under another which provide t" +
     "he facility to expand / collapse each group individually.";
     toolTipTitleItem2.LeftIndent = 6;
     toolTipTitleItem2.Text = "ERP - Babar Medicine Company Lahore";
     superToolTip1.Items.Add(toolTipTitleItem1);
     superToolTip1.Items.Add(toolTipItem1);
     superToolTip1.Items.Add(toolTipSeparatorItem1);
     superToolTip1.Items.Add(toolTipTitleItem2);
     this.barCheckItem3.SuperTip = superToolTip1;
     this.barCheckItem3.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.barCheckItem3_CheckedChanged);
     //
     // barCheckItem4
     //
     this.barCheckItem4.Caption = "Navigation View";
     this.barCheckItem4.CheckBoxVisibility = DevExpress.XtraBars.CheckBoxVisibility.BeforeText;
     this.barCheckItem4.Id = 15;
     this.barCheckItem4.Name = "barCheckItem4";
     superToolTip2.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
     toolTipTitleItem3.Text = "What\'s Navigation View?";
     toolTipItem2.LeftIndent = 6;
     toolTipItem2.Text = "In <b>Navigation View</b> all groups are arranged one under another with one grou" +
     "p always expanded and this view provides the facility to expand / shrink whole <" +
     "b>Navigation Bar</b>.";
     toolTipTitleItem4.LeftIndent = 6;
     toolTipTitleItem4.Text = "ERP - Babar Medicine Company Lahore";
     superToolTip2.Items.Add(toolTipTitleItem3);
     superToolTip2.Items.Add(toolTipItem2);
     superToolTip2.Items.Add(toolTipSeparatorItem2);
     superToolTip2.Items.Add(toolTipTitleItem4);
     this.barCheckItem4.SuperTip = superToolTip2;
     this.barCheckItem4.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.barCheckItem4_CheckedChanged);
     //
     // barStaticItem10
     //
     this.barStaticItem10.Caption = "Explorer View";
     this.barStaticItem10.Id = 16;
     this.barStaticItem10.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.barStaticItem10.ItemAppearance.Normal.Options.UseFont = true;
     this.barStaticItem10.Name = "barStaticItem10";
     this.barStaticItem10.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "Color Mixer";
     this.barButtonItem1.Glyph = global::ERPGUI.Properties.Resources.colorpicker;
     this.barButtonItem1.Id = 17;
     this.barButtonItem1.Name = "barButtonItem1";
     this.barButtonItem1.RibbonStyle = ((DevExpress.XtraBars.Ribbon.RibbonItemStyles)(((DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large | DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText)
     | DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithoutText)));
     superToolTip3.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
     toolTipTitleItem5.Text = "What is Color Mixer?";
     toolTipItem3.LeftIndent = 6;
     toolTipItem3.Text = "<b>Color Mixer</b> gives you the functionality to apply your desireable color to " +
     "whole application and you can also set the <b>Brightness</b> of application.";
     toolTipTitleItem6.LeftIndent = 6;
     toolTipTitleItem6.Text = "ERP - Babar Medicine Company Lahore";
     superToolTip3.Items.Add(toolTipTitleItem5);
     superToolTip3.Items.Add(toolTipItem3);
     superToolTip3.Items.Add(toolTipSeparatorItem3);
     superToolTip3.Items.Add(toolTipTitleItem6);
     this.barButtonItem1.SuperTip = superToolTip3;
     this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
     //
     // barStaticItem1
     //
     this.barStaticItem1.Caption = "Branch :";
     this.barStaticItem1.Id = 18;
     this.barStaticItem1.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.barStaticItem1.ItemAppearance.Normal.Options.UseFont = true;
     this.barStaticItem1.Name = "barStaticItem1";
     this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // b_code
     //
     this.b_code.Caption = "b_code";
     this.b_code.Id = 19;
     this.b_code.Name = "b_code";
     this.b_code.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // btnRefresh
     //
     this.btnRefresh.Caption = "Refresh";
     this.btnRefresh.Glyph = global::ERPGUI.Properties.Resources.refresh_32x32;
     this.btnRefresh.Id = 20;
     this.btnRefresh.Name = "btnRefresh";
     this.btnRefresh.RibbonStyle = ((DevExpress.XtraBars.Ribbon.RibbonItemStyles)(((DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large | DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText)
     | DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithoutText)));
     this.btnRefresh.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnRefresh_ItemClick);
     //
     // barStaticItem2
     //
     this.barStaticItem2.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
     this.barStaticItem2.Caption = "Work Date :";
     this.barStaticItem2.Id = 21;
     this.barStaticItem2.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.barStaticItem2.ItemAppearance.Normal.Options.UseFont = true;
     this.barStaticItem2.Name = "barStaticItem2";
     this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // lblWorkDate
     //
     this.lblWorkDate.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
     this.lblWorkDate.Caption = "date";
     this.lblWorkDate.Id = 22;
     this.lblWorkDate.Name = "lblWorkDate";
     this.lblWorkDate.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barStaticItem11
     //
     this.barStaticItem11.Caption = "Username :"******"Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.barStaticItem11.ItemAppearance.Normal.Options.UseFont = true;
     this.barStaticItem11.Name = "barStaticItem11";
     this.barStaticItem11.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // lblUserID
     //
     this.lblUserID.Caption = "id";
     this.lblUserID.Id = 24;
     this.lblUserID.Name = "lblUserID";
     this.lblUserID.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barStaticItem3
     //
     this.barStaticItem3.Caption = "Server :";
     this.barStaticItem3.Id = 25;
     this.barStaticItem3.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.barStaticItem3.ItemAppearance.Normal.Options.UseFont = true;
     this.barStaticItem3.Name = "barStaticItem3";
     this.barStaticItem3.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // lblServer
     //
     this.lblServer.Caption = "Server";
     this.lblServer.Id = 26;
     this.lblServer.Name = "lblServer";
     this.lblServer.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // ribbonPage8
     //
     this.ribbonPage8.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
     this.ribbonPage8.Appearance.Options.UseFont = true;
     this.ribbonPage8.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.ribbonPageGroup3});
     this.ribbonPage8.Name = "ribbonPage8";
     this.ribbonPage8.Text = "File";
     //
     // ribbonPageGroup3
     //
     this.ribbonPageGroup3.ItemLinks.Add(this.btnRefresh);
     this.ribbonPageGroup3.Name = "ribbonPageGroup3";
     //
     // ribbonPage16
     //
     this.ribbonPage16.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.ribbonPageGroup2,
     this.ribbonPageGroup1});
     this.ribbonPage16.Name = "ribbonPage16";
     this.ribbonPage16.Text = "View";
     //
     // ribbonPageGroup2
     //
     this.ribbonPageGroup2.AllowTextClipping = false;
     this.ribbonPageGroup2.ItemLinks.Add(this.skinRibbonGalleryBarItem1);
     this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem1);
     this.ribbonPageGroup2.Name = "ribbonPageGroup2";
     this.ribbonPageGroup2.Text = "Themes";
     //
     // ribbonPageGroup1
     //
     this.ribbonPageGroup1.AllowTextClipping = false;
     this.ribbonPageGroup1.ItemLinks.Add(this.barCheckItem3);
     this.ribbonPageGroup1.ItemLinks.Add(this.barCheckItem4);
     this.ribbonPageGroup1.Name = "ribbonPageGroup1";
     this.ribbonPageGroup1.Text = "Switch Pane Style";
     //
     // ribbonPage1
     //
     this.ribbonPage1.Name = "ribbonPage1";
     this.ribbonPage1.Text = "Help";
     //
     // ribbonPage2
     //
     this.ribbonPage2.Name = "ribbonPage2";
     //
     // repositoryItemToggleSwitch1
     //
     this.repositoryItemToggleSwitch1.AutoHeight = false;
     this.repositoryItemToggleSwitch1.Name = "repositoryItemToggleSwitch1";
     this.repositoryItemToggleSwitch1.OffText = "Explorer";
     this.repositoryItemToggleSwitch1.OnText = "Navigation";
     //
     // ribbonStatusBar1
     //
     this.ribbonStatusBar1.ItemLinks.Add(this.barStaticItem1, true);
     this.ribbonStatusBar1.ItemLinks.Add(this.b_code);
     this.ribbonStatusBar1.ItemLinks.Add(this.barStaticItem3, true);
     this.ribbonStatusBar1.ItemLinks.Add(this.lblServer);
     this.ribbonStatusBar1.ItemLinks.Add(this.barStaticItem5, true);
     this.ribbonStatusBar1.ItemLinks.Add(this.lblDatabaseName);
     this.ribbonStatusBar1.ItemLinks.Add(this.barStaticItem4, true);
     this.ribbonStatusBar1.ItemLinks.Add(this.lblUserID);
     this.ribbonStatusBar1.ItemLinks.Add(this.lblUsername);
     this.ribbonStatusBar1.ItemLinks.Add(this.barStaticItem8, true);
     this.ribbonStatusBar1.ItemLinks.Add(this.lblLoginDate);
     this.ribbonStatusBar1.ItemLinks.Add(this.lblLoginTime);
     this.ribbonStatusBar1.ItemLinks.Add(this.lblComputerName);
     this.ribbonStatusBar1.ItemLinks.Add(this.barStaticItem2, true);
     this.ribbonStatusBar1.ItemLinks.Add(this.lblWorkDate);
     this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 653);
     this.ribbonStatusBar1.Name = "ribbonStatusBar1";
     this.ribbonStatusBar1.Ribbon = this.ribbonControl1;
     this.ribbonStatusBar1.Size = new System.Drawing.Size(1190, 31);
     //
     // tileNavSubItem16
     //
     this.tileNavSubItem16.Caption = "tileNavSubItem16";
     this.tileNavSubItem16.Name = "tileNavSubItem16";
     this.tileNavSubItem16.OptionsDropDown.BackColor = System.Drawing.Color.Empty;
     //
     //
     //
     this.tileNavSubItem16.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
     tileItemElement1.Text = "tileNavSubItem16";
     this.tileNavSubItem16.Tile.Elements.Add(tileItemElement1);
     this.tileNavSubItem16.Tile.ItemSize = DevExpress.XtraBars.Navigation.TileBarItemSize.Default;
     this.tileNavSubItem16.Tile.Name = "tileBarItem25";
     //
     // tileNavSubItem17
     //
     this.tileNavSubItem17.Caption = "tileNavSubItem17";
     this.tileNavSubItem17.Name = "tileNavSubItem17";
     this.tileNavSubItem17.OptionsDropDown.BackColor = System.Drawing.Color.Empty;
     //
     //
     //
     this.tileNavSubItem17.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
     tileItemElement2.Text = "tileNavSubItem17";
     this.tileNavSubItem17.Tile.Elements.Add(tileItemElement2);
     this.tileNavSubItem17.Tile.ItemSize = DevExpress.XtraBars.Navigation.TileBarItemSize.Default;
     this.tileNavSubItem17.Tile.Name = "tileBarItem26";
     //
     // tileNavSubItem18
     //
     this.tileNavSubItem18.Caption = "tileNavSubItem18";
     this.tileNavSubItem18.Name = "tileNavSubItem18";
     this.tileNavSubItem18.OptionsDropDown.BackColor = System.Drawing.Color.Empty;
     //
     //
     //
     this.tileNavSubItem18.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
     tileItemElement3.Text = "tileNavSubItem18";
     this.tileNavSubItem18.Tile.Elements.Add(tileItemElement3);
     this.tileNavSubItem18.Tile.ItemSize = DevExpress.XtraBars.Navigation.TileBarItemSize.Default;
     this.tileNavSubItem18.Tile.Name = "tileBarItem27";
     //
     // tileNavSubItem19
     //
     this.tileNavSubItem19.Caption = "tileNavSubItem19";
     this.tileNavSubItem19.Name = "tileNavSubItem19";
     this.tileNavSubItem19.OptionsDropDown.BackColor = System.Drawing.Color.Empty;
     //
     //
     //
     this.tileNavSubItem19.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
     tileItemElement4.Text = "tileNavSubItem19";
     this.tileNavSubItem19.Tile.Elements.Add(tileItemElement4);
     this.tileNavSubItem19.Tile.ItemSize = DevExpress.XtraBars.Navigation.TileBarItemSize.Default;
     this.tileNavSubItem19.Tile.Name = "tileBarItem28";
     //
     // tileNavSubItem20
     //
     this.tileNavSubItem20.Caption = "tileNavSubItem20";
     this.tileNavSubItem20.Name = "tileNavSubItem20";
     this.tileNavSubItem20.OptionsDropDown.BackColor = System.Drawing.Color.Empty;
     //
     //
     //
     this.tileNavSubItem20.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
     tileItemElement5.Text = "tileNavSubItem20";
     this.tileNavSubItem20.Tile.Elements.Add(tileItemElement5);
     this.tileNavSubItem20.Tile.ItemSize = DevExpress.XtraBars.Navigation.TileBarItemSize.Default;
     this.tileNavSubItem20.Tile.Name = "tileBarItem29";
     //
     // tileNavSubItem21
     //
     this.tileNavSubItem21.Caption = "tileNavSubItem21";
     this.tileNavSubItem21.Name = "tileNavSubItem21";
     this.tileNavSubItem21.OptionsDropDown.BackColor = System.Drawing.Color.Empty;
     //
     //
     //
     this.tileNavSubItem21.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
     tileItemElement6.Text = "tileNavSubItem21";
     this.tileNavSubItem21.Tile.Elements.Add(tileItemElement6);
     this.tileNavSubItem21.Tile.ItemSize = DevExpress.XtraBars.Navigation.TileBarItemSize.Default;
     this.tileNavSubItem21.Tile.Name = "tileBarItem30";
     //
     // tileNavSubItem22
     //
     this.tileNavSubItem22.Caption = "tileNavSubItem22";
     this.tileNavSubItem22.Name = "tileNavSubItem22";
     this.tileNavSubItem22.OptionsDropDown.BackColor = System.Drawing.Color.Empty;
     //
     //
     //
     this.tileNavSubItem22.Tile.DropDownOptions.BeakColor = System.Drawing.Color.Empty;
     tileItemElement7.Text = "tileNavSubItem22";
     this.tileNavSubItem22.Tile.Elements.Add(tileItemElement7);
     this.tileNavSubItem22.Tile.ItemSize = DevExpress.XtraBars.Navigation.TileBarItemSize.Default;
     this.tileNavSubItem22.Tile.Name = "tileBarItem31";
     //
     // backstageViewTabItem1
     //
     this.backstageViewTabItem1.Caption = "backstageViewTabItem1";
     this.backstageViewTabItem1.Name = "backstageViewTabItem1";
     this.backstageViewTabItem1.Selected = false;
     //
     // navBarItem1
     //
     this.navBarItem1.Caption = "Near Expiry Batches";
     this.navBarItem1.Name = "navBarItem1";
     //
     // navBarItem45
     //
     this.navBarItem45.Caption = "navBarItem45";
     this.navBarItem45.Name = "navBarItem45";
     //
     // frmModulesList
     //
     this.frmModulesList.Caption = "Modules List";
     this.frmModulesList.Name = "frmModulesList";
     this.frmModulesList.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmaddUsers
     //
     this.frmaddUsers.Caption = "Add User";
     this.frmaddUsers.Name = "frmaddUsers";
     this.frmaddUsers.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmUserRights
     //
     this.frmUserRights.Caption = "Users Security";
     this.frmUserRights.Name = "frmUserRights";
     this.frmUserRights.LinkPressed += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // navBarGroup2
     //
     this.navBarGroup2.Caption = "Administration";
     this.navBarGroup2.Expanded = true;
     this.navBarGroup2.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmModulesList),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmaddUsers),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmUserRights),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmGeneralSettings),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmEmailManager)});
     this.navBarGroup2.Name = "navBarGroup2";
     this.navBarGroup2.SmallImage = global::ERPGUI.Properties.Resources.login_key_copy;
     superToolTip4.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
     toolTipTitleItem7.Text = "What\'s in Administration?";
     toolTipItem4.LeftIndent = 6;
     toolTipItem4.Text = "All tasks related to system <b>Administrator</b> are under this section. ";
     toolTipTitleItem8.LeftIndent = 6;
     toolTipTitleItem8.Text = "ERP - Babar Medicine Company Lahore";
     superToolTip4.Items.Add(toolTipTitleItem7);
     superToolTip4.Items.Add(toolTipItem4);
     superToolTip4.Items.Add(toolTipSeparatorItem4);
     superToolTip4.Items.Add(toolTipTitleItem8);
     this.navBarGroup2.SuperTip = superToolTip4;
     //
     // frmGeneralSettings
     //
     this.frmGeneralSettings.Caption = "General Settings";
     this.frmGeneralSettings.Name = "frmGeneralSettings";
     this.frmGeneralSettings.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmEmailManager
     //
     this.frmEmailManager.Caption = "Email Manager";
     this.frmEmailManager.Name = "frmEmailManager";
     this.frmEmailManager.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.frmEmailManager_LinkClicked);
     //
     // navBarGroup3
     //
     this.navBarGroup3.Caption = "Financials";
     this.navBarGroup3.Name = "navBarGroup3";
     this.navBarGroup3.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup3.SmallImage")));
     //
     // navBarGroup4
     //
     this.navBarGroup4.Caption = "Sales A/R";
     this.navBarGroup4.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmOpenRSS),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmOpenRssStock),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmReturnSummary),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmOpenDSS),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmMPOSSync),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmSelectSummary),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmSaleInvoiceGeneration)});
     this.navBarGroup4.Name = "navBarGroup4";
     this.navBarGroup4.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup4.SmallImage")));
     //
     // frmOpenRSS
     //
     this.frmOpenRSS.Caption = "Open Rss";
     this.frmOpenRSS.Name = "frmOpenRSS";
     this.frmOpenRSS.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.frmOpenRss_LinkClicked);
     //
     // frmOpenRssStock
     //
     this.frmOpenRssStock.Caption = "Open Rss Stock";
     this.frmOpenRssStock.Name = "frmOpenRssStock";
     this.frmOpenRssStock.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.frmOpenRss_LinkClicked);
     //
     // frmReturnSummary
     //
     this.frmReturnSummary.Caption = "Sale Return";
     this.frmReturnSummary.Name = "frmReturnSummary";
     this.frmReturnSummary.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmOpenDSS
     //
     this.frmOpenDSS.Caption = "Open Dss";
     this.frmOpenDSS.Name = "frmOpenDSS";
     this.frmOpenDSS.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmMPOSSync
     //
     this.frmMPOSSync.Caption = "Sync Devices";
     this.frmMPOSSync.Name = "frmMPOSSync";
     this.frmMPOSSync.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmSelectSummary
     //
     this.frmSelectSummary.Caption = "Sale Invoice";
     this.frmSelectSummary.Name = "frmSelectSummary";
     this.frmSelectSummary.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmSaleInvoiceGeneration
     //
     this.frmSaleInvoiceGeneration.Caption = "Auto Sale Invoice";
     this.frmSaleInvoiceGeneration.Name = "frmSaleInvoiceGeneration";
     this.frmSaleInvoiceGeneration.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // navBarGroup5
     //
     this.navBarGroup5.Caption = "Purchasing A/P";
     this.navBarGroup5.Expanded = true;
     this.navBarGroup5.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmPurchaseOrder),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmGRN),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmPurchaseInvoice),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmDeliveryChallan),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmPurchaseReturn)});
     this.navBarGroup5.Name = "navBarGroup5";
     this.navBarGroup5.SmallImage = global::ERPGUI.Properties.Resources.cart__2_;
     //
     // frmPurchaseOrder
     //
     this.frmPurchaseOrder.Caption = "Purchase Order";
     this.frmPurchaseOrder.Name = "frmPurchaseOrder";
     this.frmPurchaseOrder.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmGRN
     //
     this.frmGRN.Caption = "Goods Receipt Note";
     this.frmGRN.Name = "frmGRN";
     this.frmGRN.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmPurchaseInvoice
     //
     this.frmPurchaseInvoice.Caption = "Purchase Invoice";
     this.frmPurchaseInvoice.Name = "frmPurchaseInvoice";
     this.frmPurchaseInvoice.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmDeliveryChallan
     //
     this.frmDeliveryChallan.Caption = "Delivery Challan";
     this.frmDeliveryChallan.Name = "frmDeliveryChallan";
     this.frmDeliveryChallan.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmPurchaseReturn
     //
     this.frmPurchaseReturn.Caption = "Purchase Return";
     this.frmPurchaseReturn.Name = "frmPurchaseReturn";
     this.frmPurchaseReturn.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // navBarGroup6
     //
     this.navBarGroup6.Caption = "Business Partners";
     this.navBarGroup6.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmTown),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmOurCompanyGroups),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmCustomers),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmProducts),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmCompanyGroup),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmEmployeeTargets),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmProductGroup),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmVendorEmployees)});
     this.navBarGroup6.Name = "navBarGroup6";
     this.navBarGroup6.SmallImage = global::ERPGUI.Properties.Resources.handshake1;
     //
     // frmTown
     //
     this.frmTown.Caption = "Areas Defination";
     this.frmTown.Name = "frmTown";
     this.frmTown.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmOurCompanyGroups
     //
     this.frmOurCompanyGroups.Caption = "Our Company Groups";
     this.frmOurCompanyGroups.Name = "frmOurCompanyGroups";
     this.frmOurCompanyGroups.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmCustomers
     //
     this.frmCustomers.Caption = "Customers";
     this.frmCustomers.Name = "frmCustomers";
     this.frmCustomers.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmProducts
     //
     this.frmProducts.Caption = "Products";
     this.frmProducts.Name = "frmProducts";
     this.frmProducts.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmCompanyGroup
     //
     this.frmCompanyGroup.Caption = "Company Groups";
     this.frmCompanyGroup.Name = "frmCompanyGroup";
     this.frmCompanyGroup.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmEmployeeTargets
     //
     this.frmEmployeeTargets.Caption = "Targets";
     this.frmEmployeeTargets.Name = "frmEmployeeTargets";
     this.frmEmployeeTargets.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmProductGroup
     //
     this.frmProductGroup.Caption = "Product Grouping";
     this.frmProductGroup.Name = "frmProductGroup";
     this.frmProductGroup.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmVendorEmployees
     //
     this.frmVendorEmployees.Caption = "Compnies Employee";
     this.frmVendorEmployees.Name = "frmVendorEmployees";
     this.frmVendorEmployees.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // navBarGroup7
     //
     this.navBarGroup7.Caption = "Banking";
     this.navBarGroup7.Name = "navBarGroup7";
     this.navBarGroup7.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup7.SmallImage")));
     //
     // navBarGroup8
     //
     this.navBarGroup8.Caption = "Inventory";
     this.navBarGroup8.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmHoldScan),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmBatchCorrection),
     new DevExpress.XtraNavBar.NavBarItemLink(this.frmIntimations),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem2)});
     this.navBarGroup8.Name = "navBarGroup8";
     this.navBarGroup8.SmallImage = global::ERPGUI.Properties.Resources.sssss;
     //
     // frmHoldScan
     //
     this.frmHoldScan.Caption = "Hold Scan";
     this.frmHoldScan.Name = "frmHoldScan";
     this.frmHoldScan.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.frmHoldScan_LinkClicked);
     //
     // frmBatchCorrection
     //
     this.frmBatchCorrection.Caption = "Batch Correction";
     this.frmBatchCorrection.Name = "frmBatchCorrection";
     this.frmBatchCorrection.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // frmIntimations
     //
     this.frmIntimations.Caption = "Intimation";
     this.frmIntimations.Name = "frmIntimations";
     this.frmIntimations.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // navBarItem2
     //
     this.navBarItem2.Caption = "Auto Product Change";
     this.navBarItem2.Name = "navBarItem2";
     this.navBarItem2.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.OpenForm_LinkClicked);
     //
     // navBarGroup9
     //
     this.navBarGroup9.Caption = "Human Resource";
     this.navBarGroup9.Expanded = true;
     this.navBarGroup9.Name = "navBarGroup9";
     this.navBarGroup9.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup9.SmallImage")));
     //
     // navBarGroup10
     //
     this.navBarGroup10.Caption = "Fleets & Supply";
     this.navBarGroup10.Expanded = true;
     this.navBarGroup10.Name = "navBarGroup10";
     this.navBarGroup10.SmallImage = global::ERPGUI.Properties.Resources.truck_16x16;
     //
     // navBarGroup11
     //
     this.navBarGroup11.Caption = "Reports";
     this.navBarGroup11.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
     new DevExpress.XtraNavBar.NavBarItemLink(this.Administration),
     new DevExpress.XtraNavBar.NavBarItemLink(this.Financials),
     new DevExpress.XtraNavBar.NavBarItemLink(this.Accounts),
     new DevExpress.XtraNavBar.NavBarItemLink(this.Claims),
     new DevExpress.XtraNavBar.NavBarItemLink(this.Sales),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navbrPurchasing),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navbrPartners),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navbrBanking),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navbrInventory),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navbrHumanResource),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navbrFleetnSupply),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navbrInstitution),
     new DevExpress.XtraNavBar.NavBarItemLink(this.navbrGeneralStore)});
     this.navBarGroup11.Name = "navBarGroup11";
     this.navBarGroup11.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup11.SmallImage")));
     //
     // Administration
     //
     this.Administration.Caption = "Administration";
     this.Administration.Name = "Administration";
     this.Administration.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // Financials
     //
     this.Financials.Caption = "Financials";
     this.Financials.Name = "Financials";
     this.Financials.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // Accounts
     //
     this.Accounts.Caption = "Accounts";
     this.Accounts.Name = "Accounts";
     this.Accounts.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // Claims
     //
     this.Claims.Caption = "Claims";
     this.Claims.Name = "Claims";
     this.Claims.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // Sales
     //
     this.Sales.Caption = "Sales A/R";
     this.Sales.Name = "Sales";
     this.Sales.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // navbrPurchasing
     //
     this.navbrPurchasing.Caption = "Purchasing A/P";
     this.navbrPurchasing.Name = "navbrPurchasing";
     this.navbrPurchasing.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // navbrPartners
     //
     this.navbrPartners.Caption = "Business Partners";
     this.navbrPartners.Name = "navbrPartners";
     this.navbrPartners.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // navbrBanking
     //
     this.navbrBanking.Caption = "Banking";
     this.navbrBanking.Name = "navbrBanking";
     this.navbrBanking.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // navbrInventory
     //
     this.navbrInventory.Caption = "Inventory";
     this.navbrInventory.Name = "navbrInventory";
     this.navbrInventory.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // navbrHumanResource
     //
     this.navbrHumanResource.Caption = "Human Resource";
     this.navbrHumanResource.Name = "navbrHumanResource";
     this.navbrHumanResource.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // navbrFleetnSupply
     //
     this.navbrFleetnSupply.Caption = "Fleets & Supply";
     this.navbrFleetnSupply.Name = "navbrFleetnSupply";
     this.navbrFleetnSupply.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // navbrInstitution
     //
     this.navbrInstitution.Caption = "Institution";
     this.navbrInstitution.Name = "navbrInstitution";
     this.navbrInstitution.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // navbrGeneralStore
     //
     this.navbrGeneralStore.Caption = "General Store";
     this.navbrGeneralStore.Name = "navbrGeneralStore";
     this.navbrGeneralStore.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.reportopen_LinkClicked);
     //
     // navBarControl1
     //
     this.navBarControl1.ActiveGroup = this.navBarGroup2;
     this.navBarControl1.Dock = System.Windows.Forms.DockStyle.Left;
     this.navBarControl1.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] {
     this.navBarGroup2,
     this.navBarGroup3,
     this.navBarGroup12,
     this.navBarGroup1,
     this.navBarGroup4,
     this.navBarGroup5,
     this.navBarGroup6,
     this.navBarGroup7,
     this.navBarGroup8,
     this.navBarGroup9,
     this.navBarGroup10,
     this.navBarGroup13,
     this.navBarGroup14,
     this.navBarGroup11});
     this.navBarControl1.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] {
     this.navBarItem1,
     this.navBarItem45,
     this.frmModulesList,
     this.frmaddUsers,
     this.frmUserRights,
     this.Administration,
     this.frmTown,
     this.Financials,
     this.Accounts,
     this.Claims,
     this.Sales,
     this.navbrPurchasing,
     this.navbrPartners,
     this.navbrBanking,
     this.navbrInventory,
     this.navbrHumanResource,
     this.navbrFleetnSupply,
     this.navbrInstitution,
     this.navbrGeneralStore,
     this.frmOurCompanyGroups,
     this.frmCustomers,
     this.frmProducts,
     this.frmCompanyGroup,
     this.frmGeneralSettings,
     this.frmEmployeeTargets,
     this.frmProductGroup,
     this.frmVendorEmployees,
     this.frmPurchaseOrder,
     this.frmGRN,
     this.frmPurchaseInvoice,
     this.frmDeliveryChallan,
     this.frmPurchaseReturn,
     this.frmHoldScan,
     this.frmOpenRSS,
     this.frmOpenRssStock,
     this.frmReturnSummary,
     this.frmOpenDSS,
     this.frmMPOSSync,
     this.frmBatchCorrection,
     this.frmIntimations,
     this.navBarItem2,
     this.frmSelectSummary,
     this.frmSaleInvoiceGeneration,
     this.frmEmailManager});
     this.navBarControl1.Location = new System.Drawing.Point(0, 147);
     this.navBarControl1.Name = "navBarControl1";
     this.navBarControl1.OptionsNavPane.ExpandedWidth = 170;
     this.navBarControl1.PaintStyleKind = DevExpress.XtraNavBar.NavBarViewKind.ExplorerBar;
     this.navBarControl1.Size = new System.Drawing.Size(170, 506);
     this.navBarControl1.StoreDefaultPaintStyleName = true;
     this.navBarControl1.TabIndex = 3;
     this.navBarControl1.Text = "navBarControl1";
     //
     // navBarGroup12
     //
     this.navBarGroup12.Caption = "Accounts";
     this.navBarGroup12.Expanded = true;
     this.navBarGroup12.Name = "navBarGroup12";
     this.navBarGroup12.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup12.SmallImage")));
     //
     // navBarGroup1
     //
     this.navBarGroup1.Caption = "Claims";
     this.navBarGroup1.Name = "navBarGroup1";
     this.navBarGroup1.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup1.SmallImage")));
     //
     // navBarGroup13
     //
     this.navBarGroup13.Caption = "Institution";
     this.navBarGroup13.Name = "navBarGroup13";
     this.navBarGroup13.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup13.SmallImage")));
     //
     // navBarGroup14
     //
     this.navBarGroup14.Caption = "General Store";
     this.navBarGroup14.Name = "navBarGroup14";
     this.navBarGroup14.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup14.SmallImage")));
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(341, 90);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 11;
     this.button1.Text = "Lock";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // frmMain
     //
     this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.True;
     this.Appearance.BackColor = System.Drawing.Color.LightYellow;
     this.Appearance.BackColor2 = System.Drawing.Color.Olive;
     this.Appearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
     this.Appearance.Options.UseBackColor = true;
     this.Appearance.Options.UseBorderColor = true;
     this.Appearance.Options.UseFont = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackgroundImageLayoutStore = System.Windows.Forms.ImageLayout.Center;
     this.BackgroundImageStore = global::ERPGUI.Properties.Resources.bmc2;
     this.ClientSize = new System.Drawing.Size(1190, 684);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.navBarControl1);
     this.Controls.Add(this.ribbonStatusBar1);
     this.Controls.Add(this.ribbonControl1);
     this.Font = new System.Drawing.Font("Tahoma", 8F);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.InactiveGlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
     this.IsMdiContainer = true;
     this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.Name = "frmMain";
     this.Ribbon = this.ribbonControl1;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.StatusBar = this.ribbonStatusBar1;
     this.Text = "ERP - Babar Medicine Company Lahore";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmMain_FormClosing);
     this.Load += new System.EventHandler(this.frmMain_Load);
     ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemToggleSwitch1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
        public CloudTaskBackstageViewMenu(System.Windows.Forms.Control form, DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl)
        {
            controller                             = new Controllers.MainMenuController();
            m_ribbonControl                        = ribbonControl;
            m_backstageViewControl                 = new DevExpress.XtraBars.Ribbon.BackstageViewControl();
            m_backstageViewClientControl           = new DevExpress.XtraBars.Ribbon.BackstageViewClientControl();
            m_TabSaveButtonSave                    = new DevExpress.XtraEditors.SimpleButton();
            m_TabSaveButtonSaveAs                  = new DevExpress.XtraEditors.SimpleButton();
            m_TabSaveXtraUserControl               = new DevExpress.XtraEditors.XtraUserControl();
            m_backstageViewButtonNewCase           = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();
            m_backstageViewButtonOpenCase          = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();
            m_backstageViewTabSaveCase             = new DevExpress.XtraBars.Ribbon.BackstageViewTabItem();
            m_backstageViewButtonSettings          = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();
            m_backstageViewItemSeparator           = new DevExpress.XtraBars.Ribbon.BackstageViewItemSeparator();
            m_backstageViewButtonDeleteCurrentCase = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();
            m_backstageViewButtonExit              = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();

            ((System.ComponentModel.ISupportInitialize)(m_backstageViewControl)).BeginInit();
            m_backstageViewControl.SuspendLayout();
            m_backstageViewClientControl.SuspendLayout();
            //
            // backstageViewControl
            //
            m_backstageViewControl.Appearance.BackColor              = System.Drawing.Color.Black;
            m_backstageViewControl.Appearance.BackColor2             = System.Drawing.Color.Black;
            m_backstageViewControl.Appearance.BorderColor            = System.Drawing.Color.Black;
            m_backstageViewControl.Appearance.Options.UseBackColor   = true;
            m_backstageViewControl.Appearance.Options.UseBorderColor = true;
            m_backstageViewControl.ColorScheme = DevExpress.XtraBars.Ribbon.RibbonControlColorScheme.Yellow;
            m_backstageViewControl.Controls.Add(m_backstageViewClientControl);
            m_backstageViewControl.Items.Add(m_backstageViewButtonNewCase);
            m_backstageViewControl.Items.Add(m_backstageViewButtonOpenCase);
            m_backstageViewControl.Items.Add(m_backstageViewTabSaveCase);
            m_backstageViewControl.Items.Add(m_backstageViewButtonSettings);
            m_backstageViewControl.Items.Add(m_backstageViewItemSeparator);
            m_backstageViewControl.Items.Add(m_backstageViewButtonDeleteCurrentCase);
            m_backstageViewControl.Items.Add(m_backstageViewButtonExit);
            m_backstageViewControl.Location         = new System.Drawing.Point(267, 150);
            m_backstageViewControl.Name             = "backstageViewControl";
            m_backstageViewControl.Ribbon           = ribbonControl;
            m_backstageViewControl.SelectedTab      = m_backstageViewTabSaveCase;
            m_backstageViewControl.SelectedTabIndex = 2;
            m_backstageViewControl.Size             = new System.Drawing.Size(759, 377);
            m_backstageViewControl.Style            = DevExpress.XtraBars.Ribbon.BackstageViewStyle.Office2013;
            m_backstageViewControl.TabIndex         = 5;
            m_backstageViewControl.Text             = "backstageViewControl1";
            //
            // backstageViewClientControl
            //
            m_backstageViewClientControl.Controls.Add(m_TabSaveButtonSave);
            m_backstageViewClientControl.Controls.Add(m_TabSaveButtonSaveAs);
            m_backstageViewClientControl.Controls.Add(m_TabSaveXtraUserControl);
            m_backstageViewClientControl.Location = new System.Drawing.Point(163, 63);
            m_backstageViewClientControl.Name     = "backstageViewClientControl1";
            m_backstageViewClientControl.Size     = new System.Drawing.Size(595, 313);
            m_backstageViewClientControl.TabIndex = 0;
            //
            // simpleButtonSave
            //
            m_TabSaveButtonSave.Image    = global::CloudTask_GUI.Properties.Resources.save_32x32;
            m_TabSaveButtonSave.Location = new System.Drawing.Point(17, 94);
            m_TabSaveButtonSave.Name     = "simpleButtonSave";
            m_TabSaveButtonSave.Size     = new System.Drawing.Size(107, 37);
            m_TabSaveButtonSave.TabIndex = 2;
            m_TabSaveButtonSave.Text     = "Save";
            //
            // simpleButtonSaveAs
            //
            m_TabSaveButtonSaveAs.Image    = global::CloudTask_GUI.Properties.Resources.saveandnew_32x32;
            m_TabSaveButtonSaveAs.Location = new System.Drawing.Point(17, 51);
            m_TabSaveButtonSaveAs.Name     = "simpleButtonSaveAs";
            m_TabSaveButtonSaveAs.Size     = new System.Drawing.Size(107, 37);
            m_TabSaveButtonSaveAs.TabIndex = 1;
            m_TabSaveButtonSaveAs.Text     = "Save as";
            //
            // xtraUserControl2
            //
            m_TabSaveXtraUserControl.Dock     = System.Windows.Forms.DockStyle.Fill;
            m_TabSaveXtraUserControl.Location = new System.Drawing.Point(0, 0);
            m_TabSaveXtraUserControl.Name     = "xtraUserControl2";
            m_TabSaveXtraUserControl.Size     = new System.Drawing.Size(595, 313);
            m_TabSaveXtraUserControl.TabIndex = 0;
            //
            // backstageViewButtonNewCase
            //
            m_backstageViewButtonNewCase.Caption = "New Case";
            m_backstageViewButtonNewCase.Glyph   = global::CloudTask_GUI.Properties.Resources.project_32x32;
            m_backstageViewButtonNewCase.Name    = "backstageViewButtonNewCase";
            //
            // backstageViewButtonOpenCase
            //
            m_backstageViewButtonOpenCase.Caption = "Open Case";
            m_backstageViewButtonOpenCase.Glyph   = global::CloudTask_GUI.Properties.Resources.loadfrom_32x32;
            m_backstageViewButtonOpenCase.Name    = "backstageViewButtonOpenCase";
            //
            // backstageViewTabSaveCase
            //
            m_backstageViewTabSaveCase.Caption        = "Save Case";
            m_backstageViewTabSaveCase.ContentControl = m_backstageViewClientControl;
            m_backstageViewTabSaveCase.Glyph          = global::CloudTask_GUI.Properties.Resources.save_32x32;
            m_backstageViewTabSaveCase.Name           = "backstageViewTabSaveCase";
            m_backstageViewTabSaveCase.Selected       = false;
            //
            // backstageViewButtonSettings
            //
            m_backstageViewButtonSettings.Caption = "Settings";
            m_backstageViewButtonSettings.Glyph   = global::CloudTask_GUI.Properties.Resources.technology_32x32;
            m_backstageViewButtonSettings.Name    = "backstageViewButtonSettings";
            m_backstageViewButtonSettings.Visible = false;
            //
            // backstageViewItemSeparator1
            //
            m_backstageViewItemSeparator.Name = "backstageViewItemSeparator1";
            //
            // backstageViewButtonDeleteCurrentCase
            //
            m_backstageViewButtonDeleteCurrentCase.Caption = "Delete Current Case";
            m_backstageViewButtonDeleteCurrentCase.Glyph   = global::CloudTask_GUI.Properties.Resources.clear_32x32;
            m_backstageViewButtonDeleteCurrentCase.Name    = "backstageViewButtonDeleteCurrentCase";
            //
            // backstageViewButtonExit
            //
            m_backstageViewButtonExit.Caption = "Exit";
            m_backstageViewButtonExit.Glyph   = global::CloudTask_GUI.Properties.Resources.bugreport_32x32;
            m_backstageViewButtonExit.Name    = "backstageViewButtonExit";

            m_ribbonControl.ApplicationButtonDropDownControl = m_backstageViewControl;
            form.Controls.Add(m_backstageViewControl);
            ((System.ComponentModel.ISupportInitialize)(m_backstageViewControl)).EndInit();
            m_backstageViewControl.ResumeLayout(false);
            m_backstageViewClientControl.ResumeLayout(false);

            m_TabSaveButtonSaveAs.Click                      += new EventHandler(controller.CaseSaveAsClicked);
            m_TabSaveButtonSave.Click                        += new EventHandler(controller.CaseSaveClicked);
            m_backstageViewButtonOpenCase.ItemClick          += new DevExpress.XtraBars.Ribbon.BackstageViewItemEventHandler(controller.OpenCaseClicked);
            m_backstageViewButtonNewCase.ItemClick           += new DevExpress.XtraBars.Ribbon.BackstageViewItemEventHandler(controller.NewCaseClicked);
            m_backstageViewButtonDeleteCurrentCase.ItemClick += new DevExpress.XtraBars.Ribbon.BackstageViewItemEventHandler(controller.DeleteCaseClicked);
            m_backstageViewButtonExit.ItemClick              += new DevExpress.XtraBars.Ribbon.BackstageViewItemEventHandler(controller.ExitClicked);
        }
        public CloudTaskBackstageViewMenu(System.Windows.Forms.Control form, DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl)
        {
            controller = new Controllers.MainMenuController();
            m_ribbonControl = ribbonControl;
            m_backstageViewControl = new DevExpress.XtraBars.Ribbon.BackstageViewControl();
            m_backstageViewClientControl = new DevExpress.XtraBars.Ribbon.BackstageViewClientControl();
            m_TabSaveButtonSave = new DevExpress.XtraEditors.SimpleButton();
            m_TabSaveButtonSaveAs = new DevExpress.XtraEditors.SimpleButton();
            m_TabSaveXtraUserControl = new DevExpress.XtraEditors.XtraUserControl();
            m_backstageViewButtonNewCase = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();
            m_backstageViewButtonOpenCase = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();
            m_backstageViewTabSaveCase = new DevExpress.XtraBars.Ribbon.BackstageViewTabItem();
            m_backstageViewButtonSettings = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();
            m_backstageViewItemSeparator = new DevExpress.XtraBars.Ribbon.BackstageViewItemSeparator();
            m_backstageViewButtonDeleteCurrentCase = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();
            m_backstageViewButtonExit = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();

            ((System.ComponentModel.ISupportInitialize)(m_backstageViewControl)).BeginInit();
            m_backstageViewControl.SuspendLayout();
            m_backstageViewClientControl.SuspendLayout();
            //
            // backstageViewControl
            //
            m_backstageViewControl.Appearance.BackColor = System.Drawing.Color.Black;
            m_backstageViewControl.Appearance.BackColor2 = System.Drawing.Color.Black;
            m_backstageViewControl.Appearance.BorderColor = System.Drawing.Color.Black;
            m_backstageViewControl.Appearance.Options.UseBackColor = true;
            m_backstageViewControl.Appearance.Options.UseBorderColor = true;
            m_backstageViewControl.ColorScheme = DevExpress.XtraBars.Ribbon.RibbonControlColorScheme.Yellow;
            m_backstageViewControl.Controls.Add(m_backstageViewClientControl);
            m_backstageViewControl.Items.Add(m_backstageViewButtonNewCase);
            m_backstageViewControl.Items.Add(m_backstageViewButtonOpenCase);
            m_backstageViewControl.Items.Add(m_backstageViewTabSaveCase);
            m_backstageViewControl.Items.Add(m_backstageViewButtonSettings);
            m_backstageViewControl.Items.Add(m_backstageViewItemSeparator);
            m_backstageViewControl.Items.Add(m_backstageViewButtonDeleteCurrentCase);
            m_backstageViewControl.Items.Add(m_backstageViewButtonExit);
            m_backstageViewControl.Location = new System.Drawing.Point(267, 150);
            m_backstageViewControl.Name = "backstageViewControl";
            m_backstageViewControl.Ribbon = ribbonControl;
            m_backstageViewControl.SelectedTab = m_backstageViewTabSaveCase;
            m_backstageViewControl.SelectedTabIndex = 2;
            m_backstageViewControl.Size = new System.Drawing.Size(759, 377);
            m_backstageViewControl.Style = DevExpress.XtraBars.Ribbon.BackstageViewStyle.Office2013;
            m_backstageViewControl.TabIndex = 5;
            m_backstageViewControl.Text = "backstageViewControl1";
            //
            // backstageViewClientControl
            //
            m_backstageViewClientControl.Controls.Add(m_TabSaveButtonSave);
            m_backstageViewClientControl.Controls.Add(m_TabSaveButtonSaveAs);
            m_backstageViewClientControl.Controls.Add(m_TabSaveXtraUserControl);
            m_backstageViewClientControl.Location = new System.Drawing.Point(163, 63);
            m_backstageViewClientControl.Name = "backstageViewClientControl1";
            m_backstageViewClientControl.Size = new System.Drawing.Size(595, 313);
            m_backstageViewClientControl.TabIndex = 0;
            //
            // simpleButtonSave
            //
            m_TabSaveButtonSave.Image = global::CloudTask_GUI.Properties.Resources.save_32x32;
            m_TabSaveButtonSave.Location = new System.Drawing.Point(17, 94);
            m_TabSaveButtonSave.Name = "simpleButtonSave";
            m_TabSaveButtonSave.Size = new System.Drawing.Size(107, 37);
            m_TabSaveButtonSave.TabIndex = 2;
            m_TabSaveButtonSave.Text = "Save";
            //
            // simpleButtonSaveAs
            //
            m_TabSaveButtonSaveAs.Image = global::CloudTask_GUI.Properties.Resources.saveandnew_32x32;
            m_TabSaveButtonSaveAs.Location = new System.Drawing.Point(17, 51);
            m_TabSaveButtonSaveAs.Name = "simpleButtonSaveAs";
            m_TabSaveButtonSaveAs.Size = new System.Drawing.Size(107, 37);
            m_TabSaveButtonSaveAs.TabIndex = 1;
            m_TabSaveButtonSaveAs.Text = "Save as";
            //
            // xtraUserControl2
            //
            m_TabSaveXtraUserControl.Dock = System.Windows.Forms.DockStyle.Fill;
            m_TabSaveXtraUserControl.Location = new System.Drawing.Point(0, 0);
            m_TabSaveXtraUserControl.Name = "xtraUserControl2";
            m_TabSaveXtraUserControl.Size = new System.Drawing.Size(595, 313);
            m_TabSaveXtraUserControl.TabIndex = 0;
            //
            // backstageViewButtonNewCase
            //
            m_backstageViewButtonNewCase.Caption = "New Case";
            m_backstageViewButtonNewCase.Glyph = global::CloudTask_GUI.Properties.Resources.project_32x32;
            m_backstageViewButtonNewCase.Name = "backstageViewButtonNewCase";
            //
            // backstageViewButtonOpenCase
            //
            m_backstageViewButtonOpenCase.Caption = "Open Case";
            m_backstageViewButtonOpenCase.Glyph = global::CloudTask_GUI.Properties.Resources.loadfrom_32x32;
            m_backstageViewButtonOpenCase.Name = "backstageViewButtonOpenCase";
            //
            // backstageViewTabSaveCase
            //
            m_backstageViewTabSaveCase.Caption = "Save Case";
            m_backstageViewTabSaveCase.ContentControl = m_backstageViewClientControl;
            m_backstageViewTabSaveCase.Glyph = global::CloudTask_GUI.Properties.Resources.save_32x32;
            m_backstageViewTabSaveCase.Name = "backstageViewTabSaveCase";
            m_backstageViewTabSaveCase.Selected = false;
            //
            // backstageViewButtonSettings
            //
            m_backstageViewButtonSettings.Caption = "Settings";
            m_backstageViewButtonSettings.Glyph = global::CloudTask_GUI.Properties.Resources.technology_32x32;
            m_backstageViewButtonSettings.Name = "backstageViewButtonSettings";
            m_backstageViewButtonSettings.Visible = false;
            //
            // backstageViewItemSeparator1
            //
            m_backstageViewItemSeparator.Name = "backstageViewItemSeparator1";
            //
            // backstageViewButtonDeleteCurrentCase
            //
            m_backstageViewButtonDeleteCurrentCase.Caption = "Delete Current Case";
            m_backstageViewButtonDeleteCurrentCase.Glyph = global::CloudTask_GUI.Properties.Resources.clear_32x32;
            m_backstageViewButtonDeleteCurrentCase.Name = "backstageViewButtonDeleteCurrentCase";
            //
            // backstageViewButtonExit
            //
            m_backstageViewButtonExit.Caption = "Exit";
            m_backstageViewButtonExit.Glyph = global::CloudTask_GUI.Properties.Resources.bugreport_32x32;
            m_backstageViewButtonExit.Name = "backstageViewButtonExit";

            m_ribbonControl.ApplicationButtonDropDownControl = m_backstageViewControl;
            form.Controls.Add(m_backstageViewControl);
            ((System.ComponentModel.ISupportInitialize)(m_backstageViewControl)).EndInit();
            m_backstageViewControl.ResumeLayout(false);
            m_backstageViewClientControl.ResumeLayout(false);

            m_TabSaveButtonSaveAs.Click += new EventHandler(controller.CaseSaveAsClicked);
            m_TabSaveButtonSave.Click += new EventHandler(controller.CaseSaveClicked);
            m_backstageViewButtonOpenCase.ItemClick += new DevExpress.XtraBars.Ribbon.BackstageViewItemEventHandler(controller.OpenCaseClicked);
            m_backstageViewButtonNewCase.ItemClick += new DevExpress.XtraBars.Ribbon.BackstageViewItemEventHandler(controller.NewCaseClicked);
            m_backstageViewButtonDeleteCurrentCase.ItemClick += new DevExpress.XtraBars.Ribbon.BackstageViewItemEventHandler(controller.DeleteCaseClicked);
            m_backstageViewButtonExit.ItemClick += new DevExpress.XtraBars.Ribbon.BackstageViewItemEventHandler(controller.ExitClicked);
        }