public frmThongKeLPS()
 {
     InitializeComponent();
     new TPhieuThongKeFix(this, true);
     pivotGridMaster.OptionsChartDataSource.ChartDataVertical = false;
     checkListCol = AppCtrl.AddTuyBienCot(barManager1, MainBar,
         new[]{fieldKenhPhat, fieldTietMuc, fieldNoiDung,fieldTenGoc,fieldTongTap,
             fieldNuocSX, fieldNgayPhatTapDau,fieldThuPhat,
             fCodeCT ,fCategory, fHangSanXuat, fDonViCungCap,fRanking,fMoiCu,fTheLoai, fSotapNgay,fieldThongTinhThem},
             new[] { true, true, true, false, false,
                 true, true ,true,
             true,true,true,true,true,true,true,false,true});
     AppCtrl.FormatButtonTimKiem(this);
     barItemPrint = AppCtrl.InitPrintGrid(this, true);
     HelpControl.RedCheckEdit(ckcPhatChinh, ckcPhatLai, ckcTapSoKhacRong, ckctapSoRong);
     ckcPhatChinh.Checked = true;
     ckcPhatLai.Checked = true;
     ckcTapSoKhacRong.Checked = true;
     ckctapSoRong.Checked = true;
     pivotGridMaster.FieldValueDisplayText += new PivotFieldDisplayTextEventHandler(pivotGridMaster_FieldValueDisplayText);
     this.Load += new EventHandler(frmThongKeLPS_Load);
     var editor = checkListCol.CreateEditor();
 }
Beispiel #2
0
        //-----------------------------------------------------------------------------------------------------------------------------------------//

        private void SetDefaultLook(DevExpress.XtraBars.BarButtonItem p_MenuItem)
        {
            // Add Check to ViewMenuItems
            foreach (Object Item in barMenu.Manager.Items)
            {
                // Check Item
                if (Item.GetType().ToString() != "DevExpress.XtraBars.BarButtonItem")
                {
                    continue;
                }

                // Get Item
                BarButtonItem obj = (BarButtonItem)Item;

                if (obj.Name.Contains("Skin"))
                {
                    // Set Properties
                    obj.ButtonStyle = BarButtonStyle.Check;
                    obj.AllowAllUp  = true;
                    obj.GroupIndex  = 1;
                }
            }

            // Set Default LookAndFeel
            defaultLookAndFeel.LookAndFeel.SkinName = p_MenuItem.Caption;
            p_MenuItem.Down = true;
        }
        public static void SequenceFormOpen(Args _args)
        {
            //Simple form expect calss type passed in Args.ObjectParm
            _args.ParmObject = typeof(Sequence);
            SimpleForm frm = new MyEditor.SimpleForm(_args)
            {
                MdiParent = MdiParentForm, WindowState = FormWindowState.Maximized
            };

            frm.MainGridView.EnableAutoSave = true;
            var actionBtn = new DevExpress.XtraBars.BarButtonItem()
            {
                Name  = "TestSequence",
                Glyph = DevExpress.Images.ImageResourceCache.Default.GetImage("devav/actions/showproduct_16x16.png")
            };

            frm.MainBar.AddItem(actionBtn);
            actionBtn.ItemClick += (s, e) =>
            {
                if (FormRecord.CurrentRecord != null && CoreLib.FormRecord.CurrentRecord  is Sequence)
                {
                    var line = (Sequence)FormRecord.CurrentRecord;
                    MessageBox.Show(line.NextValue(FormRecord.EffectiveDate));
                }
            };
            frm.Show();
        }
        /// <summary>
        /// 新版绑定功能区按钮
        /// </summary>
        /// <param name="buttons"></param>
        public void RegisteButton(IList buttons)
        {
            _bar.BeginInit();
            _bar.Pages[0].Groups.Clear();
            //foreach (DevExpress.XtraBars.Ribbon.RibbonPageGroup item in _bar.Pages[0].Groups)
            //{
            //    item.ItemLinks.Clear();
            //}

            foreach (IButtonInfo bi in buttons)
            {
                //BarItem btn = bi.Button as BarItem;
                DevExpress.XtraBars.BarButtonItem btn = bi.Button as BarButtonItem;
                if (_bar.Pages[0].GetGroupByName(GetButtonGroup(btn.Name)) == null)
                {
                    DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
                    ribbonGroup.Name = GetButtonGroup(btn.Name);
                    ribbonGroup.Text = GetButtonGroup(btn.Name).Substring(3);
                    _bar.Pages[0].Groups.Add(ribbonGroup);
                }

                _bar.Pages[0].GetGroupByName(GetButtonGroup(btn.Name)).ItemLinks.Add(
                    btn,
                    _bar.Pages[0].GetGroupByName(GetButtonGroup(btn.Name)).ItemLinks.Count >= 2 ? true : false
                    );
            }
            _bar.EndInit();
        }
Beispiel #5
0
        /// <summary>
        /// 添加按钮
        /// </summary>
        /// <param name="Caption"></param>
        /// <param name="LargeGlyphName"></param>
        public BarItemLink AddBarItem(string btnName, string sCaption, Image sLargeGlyph)
        {
            ((System.ComponentModel.ISupportInitialize)(DefaultRbControl)).BeginInit();
            //按钮 baritem
            DevExpress.XtraBars.BarButtonItem bbi = getButtonItem(btnName, sCaption, sLargeGlyph);

            DefaultRbControl.Items.Add(bbi);
            var link = DefaultRbPageGroup.ItemLinks.Add(bbi);

            ((System.ComponentModel.ISupportInitialize)(DefaultRbControl)).EndInit();
            return(link);
        }
 private void cmdAdd_DownChanged(object sender, ItemClickEventArgs e)
 {
     DevExpress.XtraBars.BarButtonItem btn = (DevExpress.XtraBars.BarButtonItem)sender;
     //if (btn.Down)
     //{
     if (_BaseContent != null)
     {
         _BaseContent.isAdding = btn.Down;
         _BaseContent.AddData();
     }
     //}
 }
Beispiel #7
0
        //加载模块功能
        private void LoadModuleFunction(NavBarGroup CurrentGroup, BarSubItem CurrentBarItem, ModuleFunction fun)
        {
            if (CurrentGroup != null)
            {
                //添加功能到navBarControl1
                NavBarItem item = navBarControl1.Items.Add();
                item.Caption = fun.Caption;
                item.Tag     = fun.FunctionID;
                //item.SmallImage = FunSmallImage;
                //item.SmallImage = imageList1.Images["Forward"];
                item.SmallImage = Common.ImageLibrary.ResizeImage(fun.FormIcon, 16, 16);
                //item.SmallImage = Common.ImageLibrary.ResizeImage(fun.LoadFormEx().Icon.ToBitmap(), 16, 16);

                item.LinkClicked += item_LinkClicked;

                CurrentGroup.ItemLinks.Insert(0, item);

                if (fun.IsNew)
                {
                    item.Appearance.ForeColor = Color.FromArgb(0x99, 0x00, 0x33);
                    item.Appearance.Font      = new Font(CurrentGroup.Appearance.Font, FontStyle.Bold);
                }
            }
            if (CurrentBarItem != null)
            {
                //添加功能到bbi_Module
                var bbif = new DevExpress.XtraBars.BarButtonItem()
                {
                    Caption = fun.Caption,
                    Tag     = fun.FunctionID,
                    //Glyph = FunSmallImage
                    Glyph = imageList1.Images["Forward"]
                };
                //if (fun.IsNew)
                //{
                //    item.Appearance.ForeColor = Color.FromArgb(0x99, 0x00, 0x33);
                //    item.Appearance.Font = new Font(CurrentGroup.Appearance.Font, FontStyle.Bold);
                //}

                bbif.ItemClick += bbi_ItemClick;
                this.ribbonControl1.Items.Add(bbif);
                if (CurrentBarItem.ItemLinks.Count > 0)
                {
                    CurrentBarItem.InsertItem(CurrentBarItem.ItemLinks[0], bbif);
                }
                else
                {
                    CurrentBarItem.AddItem(bbif);
                }
            }
        }
Beispiel #8
0
        private void InitDropDownButton()
        {
            //create DropDownButton
            DropDownButton dropDownButton = CreateDropDownButton("Button created at runtime", "MyButton", DropDownButtonExample.Properties.Resources.About, this.dropDownButton1.Size);

            dropDownButton.BringToFront();

            //create menu items
            DevExpress.XtraBars.BarButtonItem item1 = CreateBarButtonItem("Item 1", "item1", 0);
            DevExpress.XtraBars.BarButtonItem item2 = CreateBarButtonItem("Item 2", "item2", 1);

            //create and assign PopupMenu
            dropDownButton.DropDownControl = CreatePopupMenu(new BarItem[] { item1, item2 }, this.barManager1, "MyPopupMenu");
        }
Beispiel #9
0
 /// <summary>
 /// SetToolbar
 /// </summary>
 /// <param name="lstFunc"></param>
 internal void SetToolbar(List <EntityFunction> lstFunc)
 {
     Viewer.rpgToolbarForm.ItemLinks.Clear();
     DevExpress.XtraBars.BarButtonItem barItem = null;
     foreach (EntityFunction code in lstFunc)
     {
         barItem            = new DevExpress.XtraBars.BarButtonItem();
         barItem.Name       = code.Funcid.ToString();//.Funccode;
         barItem.Caption    = code.Funcname;
         barItem.LargeGlyph = ToolbarItemImage(code.Funccode);
         barItem.ItemClick += new ItemClickEventHandler(bbiItem_ItemClick);
         Viewer.rpgToolbarForm.ItemLinks.Add(barItem);
     }
     Viewer.rpgToolbarForm.Visible = lstFunc.Count > 0 ? true : false;
 }
Beispiel #10
0
 public static DevExpress.XtraBars.BarSubItem AddSubMenuToMenuItem(DevExpress.XtraBars.BarSubItem menuItem, List <STModulesInfo> modules)
 {
     if (modules != null)
     {
         foreach (STModulesInfo module in modules)
         {
             DevExpress.XtraBars.BarButtonItem subItem = new DevExpress.XtraBars.BarButtonItem();
             subItem.Caption    = module.STModuleDesc;
             subItem.Tag        = module.STModuleName;
             subItem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(BarButtonItem_ItemClick);
             menuItem.AddItem(subItem);
         }
     }
     return(menuItem);
 }
        public IDictionary <BarItem, bool> SubMenuEntries(Messages messages)
        {
            var result = new SDK.Dictionary <DevExpress.XtraBars.BarItem, bool>();

            DevExpress.XtraBars.BarItem bi = new DevExpress.XtraBars.BarButtonItem();
            bi.Caption    = "Hello World 1";
            bi.ItemClick += Bi_ItemClick;
            result.Add(bi, true);

            DevExpress.XtraBars.BarItem bi2 = new DevExpress.XtraBars.BarButtonItem();
            bi2.Caption    = "Hello World 2";
            bi2.ItemClick += Bi_ItemClick;
            result.Add(bi2, false);

            return(result);
        }
Beispiel #12
0
        public RibbonControlGenerate(Form frm)
        {
            OnwerForm = frm;
            //Control
            DefaultRbControl = new DevExpress.XtraBars.Ribbon.RibbonControl();

            ((System.ComponentModel.ISupportInitialize)(DefaultRbControl)).BeginInit();
            //页  page
            DefaultRbPage = new DevExpress.XtraBars.Ribbon.RibbonPage(RibbonLoad.RibbonPageText);

            //组 关闭按钮
            var CloseRbPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup("功能");

            DefaultRbPage.Groups.Add(CloseRbPageGroup);

            //var item = AddBarItem("BarItemLinkClose", "关闭", global::GZFramework.UI.Dev.Properties.Resources.hide_32x32);
            //按钮 baritem
            DevExpress.XtraBars.BarButtonItem bbiClose = getButtonItem("BarItemLinkClose", "关闭", global::GZFramework.UI.Dev.Properties.Resources.hide_32x32);

            DefaultRbControl.Items.Add(bbiClose);
            var link = CloseRbPageGroup.ItemLinks.Add(bbiClose);

            link.Item.ItemClick += Item_ItemClick;


            DefaultRbControl.Pages.Add(DefaultRbPage);
            //组 group
            DefaultRbPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(RibbonLoad.RibbonPageGroupOptionText);
            DefaultRbPage.Groups.Add(DefaultRbPageGroup);

            //组 group
            DefaultNavRbPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(RibbonLoad.RibbonPageGroupDataNavText);
            DefaultRbPage.Groups.Add(DefaultNavRbPageGroup);


            DefaultRbControl.ShowPageHeadersMode      = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
            DefaultRbControl.ShowToolbarCustomizeItem = false;
            DefaultRbControl.ShowApplicationButton    = DevExpress.Utils.DefaultBoolean.False;
            DefaultRbControl.ToolbarLocation          = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden;
            DefaultRbControl.AutoHideEmptyItems       = true;
            DefaultRbControl.DrawGroupCaptions        = DevExpress.Utils.DefaultBoolean.False;
            frm.Controls.Add(DefaultRbControl);


            ((System.ComponentModel.ISupportInitialize)(DefaultRbControl)).EndInit();
            frm.Load += frm_Load;
        }
Beispiel #13
0
        public virtual void ActionEdit()
        {
            //if (ObjectIsEditingByOtherUser(this.Name, Toolbar.CurrentObjectID))
            //{
            //    return;
            //}

            if (Toolbar.Edit())
            {
                ParentScreen.InvalidateToolbarAfterActionEdit();
            }
            else
            {
                DevExpress.XtraBars.BarButtonItem barbtnEdit = (BarButtonItem)ParentScreen.GetToolbarButton(BaseToolbar.ToolbarButtonEdit);
                barbtnEdit.Down = false;
            }
        }
Beispiel #14
0
        private void XtraForm1_Load(object sender, EventArgs e)
        {
            Test();
            List <string> list = System.IO.Directory.GetFiles(Application.StartupPath + @"\\Demo").ToList();

            foreach (string s in list)
            {
                FileInfo info = new FileInfo(s);
                if (info.Extension.ToLower() == ".dll")
                {
                    DevExpress.XtraBars.BarButtonItem itm = new DevExpress.XtraBars.BarButtonItem(barManager1, info.Name.Replace(info.Extension, ""));
                    itm.ItemClick += Itm_ItemClick;
                    itm.Tag        = s;
                    this.bar2.AddItem(itm);
                }
            }
        }
Beispiel #15
0
 /// <summary>
 /// AddItemButton
 /// </summary>
 /// <param name="lstVo"></param>
 private void AddItemButton(List <EntitySysModule> lstVo, DevExpress.XtraBars.Ribbon.RibbonPageGroup rpg)
 {
     DevExpress.XtraBars.BarButtonItem barItem = null;
     foreach (EntitySysModule vo1 in lstVo)
     {
         barItem            = new DevExpress.XtraBars.BarButtonItem();
         barItem.Name       = vo1.OperName;
         barItem.Caption    = (vo1.FuncName.IndexOf("-") > 0 ? vo1.FuncName.Substring(vo1.FuncName.IndexOf("-") + 1) : vo1.FuncName);
         barItem.LargeGlyph = (rm.GetObject(vo1.ImageSource) as Image);
         barItem.ItemClick += new ItemClickEventHandler(bbiItemButton_ItemClick);
         rpg.ItemLinks.Add(barItem);
         //rpg.ItemLinks.Add(barItem, true);   // 加组 | 竖条
     }
     rpg.Visible = true;
     if (Viewer.ActiveMdiChild != null && rpg == Viewer.rpgToolbarForm)
     {
         Viewer.ActiveMdiChild.Tag = lstVo;
     }
 }
Beispiel #16
0
 /// <summary>
 /// Do dané grupy přidá nový button podle definice
 /// </summary>
 /// <param name="group"></param>
 /// <param name="text"></param>
 /// <param name="tooltip"></param>
 /// <param name="image"></param>
 /// <param name="style"></param>
 /// <param name="itemClick"></param>
 private void RibbonAddButton(RibbonPageGroup group, string text, string tooltip, Bitmap image, RibbonItemStyles style, DXB.ItemClickEventHandler itemClick)
 {
     DXB.BarButtonItem button = new DXB.BarButtonItem(this.Ribbon.Manager, text)
     {
         RibbonStyle = style
     };
     button.ImageOptions.Image = image;
     if (tooltip != null)
     {
         button.SuperTip = new DevExpress.Utils.SuperToolTip();
         button.SuperTip.Items.AddTitle(text);
         button.SuperTip.Items.Add(tooltip);
     }
     group.ItemLinks.Add(button);
     if (itemClick != null)
     {
         button.ItemClick += itemClick;
     }
 }
        private void pmTickers_BeforePopup(object sender, CancelEventArgs e)
        {
            TickerCollection collection = (TickerCollection)this.gridView1.GetFocusedRow();

            if (collection == null)
            {
                return;
            }


            for (int i = 0; i < collection.Count; i++)
            {
                BarButtonItemLink link = (BarButtonItemLink)this.bsStrategies.ItemLinks.FirstOrDefault(l => l.Item.Caption == collection.Tickers[i].HostName);
                if (link == null)
                {
                    BarButtonItem item = new DevExpress.XtraBars.BarButtonItem(this.ribbonControl1.Manager, collection.Tickers[i].HostName);
                    item.ItemClick += OnStrategyTickerClick;
                    link            = (BarButtonItemLink)this.bsStrategies.ItemLinks.Add(item);
                }
                link.Item.Tag = collection.Tickers[i];
            }
        }
 private void LoadGiaoDien()
 {
     try
     {
         foreach (DevExpress.Skins.SkinContainer skin in DevExpress.Skins.SkinManager.Default.Skins)
         {
             DevExpress.XtraBars.BarButtonItem item = new DevExpress.XtraBars.BarButtonItem();
             item.Caption    = skin.SkinName;
             item.Name       = "button" + skin.SkinName;
             item.ItemClick += item_ItemClick;
             // barSubItemSkin.AddItem(item);
         }
         if (ConfigurationManager.AppSettings["skin"].ToString() != "")
         {
             DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(ConfigurationManager.AppSettings["skin"].ToString());
         }
     }
     catch (Exception ex)
     {
         O2S_Common.Logging.LogSystem.Warn(ex);
     }
 }
 public void InitRibbonItems()
 {
     foreach (DevExpress.XtraBars.Ribbon.RibbonPage rp in MainRibbon.Pages)
     {
         foreach (DevExpress.XtraBars.Ribbon.RibbonPageGroup rpg in rp.Groups)
         {
             if (rpg.Tag != null)
             {
                 if (rpg.Tag.Equals(1))
                 {
                     foreach (DevExpress.XtraBars.BarButtonItemLink bLink in rpg.ItemLinks)
                     {
                         if (bLink.Item is DevExpress.XtraBars.BarButtonItem)
                         {
                             DevExpress.XtraBars.BarButtonItem btn = bLink.Item;
                             btn.ItemClick += new ItemClickEventHandler(btn_ItemClick);
                         }
                     }
                 }
             }
         }
     }
 }
        private BarButtonItem AddMenuButtonItem(BarSubItem ParentBarSubItem, string ButtonText, Keys Key)
        {
            DevExpress.XtraBars.BarButtonItem barButtonItem = new DevExpress.XtraBars.BarButtonItem();

            barButtonItem.Caption = ButtonText;

            barButtonItem.Name = "barSubItem" + ButtonText;

            if (Key != Keys.None)
                barButtonItem.ItemShortcut = new DevExpress.XtraBars.BarShortcut(Key);

            this.barManager1.Items.Add(barButtonItem);

            if (ParentBarSubItem != null)
            {
                ParentBarSubItem.LinksPersistInfo.Add(new LinkPersistInfo(barButtonItem));
            }
            else
            {
                this.barManager1.MainMenu.LinksPersistInfo.Add(new LinkPersistInfo(barButtonItem));
            }

            return barButtonItem;
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.sptPanel1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.treeCtl1 = new DevExpress.XtraTreeList.TreeList();
     this.treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn();
     this.groupPanel1 = new DevExpress.XtraEditors.GroupControl();
     this.btnSaveToSvr = new DevExpress.XtraEditors.SimpleButton();
     this.groupPanel3 = new DevExpress.XtraEditors.GroupControl();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.btnSaveMnuItem = new DevExpress.XtraEditors.SimpleButton();
     this.chkUsing = new DevExpress.XtraEditors.CheckEdit();
     this.txtmnuAsmName = new DevExpress.XtraEditors.TextEdit();
     this.txtmnuClassName = new DevExpress.XtraEditors.TextEdit();
     this.txtmnuName = new DevExpress.XtraEditors.TextEdit();
     this.groupPanel2 = new DevExpress.XtraEditors.GroupControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.btnSaveMnuGrp = new DevExpress.XtraEditors.SimpleButton();
     this.txtmnuGrp = new DevExpress.XtraEditors.TextEdit();
     this.barManager1 = new DevExpress.XtraBars.BarManager();
     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.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem1 = new DevExpress.XtraBars.BarSubItem();
     this.barBtnLogoff = new DevExpress.XtraBars.BarButtonItem();
     this.barBtnExit = new DevExpress.XtraBars.BarButtonItem();
     this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
     this.barLabel = new DevExpress.XtraBars.BarStaticItem();
     this.barSubOpt = new DevExpress.XtraBars.BarSubItem();
     this.barSkin = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem2 = new DevExpress.XtraBars.BarSubItem();
     this.barChkSys = new DevExpress.XtraBars.BarCheckItem();
     this.barChkTaobao = new DevExpress.XtraBars.BarCheckItem();
     this.barBtnSysMnu = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem3 = new DevExpress.XtraBars.BarSubItem();
     this.barBtnSysInfo = new DevExpress.XtraBars.BarButtonItem();
     this.barMnuTaobao = new DevExpress.XtraBars.BarButtonItem();
     this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem();
     this.barStaticItem3 = new DevExpress.XtraBars.BarStaticItem();
     this.barbtnMnuGrp = new DevExpress.XtraBars.BarButtonItem();
     this.barbtnMnuItem = new DevExpress.XtraBars.BarButtonItem();
     this.barbtnDel = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
     this.popMenuCtl1 = new DevExpress.XtraBars.PopupMenu();
     this.fdlg = new System.Windows.Forms.SaveFileDialog();
     ((System.ComponentModel.ISupportInitialize)(this.sptPanel1)).BeginInit();
     this.sptPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.treeCtl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupPanel1)).BeginInit();
     this.groupPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupPanel3)).BeginInit();
     this.groupPanel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chkUsing.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtmnuAsmName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtmnuClassName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtmnuName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupPanel2)).BeginInit();
     this.groupPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtmnuGrp.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popMenuCtl1)).BeginInit();
     this.SuspendLayout();
     //
     // sptPanel1
     //
     this.sptPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.sptPanel1.Location = new System.Drawing.Point(0, 0);
     this.sptPanel1.Name = "sptPanel1";
     this.sptPanel1.Panel1.Controls.Add(this.treeCtl1);
     this.sptPanel1.Panel1.Text = "Panel1";
     this.sptPanel1.Panel2.Controls.Add(this.groupPanel1);
     this.sptPanel1.Panel2.Text = "Panel2";
     this.sptPanel1.Size = new System.Drawing.Size(732, 448);
     this.sptPanel1.SplitterPosition = 214;
     this.sptPanel1.TabIndex = 0;
     this.sptPanel1.Text = "sptPanel1";
     //
     // treeCtl1
     //
     this.treeCtl1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
     this.treeListColumn1});
     this.treeCtl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeCtl1.HorzScrollVisibility = DevExpress.XtraTreeList.ScrollVisibility.Always;
     this.treeCtl1.Location = new System.Drawing.Point(0, 0);
     this.treeCtl1.Name = "treeCtl1";
     this.treeCtl1.BeginUnboundLoad();
     this.treeCtl1.AppendNode(new object[] {
     "1"}, -1);
     this.treeCtl1.AppendNode(new object[] {
     "11"}, 0);
     this.treeCtl1.AppendNode(new object[] {
     "2"}, -1);
     this.treeCtl1.AppendNode(new object[] {
     "22"}, 2);
     this.treeCtl1.AppendNode(new object[] {
     "222"}, 3);
     this.treeCtl1.AppendNode(new object[] {
     "3"}, -1);
     this.treeCtl1.EndUnboundLoad();
     this.treeCtl1.OptionsBehavior.DragNodes = true;
     this.treeCtl1.OptionsBehavior.Editable = false;
     this.treeCtl1.OptionsSelection.EnableAppearanceFocusedRow = false;
     this.treeCtl1.OptionsSelection.InvertSelection = true;
     this.treeCtl1.OptionsView.ShowColumns = false;
     this.treeCtl1.OptionsView.ShowFocusedFrame = false;
     this.treeCtl1.OptionsView.ShowHorzLines = false;
     this.treeCtl1.OptionsView.ShowIndicator = false;
     this.treeCtl1.OptionsView.ShowVertLines = false;
     this.treeCtl1.ShowButtonMode = DevExpress.XtraTreeList.ShowButtonModeEnum.ShowForFocusedRow;
     this.treeCtl1.Size = new System.Drawing.Size(214, 448);
     this.treeCtl1.TabIndex = 0;
     this.treeCtl1.TreeLineStyle = DevExpress.XtraTreeList.LineStyle.Solid;
     this.treeCtl1.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeCtl1_FocusedNodeChanged);
     this.treeCtl1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeCtl1_MouseUp);
     //
     // treeListColumn1
     //
     this.treeListColumn1.Caption = "treeListColumn1";
     this.treeListColumn1.FieldName = "treeListColumn1";
     this.treeListColumn1.MinWidth = 86;
     this.treeListColumn1.Name = "treeListColumn1";
     this.treeListColumn1.Visible = true;
     this.treeListColumn1.VisibleIndex = 0;
     this.treeListColumn1.Width = 91;
     //
     // groupPanel1
     //
     this.groupPanel1.Controls.Add(this.btnSaveToSvr);
     this.groupPanel1.Controls.Add(this.groupPanel3);
     this.groupPanel1.Controls.Add(this.groupPanel2);
     this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupPanel1.Location = new System.Drawing.Point(0, 0);
     this.groupPanel1.Name = "groupPanel1";
     this.groupPanel1.Size = new System.Drawing.Size(513, 448);
     this.groupPanel1.TabIndex = 0;
     this.groupPanel1.Text = "菜单编辑";
     //
     // btnSaveToSvr
     //
     this.btnSaveToSvr.Location = new System.Drawing.Point(14, 377);
     this.btnSaveToSvr.Name = "btnSaveToSvr";
     this.btnSaveToSvr.Size = new System.Drawing.Size(130, 23);
     this.btnSaveToSvr.TabIndex = 1;
     this.btnSaveToSvr.Text = "保存菜单至服务器";
     this.btnSaveToSvr.Click += new System.EventHandler(this.btnSaveToSvr_Click);
     //
     // groupPanel3
     //
     this.groupPanel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupPanel3.Controls.Add(this.labelControl4);
     this.groupPanel3.Controls.Add(this.labelControl3);
     this.groupPanel3.Controls.Add(this.labelControl2);
     this.groupPanel3.Controls.Add(this.btnSaveMnuItem);
     this.groupPanel3.Controls.Add(this.chkUsing);
     this.groupPanel3.Controls.Add(this.txtmnuAsmName);
     this.groupPanel3.Controls.Add(this.txtmnuClassName);
     this.groupPanel3.Controls.Add(this.txtmnuName);
     this.groupPanel3.Location = new System.Drawing.Point(14, 140);
     this.groupPanel3.Name = "groupPanel3";
     this.groupPanel3.Size = new System.Drawing.Size(487, 217);
     this.groupPanel3.TabIndex = 0;
     this.groupPanel3.Text = "菜单项";
     //
     // labelControl4
     //
     this.labelControl4.Location = new System.Drawing.Point(22, 67);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(48, 14);
     this.labelControl4.TabIndex = 6;
     this.labelControl4.Text = "主画面类";
     //
     // labelControl3
     //
     this.labelControl3.Location = new System.Drawing.Point(10, 94);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(60, 14);
     this.labelControl3.TabIndex = 5;
     this.labelControl3.Text = "程序集名称";
     //
     // labelControl2
     //
     this.labelControl2.Location = new System.Drawing.Point(10, 40);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(60, 14);
     this.labelControl2.TabIndex = 4;
     this.labelControl2.Text = "菜单项名称";
     //
     // btnSaveMnuItem
     //
     this.btnSaveMnuItem.Location = new System.Drawing.Point(7, 152);
     this.btnSaveMnuItem.Name = "btnSaveMnuItem";
     this.btnSaveMnuItem.Size = new System.Drawing.Size(75, 23);
     this.btnSaveMnuItem.TabIndex = 1;
     this.btnSaveMnuItem.Text = "保存修改";
     this.btnSaveMnuItem.Click += new System.EventHandler(this.btnSaveMnuItem_Click);
     //
     // chkUsing
     //
     this.chkUsing.EditValue = true;
     this.chkUsing.Location = new System.Drawing.Point(5, 117);
     this.chkUsing.Name = "chkUsing";
     this.chkUsing.Properties.Caption = "启用";
     this.chkUsing.Size = new System.Drawing.Size(92, 19);
     this.chkUsing.TabIndex = 3;
     //
     // txtmnuAsmName
     //
     this.txtmnuAsmName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtmnuAsmName.Location = new System.Drawing.Point(76, 91);
     this.txtmnuAsmName.Name = "txtmnuAsmName";
     this.txtmnuAsmName.Size = new System.Drawing.Size(406, 20);
     this.txtmnuAsmName.TabIndex = 2;
     //
     // txtmnuClassName
     //
     this.txtmnuClassName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtmnuClassName.Location = new System.Drawing.Point(76, 64);
     this.txtmnuClassName.Name = "txtmnuClassName";
     this.txtmnuClassName.Size = new System.Drawing.Size(406, 20);
     this.txtmnuClassName.TabIndex = 1;
     //
     // txtmnuName
     //
     this.txtmnuName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtmnuName.Location = new System.Drawing.Point(76, 37);
     this.txtmnuName.Name = "txtmnuName";
     this.txtmnuName.Size = new System.Drawing.Size(406, 20);
     this.txtmnuName.TabIndex = 0;
     //
     // groupPanel2
     //
     this.groupPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupPanel2.Controls.Add(this.labelControl1);
     this.groupPanel2.Controls.Add(this.btnSaveMnuGrp);
     this.groupPanel2.Controls.Add(this.txtmnuGrp);
     this.groupPanel2.Location = new System.Drawing.Point(14, 25);
     this.groupPanel2.Name = "groupPanel2";
     this.groupPanel2.Size = new System.Drawing.Size(487, 100);
     this.groupPanel2.TabIndex = 0;
     this.groupPanel2.Text = "菜单组";
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(10, 38);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(60, 14);
     this.labelControl1.TabIndex = 2;
     this.labelControl1.Text = "菜单组名称";
     //
     // btnSaveMnuGrp
     //
     this.btnSaveMnuGrp.Location = new System.Drawing.Point(5, 62);
     this.btnSaveMnuGrp.Name = "btnSaveMnuGrp";
     this.btnSaveMnuGrp.Size = new System.Drawing.Size(75, 23);
     this.btnSaveMnuGrp.TabIndex = 1;
     this.btnSaveMnuGrp.Text = "保存修改";
     this.btnSaveMnuGrp.Click += new System.EventHandler(this.btnSaveMnuGrp_Click);
     //
     // txtmnuGrp
     //
     this.txtmnuGrp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtmnuGrp.Location = new System.Drawing.Point(76, 35);
     this.txtmnuGrp.Name = "txtmnuGrp";
     this.txtmnuGrp.Size = new System.Drawing.Size(406, 20);
     this.txtmnuGrp.TabIndex = 0;
     //
     // barManager1
     //
     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.barButtonItem1,
     this.barSubItem1,
     this.barBtnLogoff,
     this.barBtnExit,
     this.barStaticItem1,
     this.barLabel,
     this.barSubOpt,
     this.barSubItem3,
     this.barSkin,
     this.barSubItem2,
     this.barMnuTaobao,
     this.barChkSys,
     this.barChkTaobao,
     this.barBtnSysInfo,
     this.barStaticItem2,
     this.barStaticItem3,
     this.barBtnSysMnu,
     this.barbtnMnuGrp,
     this.barbtnMnuItem,
     this.barbtnDel,
     this.barButtonItem2,
     this.barButtonItem3,
     this.barButtonItem4,
     this.barButtonItem5});
     this.barManager1.MaxItemId = 26;
     //
     // 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(732, 0);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 448);
     this.barDockControlBottom.Size = new System.Drawing.Size(732, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 0);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 448);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(732, 0);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 448);
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "txx";
     this.barButtonItem1.Id = 0;
     this.barButtonItem1.Name = "barButtonItem1";
     //
     // barSubItem1
     //
     this.barSubItem1.Caption = "系统(&S)";
     this.barSubItem1.Id = 1;
     this.barSubItem1.ImageIndex = 0;
     this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barBtnLogoff),
     new DevExpress.XtraBars.LinkPersistInfo(this.barBtnExit)});
     this.barSubItem1.Name = "barSubItem1";
     this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barBtnLogoff
     //
     this.barBtnLogoff.Caption = "注销(&L)";
     this.barBtnLogoff.Id = 2;
     this.barBtnLogoff.ImageIndex = 1;
     this.barBtnLogoff.Name = "barBtnLogoff";
     //
     // barBtnExit
     //
     this.barBtnExit.Caption = "退出(&X)";
     this.barBtnExit.Id = 3;
     this.barBtnExit.ImageIndex = 2;
     this.barBtnExit.Name = "barBtnExit";
     //
     // barStaticItem1
     //
     this.barStaticItem1.Caption = "当前登录用户:";
     this.barStaticItem1.Id = 4;
     this.barStaticItem1.Name = "barStaticItem1";
     this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barLabel
     //
     this.barLabel.Caption = " ";
     this.barLabel.Id = 5;
     this.barLabel.Name = "barLabel";
     this.barLabel.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barSubOpt
     //
     this.barSubOpt.Caption = "设置(&S)";
     this.barSubOpt.Id = 6;
     this.barSubOpt.ImageIndex = 3;
     this.barSubOpt.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barSkin),
     new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem2),
     new DevExpress.XtraBars.LinkPersistInfo(this.barBtnSysMnu)});
     this.barSubOpt.Name = "barSubOpt";
     this.barSubOpt.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barSkin
     //
     this.barSkin.Caption = "外观";
     this.barSkin.Id = 8;
     this.barSkin.ImageIndex = 4;
     this.barSkin.Name = "barSkin";
     //
     // barSubItem2
     //
     this.barSubItem2.Caption = "菜单样式";
     this.barSubItem2.Id = 10;
     this.barSubItem2.ImageIndex = 5;
     this.barSubItem2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barChkSys),
     new DevExpress.XtraBars.LinkPersistInfo(this.barChkTaobao)});
     this.barSubItem2.Name = "barSubItem2";
     this.barSubItem2.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barChkSys
     //
     this.barChkSys.Caption = "系统风格";
     this.barChkSys.Checked = true;
     this.barChkSys.Id = 13;
     this.barChkSys.Name = "barChkSys";
     //
     // barChkTaobao
     //
     this.barChkTaobao.Caption = "商家后台风格";
     this.barChkTaobao.Id = 14;
     this.barChkTaobao.Name = "barChkTaobao";
     //
     // barBtnSysMnu
     //
     this.barBtnSysMnu.Caption = "系统菜单";
     this.barBtnSysMnu.Id = 18;
     this.barBtnSysMnu.Name = "barBtnSysMnu";
     this.barBtnSysMnu.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     //
     // barSubItem3
     //
     this.barSubItem3.Caption = "帮助(&H)";
     this.barSubItem3.Id = 7;
     this.barSubItem3.ImageIndex = 6;
     this.barSubItem3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barBtnSysInfo)});
     this.barSubItem3.Name = "barSubItem3";
     this.barSubItem3.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barBtnSysInfo
     //
     this.barBtnSysInfo.Caption = "系统信息";
     this.barBtnSysInfo.Id = 15;
     this.barBtnSysInfo.Name = "barBtnSysInfo";
     //
     // barMnuTaobao
     //
     this.barMnuTaobao.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check;
     this.barMnuTaobao.Caption = "商家后台风格";
     this.barMnuTaobao.Id = 12;
     this.barMnuTaobao.Name = "barMnuTaobao";
     //
     // barStaticItem2
     //
     this.barStaticItem2.Caption = "barStaticItem2";
     this.barStaticItem2.Id = 16;
     this.barStaticItem2.Name = "barStaticItem2";
     this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barStaticItem3
     //
     this.barStaticItem3.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
     this.barStaticItem3.Caption = "SvrTime";
     this.barStaticItem3.Id = 17;
     this.barStaticItem3.Name = "barStaticItem3";
     this.barStaticItem3.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // barbtnMnuGrp
     //
     this.barbtnMnuGrp.Caption = "添加菜单组";
     this.barbtnMnuGrp.Id = 19;
     this.barbtnMnuGrp.Name = "barbtnMnuGrp";
     this.barbtnMnuGrp.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barbtnMnuGrp_ItemClick);
     //
     // barbtnMnuItem
     //
     this.barbtnMnuItem.Caption = "添加菜单项";
     this.barbtnMnuItem.Id = 20;
     this.barbtnMnuItem.Name = "barbtnMnuItem";
     this.barbtnMnuItem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barbtnMnuItem_ItemClick);
     //
     // barbtnDel
     //
     this.barbtnDel.Caption = "删除";
     this.barbtnDel.Id = 21;
     this.barbtnDel.Name = "barbtnDel";
     this.barbtnDel.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barbtnDel_ItemClick);
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "barButtonItem2";
     this.barButtonItem2.Id = 22;
     this.barButtonItem2.Name = "barButtonItem2";
     //
     // barButtonItem3
     //
     this.barButtonItem3.Caption = "加载最新菜单";
     this.barButtonItem3.Id = 23;
     this.barButtonItem3.Name = "barButtonItem3";
     this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick);
     //
     // barButtonItem4
     //
     this.barButtonItem4.Caption = "barButtonItem4";
     this.barButtonItem4.Id = 24;
     this.barButtonItem4.Name = "barButtonItem4";
     //
     // barButtonItem5
     //
     this.barButtonItem5.Caption = "导出菜单";
     this.barButtonItem5.Id = 25;
     this.barButtonItem5.Name = "barButtonItem5";
     this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick);
     //
     // popMenuCtl1
     //
     this.popMenuCtl1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barbtnMnuGrp),
     new DevExpress.XtraBars.LinkPersistInfo(this.barbtnMnuItem),
     new DevExpress.XtraBars.LinkPersistInfo(this.barbtnDel),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem5)});
     this.popMenuCtl1.Manager = this.barManager1;
     this.popMenuCtl1.Name = "popMenuCtl1";
     //
     // fdlg
     //
     this.fdlg.Filter = "*.xml|*.xml";
     this.fdlg.Title = "菜单导出";
     //
     // MenuView
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(732, 448);
     this.Controls.Add(this.sptPanel1);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name = "MenuView";
     this.Text = "系统菜单设置";
     this.Load += new System.EventHandler(this.MenuView_Load);
     ((System.ComponentModel.ISupportInitialize)(this.sptPanel1)).EndInit();
     this.sptPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.treeCtl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupPanel1)).EndInit();
     this.groupPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupPanel3)).EndInit();
     this.groupPanel3.ResumeLayout(false);
     this.groupPanel3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chkUsing.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtmnuAsmName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtmnuClassName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtmnuName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupPanel2)).EndInit();
     this.groupPanel2.ResumeLayout(false);
     this.groupPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtmnuGrp.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popMenuCtl1)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #22
0
        void itemClickAssign(DevExpress.XtraBars.BarButtonItem button2, string formName)
        {
            //TODO - switch this to use formName not Caption
            switch (button2.Caption)
            {
            case "Hotel General Information":
                button2.ItemClick += barButtonHotelGenInfo_ItemClick;
                break;

            case "Hotel Room Categories":
                button2.ItemClick += barButtonRoomCode_ItemClick;
                break;

            case "Hotel Ratings":
                button2.ItemClick += barButtonHotelRatings_ItemClick;
                break;

            case "Hotel Type/Location":
                button2.ItemClick += barButtonHotelType_ItemClick;
                break;

            case "Hotel Chains":
                button2.ItemClick += barButtonHotelChain_ItemClick;
                break;

            case "Hotel Brands":
                button2.ItemClick += barButtonHotelBrand_ItemClick;
                break;

            case "Hotel Rate Sheet Maintenance":
                button2.ItemClick += barButtonHotelRateMaint_ItemClick;
                break;

            case "Hotel Rate Sheet Utilities":
                button2.ItemClick += barButtonHotelRateUtil_ItemClick;
                break;

            case "Package General Information":
                button2.ItemClick += barButtonPkgGenInfo_ItemClick;
                break;

            case "Package Component Maintenance":
                button2.ItemClick += barButtonPkgComp_ItemClick;
                break;

            case "Package Component Utilities":
                button2.ItemClick += barButtonPkgCompUtil_ItemClick;
                break;

            case "Package Itinerary Maintenance":
                button2.ItemClick += barButtonPkgItinMaint_ItemClick;
                break;

            case "Package Itinerary Utilities":
                button2.ItemClick += barButtonPackItinUtil_ItemClick;
                break;

            case "Package Type":
                button2.ItemClick += barButtonPackType_ItemClick;
                break;

            case "Package Rate Maintenance":
                button2.ItemClick += barButtonPkgRateMaint_ItemClick;
                break;

            case "Package Rate Utilities":
                button2.ItemClick += barButtonPackRateUtil_ItemClick;
                break;

            case "Group Rate Maintenance":
                button2.ItemClick += barButtonGroup_ItemClick;
                break;

            case "Group Rate Utilities":
                button2.ItemClick += barButtonGroupRateUtil_ItemClick;
                break;

            case "Other Services General Information":
                button2.ItemClick += barButtonOtherServ_ItemClick;
                break;

            case "Other Service Rate Maintenance":
                button2.ItemClick += barButtonOtherServMaint_ItemClick;
                break;

            case "Pickups/Dropoffs":
                button2.ItemClick += barButtonBusTable_ItemClick;
                break;

            case "Booking Combinations":
                button2.ItemClick += barButtonBookCombo_ItemClick;
                break;

            case "Service Types":
                button2.ItemClick += barButtonServType_ItemClick;
                break;

            case "Car Rental Companies":
                button2.ItemClick += barButtonCarInfo_ItemClick;
                break;

            case "Car Rental Rate Maintenance":
                button2.ItemClick += barButtonCarRateMaint_ItemClick;
                break;

            case "Car Rental Offices":
                button2.ItemClick += barButtonCarOff_ItemClick;
                break;

            case "Airlines":
                button2.ItemClick += barButtonAirlines_ItemClick;
                break;

            case "Airline Office":
                button2.ItemClick += barButtonAirOff_ItemClick;
                break;

            case "Air Segment Rate Maintenance":
                button2.ItemClick += barButtonAirSeg_ItemClick;
                break;

            case "Air Segment Rate Utilities":
                button2.ItemClick += barButtonAirSegUtil_ItemClick;
                break;

            case "Cruise Ship":
                button2.ItemClick += barButtonCruise_ItemClick_1;
                break;

            case "Cruise Rate Maintenance":
                button2.ItemClick += barButtonCruRate_ItemClick;
                break;

            case "Cruise Item":
                button2.ItemClick += barButtonCruItem_ItemClick;
                break;

            case "Cruise Rate Utilities":
                button2.ItemClick += barButtonCruRateUtil_ItemClick;
                break;

            case "Cruise Itinerary Maintenance":
                button2.ItemClick += barButtonCruItinMaint_ItemClick;
                break;

            case "Insurance Rate Maintenance":
                button2.ItemClick += barButtonInsuranRate_ItemClick;
                break;

            case "Agency General Information":
                button2.ItemClick += barButtonAgy_ItemClick;
                break;

            case "Consortium":
                button2.ItemClick += barButtonConsrt_ItemClick;
                break;

            case "Service Restriction Levels":
                button2.ItemClick += barButtonSvcLevels_ItemClick;
                break;

            case "New Service Restrictions":
                button2.ItemClick += barButtonSvcRests_ItemClick;
                break;

            case "New Commissions Maintenance":
                button2.ItemClick += barButtonComprod_ItemClick;
                break;

            case "Commission Levels":
                button2.ItemClick += barButtonCommLevel_ItemClick;
                break;

            case "Cancellation Fees":
                button2.ItemClick += barButtonCancFees_ItemClick;
                break;

            case "Company File":
                button2.ItemClick += barButtonSysfile_ItemClick;
                break;

            case "Inventory Maintenance":
                button2.ItemClick += barButtonInventMaint_ItemClick;
                break;

            case "Inventory Inquiry by Agency":
                button2.ItemClick += barButtonInvInq_ItemClick;
                break;

            case "Inventory Reconciliation":
                button2.ItemClick += barButtonInvtRec_ItemClick;
                break;

            case "Inventory Utilities":
                button2.ItemClick += barButtonInvtUtil_ItemClick;
                break;

            case "Inventory Change":
                button2.ItemClick += barButtonInvtChange_ItemClick;
                break;

            case "City Codes":
                button2.ItemClick += barButtonCityCode_ItemClick;
                break;

            case "Region":
                button2.ItemClick += barButtonRegion_ItemClick;
                break;

            case "State":
                button2.ItemClick += barButtonState_ItemClick;
                break;

            case "Country Codes":
                button2.ItemClick += barButtonCountry_ItemClick;
                break;

            case "Language Codes":
                button2.ItemClick += barButtonLanguage_ItemClick;
                break;

            case "Waypoints":
                button2.ItemClick += barButtonWaypoint_ItemClick;
                break;

            case "Airport":
                button2.ItemClick += barButtonAirport_ItemClick;
                break;

            case "Seaport":
                button2.ItemClick += barButtonSeaport_ItemClick;
                break;

            case "Bus Station":
                button2.ItemClick += barButtonBusStation_ItemClick;
                break;

            case "Train Stations":
                button2.ItemClick += barButtonTStation_ItemClick;
                break;

            case "Companies":
                button2.ItemClick += barButtonCompanies_ItemClick;
                break;

            case "Currencies":
                button2.ItemClick += barButtonCurrency_ItemClick;
                break;

            case "Meal Codes":
                button2.ItemClick += barButtonMealCode_ItemClick;
                break;

            case "Operator codes":
                button2.ItemClick += barButtonOperator_ItemClick;
                break;

            case "Payment Codes":
                button2.ItemClick += barButtonPmtCode_ItemClick;
                break;

            case "Res History Change Codes":
                button2.ItemClick += barButtonChgCodes_ItemClick;
                break;

            case "Digest Header":
                button2.ItemClick += barButtonDigHdr_ItemClick;
                break;

            case "Special Value Codes":
                button2.ItemClick += barButtonSpecValCodes_ItemClick;
                break;

            case "Custom Fields":
                button2.ItemClick += barButtonUserfields_ItemClick;
                break;

            case "Custom Lookup":
                button2.ItemClick += barButtonLookup_ItemClick;
                break;

            case "User Roles":
                button2.ItemClick += barButtonRoles_ItemClick;
                break;

            case "Report Types":
                button2.ItemClick += barButtonRptType_ItemClick_1;
                break;

            case "Amenities":
                button2.ItemClick += barButtonAmenities_ItemClick;
                break;

            case "Amenity Service Assignment":
                button2.ItemClick += barButtonAmenAssign_ItemClick;
                break;

            case "Media Information":
                button2.ItemClick += barButtonMediaInfo_ItemClick;
                break;

            case "Media Report Utilities":
                button2.ItemClick += barButtonMediaRptUtil_ItemClick;
                break;

            case "Media Reports":
                button2.ItemClick += barButtonMediaRpts_ItemClick;
                break;

            case "Menu Configuration":
                button2.ItemClick += barButtonMenuConfig_ItemClick;
                break;

            case "Menu Adjustments":
                button2.ItemClick += barButtonMenuAdjust_ItemClick;
                break;

            case "Voucher Generation":
                button2.ItemClick += barButtonVouchGen_ItemClick;
                break;

            case "Voucher Utilities":
                button2.ItemClick += barButtonVouchUtil_ItemClick;
                break;

            case "Car Rate Utilities":
                button2.ItemClick += barButtonItemCarRateCopy_ItemClick;
                break;

            case "Car Rate Copy by Region":
                button2.ItemClick += barButtonItemCarRateRegCopy_ItemClick;
                break;

            case "Other Service Rate Utilities":
                button2.ItemClick += barButtonOtherServRateUtil_ItemClick;
                break;

            case "Pickup / Dropoff Times Utilities":
                button2.ItemClick += barButtonBusTableCopy_ItemClick;
                break;

            case "Insurance Rate Utilities":
                button2.ItemClick += barButtonInsuranRateCopy_ItemClick;
                break;

            case "Cancellation Fee Utilities":
                button2.ItemClick += barButtonCancFeesCopy_ItemClick;
                break;

            case "Departments":
                button2.ItemClick += barButtonDept_ItemClick;
                break;

            case "Svc Restrictions by Agency":
                button2.ItemClick += barButtonItemSvcRestr_ItemClick;
                break;

            case "Inventory Build":
                button2.ItemClick += BarButtonItemInvBuild_ItemClick;
                break;

            case "Extranet Security":
                button2.ItemClick += BarButtonExtranetSecurity_ItemClick;
                break;

            case "Bus Routes":
                button2.ItemClick += BarButtonRouteForm_ItemClick;
                break;

            case "Related Products":
                button2.ItemClick += BarButtonRelatedProductsForm_ItemClick;
                break;

            case "Bus General Information":
                button2.ItemClick += BarButtonBusForm_ItemClick;
                break;

            case "Bus Manifest":
                button2.ItemClick += BarButtonBusAssignmentForm_ItemClick;
                break;

            case "Import Rates":
                button2.ItemClick += BarButtonMGMRatesImportForm_ItemClick;
                break;

            case "Hotel Production Report":
                button2.ItemClick += HotelProductionReportForm_ItemClick;
                break;

            case "Operations Service List":
                button2.ItemClick += OperationsServiceListForm_ItemClick;
                break;

            case "Product List":
                button2.ItemClick += ProductListForm_ItemClick;
                break;

            case "OTA Reference List":
                button2.ItemClick += OTAReferenceListForm_ItemClick;
                break;

            case "Import FareHarbor Products":
                button2.ItemClick += barButtonImportFareHarborProducts_ItemClick;
                break;
            }
            //
        }
Beispiel #23
0
        private void frmIDE_Load(object sender, EventArgs e)
        {
            //frmImage f = new frmImage();
            //f.MdiParent = this;
            //f.WindowState = FormWindowState.Maximized;
            //f.Show();

            //comprobamos si se han pasado parámetros
            if (Environment.GetCommandLineArgs().Length > 1)
            {
                tmr_ExintorPorVencer.Enabled = true;
                tmr_ExintorPorVencer.Start();
                //String[] parametros = Environment.GetCommandLineArgs();

                string srtUsuario    = Environment.GetCommandLineArgs()[1];
                string srtClave      = Environment.GetCommandLineArgs()[2];
                string srtNombre     = Environment.GetCommandLineArgs()[3];
                string srtCodUnidadP = Environment.GetCommandLineArgs()[4];
                string srtCodCentroP = Environment.GetCommandLineArgs()[5];

                //srtUsuario = parametros[0].ToString();
                //srtClave = parametros[1].ToString();
                //srtNombre = parametros[2].ToString();
                //srtCodUnidadP = parametros[3].ToString();
                //srtCodCentroP = parametros[4].ToString();

                //for (int i = 0; i < parametros.Length; i++)
                //{
                //    MessageBox.Show("Parámetro " + parametros[i]);
                //}

                Encrypt objCrypto = new Encrypt(Encrypt.CryptoProvider.Rijndael);
                objCrypto.Key = Parametros.Key;
                objCrypto.IV  = Parametros.IV;

                string    _password    = objCrypto.CifrarCadena(srtClave);
                UsuarioBE objE_Usuario = new UsuarioBL().LogOnUser(srtUsuario.Trim(), _password);
                if (objE_Usuario != null)
                {
                    UnidadMineraBE objE_UnidadMinera = null;
                    objE_UnidadMinera = new UnidadMineraBL().SeleccionaParametros(srtCodUnidadP, srtCodCentroP);
                    if (objE_UnidadMinera != null)
                    {
                        List <UsuarioUnidadMineraBE> lstUsuarioUnidadMinera = null;
                        lstUsuarioUnidadMinera = new UsuarioUnidadMineraBL().ListaEmpresaUnidadUusuario(objE_UnidadMinera.IdEmpresa, objE_UnidadMinera.IdUnidadMinera, objE_Usuario.IdUser);
                        if (lstUsuarioUnidadMinera.Count == 0)
                        {
                            XtraMessageBox.Show("El usuario no tiene permiso para ver la unidad seleccionada", "Inicio Sesión", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                            return;
                        }

                        Parametros.intPerfilId       = objE_Usuario.IdPerfil;
                        Parametros.strNomPerfil      = objE_Usuario.DescPerfil;
                        Parametros.intEmpresaId      = objE_UnidadMinera.IdEmpresa;
                        Parametros.intUnidadMineraId = objE_UnidadMinera.IdUnidadMinera;
                        Parametros.strEmpresaNombre  = objE_UnidadMinera.RazonSocial;
                        Parametros.strUnidadNombre   = objE_UnidadMinera.DescUnidadMinera;
                        Parametros.intUsuarioId      = objE_Usuario.IdUser;
                        Parametros.strUsuarioLogin   = objE_Usuario.Usuario;
                        Parametros.strUsuarioNombres = objE_Usuario.Descripcion;

                        //Obtenemos todos los permisos del usuario logueado
                        Parametros.pListaPermisoAcceso = new AccesoUsuarioBL().SeleccionaPermisoAcceso(objE_Usuario.Usuario, objE_Usuario.IdPerfil).ToList();
                    }
                }
                else
                {
                    //Crear el usuario
                    Encrypt objCryptoUsuario = new Encrypt(Encrypt.CryptoProvider.Rijndael);
                    objCryptoUsuario.Key = Parametros.Key;
                    objCryptoUsuario.IV  = Parametros.IV;
                    string Password = "";
                    Password = objCryptoUsuario.CifrarCadena(srtClave);

                    UsuarioBL objBL_Usuario = new UsuarioBL();
                    UsuarioBE objUsuario    = new UsuarioBE();

                    UnidadMineraBE objE_UnidadMinera = null;
                    objE_UnidadMinera = new UnidadMineraBL().SeleccionaParametros(srtCodUnidadP, srtCodCentroP);

                    objUsuario.IdEmpresa   = objE_UnidadMinera.IdEmpresa;
                    objUsuario.IdPerfil    = 3;
                    objUsuario.Descripcion = srtNombre;
                    objUsuario.Usuario     = srtUsuario;
                    objUsuario.Password    = Password;
                    objUsuario.FlagMaster  = false;
                    objUsuario.FlagEstado  = true;
                    objUsuario.UsuarioCrea = "master";
                    objUsuario.Maquina     = WindowsIdentity.GetCurrent().Name.ToString();
                    objUsuario.IdEmpresa   = objE_UnidadMinera.IdEmpresa;

                    //traemos los acceso del perfil de solo lectura
                    List <AccesoBE>              pListaAcceso              = new List <AccesoBE>();
                    List <AccesoUsuarioBE>       pListaAccesoUsuario       = new List <AccesoUsuarioBE>();
                    List <UsuarioUnidadMineraBE> pListaUsuarioUnidadMinera = new List <UsuarioUnidadMineraBE>();

                    pListaAcceso = new AccesoBL().SeleccionaPerfil(3);

                    foreach (AccesoBE item in pListaAcceso)
                    {
                        AccesoUsuarioBE accesousuario = null;
                        accesousuario                   = new AccesoUsuarioBE();
                        accesousuario.IdUser            = 0;
                        accesousuario.IdPerfil          = 3;
                        accesousuario.IdMenu            = item.IdMenu;
                        accesousuario.FlagLectura       = item.FlagLectura;
                        accesousuario.FlagAdicion       = item.FlagAdicion;
                        accesousuario.FlagActualizacion = item.FlagActualizacion;
                        accesousuario.FlagEliminacion   = item.FlagEliminacion;
                        accesousuario.FlagImpresion     = item.FlagImpresion;
                        accesousuario.FlagEstado        = item.FlagEstado;
                        accesousuario.TipoOper          = Convert.ToInt32(Operacion.Nuevo);
                        pListaAccesoUsuario.Add(accesousuario);
                    }

                    //Acceso de lectura a todas las unidades de la empresa
                    List <UnidadMineraBE> lstUnidadMinera = null;
                    lstUnidadMinera = new UnidadMineraBL().ListaTodosActivo(0);

                    foreach (var item in lstUnidadMinera)
                    {
                        UsuarioUnidadMineraBE objE_UsuarioUnidadMinera = null;
                        objE_UsuarioUnidadMinera = new UsuarioUnidadMineraBE();
                        objE_UsuarioUnidadMinera.IdUsuarioUnidadMinera = 0;
                        objE_UsuarioUnidadMinera.IdEmpresa             = item.IdEmpresa;
                        objE_UsuarioUnidadMinera.IdUser         = 0;
                        objE_UsuarioUnidadMinera.IdUnidadMinera = item.IdUnidadMinera;
                        objE_UsuarioUnidadMinera.FlagEstado     = true;
                        objE_UsuarioUnidadMinera.TipoOper       = Convert.ToInt32(Operacion.Nuevo);
                        pListaUsuarioUnidadMinera.Add(objE_UsuarioUnidadMinera);
                    }

                    objBL_Usuario.Inserta(objUsuario, pListaAccesoUsuario, pListaUsuarioUnidadMinera);

                    UsuarioBE objE_UsuarioLogueado = null;
                    objE_UsuarioLogueado = new UsuarioBL().SeleccionaUsuario(srtUsuario);
                    {
                        Parametros.intPerfilId       = objE_UsuarioLogueado.IdPerfil;
                        Parametros.strNomPerfil      = objE_UsuarioLogueado.DescPerfil;
                        Parametros.intEmpresaId      = objE_UnidadMinera.IdEmpresa;
                        Parametros.intUnidadMineraId = objE_UnidadMinera.IdUnidadMinera;
                        Parametros.strEmpresaNombre  = objE_UnidadMinera.RazonSocial;
                        Parametros.strUnidadNombre   = objE_UnidadMinera.DescUnidadMinera;
                        Parametros.intUsuarioId      = objE_UsuarioLogueado.IdUser;
                        Parametros.strUsuarioLogin   = objE_UsuarioLogueado.Usuario;
                        Parametros.strUsuarioNombres = objE_UsuarioLogueado.Descripcion;

                        //Obtenemos todos los permisos del usuario logueado
                        Parametros.pListaPermisoAcceso = new AccesoUsuarioBL().SeleccionaPermisoAcceso(objE_UsuarioLogueado.Usuario, objE_UsuarioLogueado.IdPerfil).ToList();
                    }
                }

                //Aqui se carga los menus del usuario en el Control Ribbon
                _ribbon = new Ribbon(this.ribbon, new AccesoUsuarioBL().SeleccionaUser(Parametros.intUsuarioId).ToList());
                _ribbon.Fill();
                _ribbon.RibbonClick += new Ribbon.delegateRibbonClick(_ribbon_RibbonClick);

                //Carga el Status Bar
                BarButtonItem stbButtonEmpresa = new DevExpress.XtraBars.BarButtonItem();
                stbButtonEmpresa.Caption = Parametros.strEmpresaNombre;

                BarButtonItem stbButtonTienda = new DevExpress.XtraBars.BarButtonItem();
                stbButtonTienda.Caption   = "  UNIDAD : " + Parametros.strUnidadNombre;
                stbButtonTienda.Alignment = BarItemLinkAlignment.Left;

                BarButtonItem stbButtonUsuario = new DevExpress.XtraBars.BarButtonItem();
                stbButtonUsuario.Caption   = "USUARIO : " + Parametros.strUsuarioNombres;
                stbButtonUsuario.Alignment = BarItemLinkAlignment.Right;

                ribbonStatusBar.ItemLinks.Add(stbButtonEmpresa);
                ribbonStatusBar.ItemLinks.Add(stbButtonTienda);
                ribbonStatusBar.ItemLinks.Add(stbButtonUsuario);

                if (Parametros.intPerfilId == 3)
                {
                    Cursor = Cursors.WaitCursor;
                    XtraForm form = new XtraForm();
                    form           = (XtraForm)System.Reflection.Assembly.GetExecutingAssembly().CreateInstance("SSOMA.Presentacion.Modulos.SSOMABase.Registros.frmRegPlanilla");
                    form.MdiParent = this;
                    form.Text      = "SSOMA-Base";
                    form.Tag       = "SSOMA.Presentacion.Modulos.SSOMABase.Registros.frmRegPlanilla";
                    form.Show();
                    Cursor = Cursors.Default;
                }
            }
            else
            {
                //MessageBox.Show("No se han pasado parámetros, sólo el de defecto: " +
                //Environment.NewLine + Environment.NewLine +
                //Environment.GetCommandLineArgs()[0], "Parámetros en C#",
                //MessageBoxButtons.OK, MessageBoxIcon.Information);

                tmr_ExintorPorVencer.Enabled = true;
                tmr_ExintorPorVencer.Start();

                //Cargamos el Login
                Application.DoEvents();
                frmLogin fLogin = new frmLogin();
                fLogin.Owner = this;
                fLogin.ShowDialog();
                if (fLogin.DialogResult == DialogResult.Yes)
                {
                    //Aqui se carga los menus del usuario en el Control Ribbon
                    _ribbon = new Ribbon(this.ribbon, new AccesoUsuarioBL().SeleccionaUser(Parametros.intUsuarioId).ToList());
                    _ribbon.Fill();
                    _ribbon.RibbonClick += new Ribbon.delegateRibbonClick(_ribbon_RibbonClick);

                    //Carga el Status Bar
                    BarButtonItem stbButtonEmpresa = new DevExpress.XtraBars.BarButtonItem();
                    stbButtonEmpresa.Caption = Parametros.strEmpresaNombre;

                    BarButtonItem stbButtonTienda = new DevExpress.XtraBars.BarButtonItem();
                    stbButtonTienda.Caption   = "  UNIDAD : " + Parametros.strUnidadNombre;
                    stbButtonTienda.Alignment = BarItemLinkAlignment.Left;

                    BarButtonItem stbButtonUsuario = new DevExpress.XtraBars.BarButtonItem();
                    stbButtonUsuario.Caption   = "USUARIO : " + Parametros.strUsuarioNombres;
                    stbButtonUsuario.Alignment = BarItemLinkAlignment.Right;

                    ribbonStatusBar.ItemLinks.Add(stbButtonEmpresa);
                    ribbonStatusBar.ItemLinks.Add(stbButtonTienda);
                    ribbonStatusBar.ItemLinks.Add(stbButtonUsuario);

                    //-------------------------------------------------------------------------------------------------------------------------------
                    fLogin.Close();
                    fLogin.Dispose();

                    //SOLAMENTE A EJECUCIÓN DE LOS ADMINISTRADORES
                    if (Parametros.intPerfilId == 1)
                    {
                        ActualizaPersonal();
                    }
                }
                else
                {
                    Application.Exit();
                };
            }
        }
Beispiel #24
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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm));
			this.barManager_Main = new DevExpress.XtraBars.BarManager();
			this.barMain = new DevExpress.XtraBars.Bar();
			this.barSubItem_System = new DevExpress.XtraBars.BarSubItem();
			this.barButtonItem_PrintSetting = new DevExpress.XtraBars.BarButtonItem();
			this.barButtonItem_Logout = new DevExpress.XtraBars.BarButtonItem();
			this.barButtonItem_Exit = new DevExpress.XtraBars.BarButtonItem();
			this.barSubItem_Tools = new DevExpress.XtraBars.BarSubItem();
			this.barButtonItem_CustomDefine = new DevExpress.XtraBars.BarButtonItem();
			this.barButtonItem_CarDataSynch = new DevExpress.XtraBars.BarButtonItem();
			this.barButtonItem_Options = new DevExpress.XtraBars.BarButtonItem();
			this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
			this.barSubItem_Windows = new DevExpress.XtraBars.BarSubItem();
			this.barButtonItem_DutyInfo = new DevExpress.XtraBars.BarButtonItem();
			this.barSubItem_Style = new DevExpress.XtraBars.BarSubItem();
			this.barButtonItem_DefaultSkin = new DevExpress.XtraBars.BarButtonItem();
			this.barButtonItem_WinXPSkin = new DevExpress.XtraBars.BarButtonItem();
			this.barButtonItem_OfficeXP = new DevExpress.XtraBars.BarButtonItem();
			this.barButtonItem_Office2000 = new DevExpress.XtraBars.BarButtonItem();
			this.barButtonItem_Office2003 = new DevExpress.XtraBars.BarButtonItem();
			this.barSubItem_Help = new DevExpress.XtraBars.BarSubItem();
			this.barButtonItem_Help = new DevExpress.XtraBars.BarButtonItem();
			this.barButtonItem_About = new DevExpress.XtraBars.BarButtonItem();
			this.barToolBar = new DevExpress.XtraBars.Bar();
			this.barStatus = new DevExpress.XtraBars.Bar();
			this.barStaticItem_Ready = new DevExpress.XtraBars.BarStaticItem();
			this.barStaticItem_SystemInfo = new DevExpress.XtraBars.BarStaticItem();
			this.barStaticItem_SystemDate = new DevExpress.XtraBars.BarStaticItem();
			this.barStaticItem_Custom = new DevExpress.XtraBars.BarStaticItem();
			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.dockManager_CurrentStuCheckInfo = new DevExpress.XtraBars.Docking.DockManager();
			this.hideContainerRight = new DevExpress.XtraBars.Docking.AutoHideContainer();
			this.currentStuCheckInfo = new DevExpress.XtraBars.Docking.DockPanel();
			this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer();
			this.imageList_ToolBarIcon = new System.Windows.Forms.ImageList(this.components);
			this.pictureBox_Border = new System.Windows.Forms.PictureBox();
			this.navBarControl_Main = new DevExpress.XtraNavBar.NavBarControl();
			this.navBarGroup_GardenInfo = new DevExpress.XtraNavBar.NavBarGroup();
			this.navBarItem_GardenInfo = new DevExpress.XtraNavBar.NavBarItem();
			this.navBarGroup_TeacherInfo = new DevExpress.XtraNavBar.NavBarGroup();
			this.navBarItem_TeaBaseInfo = new DevExpress.XtraNavBar.NavBarItem();
			this.navBarItem_TeaDutyInfo = new DevExpress.XtraNavBar.NavBarItem();
			this.navBarGroup_StudentInfo = new DevExpress.XtraNavBar.NavBarGroup();
			this.navBarItem_StuBaseInfo = new DevExpress.XtraNavBar.NavBarItem();
			this.navBarItem_StuDutyInfo = new DevExpress.XtraNavBar.NavBarItem();
			this.navBarItem_RealTimeInfo = new DevExpress.XtraNavBar.NavBarItem();
			this.navBarItem_StuHealth = new DevExpress.XtraNavBar.NavBarItem();
			this.navBarItem_StuVisit = new DevExpress.XtraNavBar.NavBarItem();
			this.navBarGroup_GardenAffair = new DevExpress.XtraNavBar.NavBarGroup();
			this.navBarItem_CardManagement = new DevExpress.XtraNavBar.NavBarItem();
			this.navBarItem_Finance = new DevExpress.XtraNavBar.NavBarItem();
			this.navBarItem_SMSInfo = new DevExpress.XtraNavBar.NavBarItem();
			this.navBarItem_AffairNotify = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem_Camera = new DevExpress.XtraNavBar.NavBarItem();
			this.splitterControlMain = new DevExpress.XtraEditors.SplitterControl();
			this.paneCaption_Title = new CPTT.WinUI.Panels.PaneCaption();
			this.pictureBox_BackLogo = new System.Windows.Forms.PictureBox();
			this.panelControl_Center = new DevExpress.XtraEditors.PanelControl();
			this.nutritionManagement1 = new CPTT.WinUI.Panels.NutritionManagement();
			this.finanManagement1 = new CPTT.WinUI.Panels.FinanManagement();
			this.realtimeInfo_Teacher1 = new CPTT.WinUI.Panels.RealtimeInfo_Teacher();
			this.smsInfo1 = new CPTT.WinUI.Panels.SmsInfo();
//			this.gardenInfo1 = new CPTT.WinUI.Panels.GardenInfo();
//			this.teacherOnDutyInfo1 = new CPTT.WinUI.Panels.TeacherOnDutyInfo();
			this.studentVisitInfo1 = new CPTT.WinUI.Panels.StudentVisitInfo();
			this.realtimeInfo1 = new CPTT.WinUI.Panels.RealtimeInfo();
			this.teacherBaseInfo1 = new CPTT.WinUI.Panels.TeacherBaseInfo();
			this.studentBaseInfo1 = new CPTT.WinUI.Panels.StudentBaseInfo();
            this.cameraPanel = new CPTT.WinUI.Panels.Camera();
			this.studentMorningCheckInfo1 = new CPTT.WinUI.Panels.StudentMorningCheckInfo();
			this.cardManagement2 = new CPTT.WinUI.Panels.CardManagement();
			this.realTimeWindows = new CPTT.WinUI.Panels.RealTimeWindows(this);
			this.transactionReminding1 = new CPTT.WinUI.Panels.TransactionReminding();
			this.notifyIcon_MainForm = new System.Windows.Forms.NotifyIcon(this.components);
			this.contextMenu_NotifyIcon = new System.Windows.Forms.ContextMenu();
			this.menuItem_ShowMainForm = new System.Windows.Forms.MenuItem();
			this.menuItem_Exit = new System.Windows.Forms.MenuItem();
			this.navBarItem_RealtimeInfo_Teacher = new DevExpress.XtraNavBar.NavBarItem();
			this.timerSynSession = new System.Timers.Timer();
			((System.ComponentModel.ISupportInitialize)(this.timerSynSession)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.barManager_Main)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dockManager_CurrentStuCheckInfo)).BeginInit();
			this.hideContainerRight.SuspendLayout();
			this.currentStuCheckInfo.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.navBarControl_Main)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.panelControl_Center)).BeginInit();
			this.panelControl_Center.SuspendLayout();
			this.SuspendLayout();
			// 
			// barManager_Main
			// 
			this.barManager_Main.AllowCustomization = false;
			this.barManager_Main.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
																				 this.barMain,
																				 this.barToolBar,
																				 this.barStatus});
			this.barManager_Main.DockControls.Add(this.barDockControlTop);
			this.barManager_Main.DockControls.Add(this.barDockControlBottom);
			this.barManager_Main.DockControls.Add(this.barDockControlLeft);
			this.barManager_Main.DockControls.Add(this.barDockControlRight);
			this.barManager_Main.DockManager = this.dockManager_CurrentStuCheckInfo;
			this.barManager_Main.Form = this;
			this.barManager_Main.Images = this.imageList_ToolBarIcon;
			this.barManager_Main.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
																					  this.barSubItem_System,
																					  this.barButtonItem_Exit,
																					  this.barSubItem_Windows,
																					  this.barSubItem_Style,
																					  this.barSubItem_Tools,
																					  this.barSubItem_Help,
																					  this.barButtonItem_Logout,
																					  this.barButtonItem_DutyInfo,
																					  this.barButtonItem_Help,
																					  this.barButtonItem_About,
																					  this.barStaticItem_SystemInfo,
																					  this.barStaticItem_SystemDate,
																					  this.barStaticItem_Custom,
																					  this.barButtonItem_CarDataSynch,
																					  this.barButtonItem_Options,
																					  this.barButtonItem_DefaultSkin,
																					  this.barButtonItem_WinXPSkin,
																					  this.barButtonItem_OfficeXP,
																					  this.barButtonItem_Office2000,
																					  this.barButtonItem_Office2003,
																					  this.barStaticItem_Ready,
																					  this.barButtonItem_CustomDefine,
																					  this.barButtonItem_PrintSetting,
																					  this.barButtonItem1});
			this.barManager_Main.LargeImages = this.imageList_ToolBarIcon;
			this.barManager_Main.MainMenu = this.barMain;
			this.barManager_Main.MaxItemId = 32;
			this.barManager_Main.StatusBar = this.barStatus;
			// 
			// barMain
			// 
			this.barMain.BarName = "主菜单";
			this.barMain.DockCol = 0;
			this.barMain.DockRow = 0;
			this.barMain.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
			this.barMain.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
																								 new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_System, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
																								 new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_Tools, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
																								 new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_Windows, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
																								 new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_Help, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)});
			this.barMain.OptionsBar.AllowQuickCustomization = false;
			this.barMain.OptionsBar.MultiLine = true;
			this.barMain.OptionsBar.UseWholeRow = true;
			this.barMain.Text = "主菜单";
			// 
			// barSubItem_System
			// 
			this.barSubItem_System.Caption = "系统(&S)";
			this.barSubItem_System.Id = 0;
			this.barSubItem_System.ImageIndex = 6;
			this.barSubItem_System.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
																										   new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_PrintSetting),
																										   new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Logout),
																										   new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Exit)});
			this.barSubItem_System.Name = "barSubItem_System";
			// 
			// barButtonItem_PrintSetting
			// 
			this.barButtonItem_PrintSetting.Caption = "打印设置";
			this.barButtonItem_PrintSetting.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_PrintSetting.Glyph")));
			this.barButtonItem_PrintSetting.Id = 29;
			this.barButtonItem_PrintSetting.Name = "barButtonItem_PrintSetting";
			this.barButtonItem_PrintSetting.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
			// 
			// barButtonItem_Logout
			// 
			this.barButtonItem_Logout.Caption = "注销(&O)";
			this.barButtonItem_Logout.Hint = "注销";
			this.barButtonItem_Logout.Id = 10;
			this.barButtonItem_Logout.ImageIndex = 7;
			this.barButtonItem_Logout.Name = "barButtonItem_Logout";
			this.barButtonItem_Logout.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Logout_ItemClick);
			// 
			// barButtonItem_Exit
			// 
			this.barButtonItem_Exit.Caption = "退出(&X)";
			this.barButtonItem_Exit.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Exit.Glyph")));
			this.barButtonItem_Exit.Id = 2;
			this.barButtonItem_Exit.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.X));
			this.barButtonItem_Exit.Name = "barButtonItem_Exit";
			this.barButtonItem_Exit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Exit_ItemClick);
			// 
			// barSubItem_Tools
			// 
			this.barSubItem_Tools.Caption = "工具(&T)";
			this.barSubItem_Tools.Glyph = ((System.Drawing.Image)(resources.GetObject("barSubItem_Tools.Glyph")));
			this.barSubItem_Tools.Id = 7;
			this.barSubItem_Tools.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
																										  new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_CustomDefine),
																										  new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_CarDataSynch),
																										  new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Options),
																										  new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)});
			this.barSubItem_Tools.Name = "barSubItem_Tools";
			// 
			// barButtonItem_CustomDefine
			// 
			this.barButtonItem_CustomDefine.Caption = "自定义信息维护(&C)";
			this.barButtonItem_CustomDefine.Hint = "自定义信息维护";
			this.barButtonItem_CustomDefine.Id = 28;
			this.barButtonItem_CustomDefine.ImageIndex = 10;
			this.barButtonItem_CustomDefine.Name = "barButtonItem_CustomDefine";
			this.barButtonItem_CustomDefine.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_CustomDefine_ItemClick);
			// 
			// barButtonItem_CarDataSynch
			// 
			this.barButtonItem_CarDataSynch.Caption = "车载机数据同步(&Y)";
			this.barButtonItem_CarDataSynch.Hint = "车载机数据同步";
			this.barButtonItem_CarDataSynch.Id = 20;
			this.barButtonItem_CarDataSynch.ImageIndex = 11;
			this.barButtonItem_CarDataSynch.Name = "barButtonItem_CarDataSynch";
			this.barButtonItem_CarDataSynch.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
			// 
			// barButtonItem_Options
			// 
			this.barButtonItem_Options.Caption = "选项(&O)";
			this.barButtonItem_Options.Id = 21;
			this.barButtonItem_Options.ImageIndex = 15;
			this.barButtonItem_Options.Name = "barButtonItem_Options";
			this.barButtonItem_Options.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Options_ItemClick);
			// 
			// barButtonItem1
			// 
			this.barButtonItem1.Caption = "硬件配置管理(&K)";
			this.barButtonItem1.Id = 31;
			this.barButtonItem1.ImageIndex = 11;
			this.barButtonItem1.Name = "barButtonItem1";
			this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
			// 
			// barSubItem_Windows
			// 
			this.barSubItem_Windows.Caption = "窗口(&W)";
			this.barSubItem_Windows.Id = 3;
			this.barSubItem_Windows.ImageIndex = 13;
			this.barSubItem_Windows.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
																											new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_DutyInfo),
																											new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem_Style)});
			this.barSubItem_Windows.Name = "barSubItem_Windows";
			// 
			// barButtonItem_DutyInfo
			// 
			this.barButtonItem_DutyInfo.Caption = "实时出勤信息窗口(&D)";
			this.barButtonItem_DutyInfo.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_DutyInfo.Glyph")));
			this.barButtonItem_DutyInfo.Hint = "实时晨检出勤窗口";
			this.barButtonItem_DutyInfo.Id = 11;
			this.barButtonItem_DutyInfo.ImageIndex = 8;
			this.barButtonItem_DutyInfo.Name = "barButtonItem_DutyInfo";
			this.barButtonItem_DutyInfo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_DutyInfo_ItemClick);
			// 
			// barSubItem_Style
			// 
			this.barSubItem_Style.Caption = "窗体风格(&S)";
			this.barSubItem_Style.Id = 6;
			this.barSubItem_Style.ImageIndex = 8;
			this.barSubItem_Style.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
																										  new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_DefaultSkin),
																										  new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_WinXPSkin),
																										  new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_OfficeXP),
																										  new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Office2000),
																										  new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Office2003)});
			this.barSubItem_Style.Name = "barSubItem_Style";
			// 
			// barButtonItem_DefaultSkin
			// 
			this.barButtonItem_DefaultSkin.Caption = "默认";
			this.barButtonItem_DefaultSkin.Id = 22;
			this.barButtonItem_DefaultSkin.Name = "barButtonItem_DefaultSkin";
			this.barButtonItem_DefaultSkin.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_DefaultSkin_ItemClick);
			// 
			// barButtonItem_WinXPSkin
			// 
			this.barButtonItem_WinXPSkin.Caption = "Windows XP";
			this.barButtonItem_WinXPSkin.Id = 23;
			this.barButtonItem_WinXPSkin.ImageIndex = 0;
			this.barButtonItem_WinXPSkin.Name = "barButtonItem_WinXPSkin";
			this.barButtonItem_WinXPSkin.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_WinXPSkin_ItemClick);
			// 
			// barButtonItem_OfficeXP
			// 
			this.barButtonItem_OfficeXP.Caption = "Office XP";
			this.barButtonItem_OfficeXP.Id = 24;
			this.barButtonItem_OfficeXP.ImageIndex = 1;
			this.barButtonItem_OfficeXP.Name = "barButtonItem_OfficeXP";
			this.barButtonItem_OfficeXP.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_OfficeXP_ItemClick);
			// 
			// barButtonItem_Office2000
			// 
			this.barButtonItem_Office2000.Caption = "Office 2000";
			this.barButtonItem_Office2000.Id = 25;
			this.barButtonItem_Office2000.ImageIndex = 2;
			this.barButtonItem_Office2000.Name = "barButtonItem_Office2000";
			this.barButtonItem_Office2000.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Office2000_ItemClick);
			// 
			// barButtonItem_Office2003
			// 
			this.barButtonItem_Office2003.Caption = "Office 2003";
			this.barButtonItem_Office2003.Id = 26;
			this.barButtonItem_Office2003.ImageIndex = 3;
			this.barButtonItem_Office2003.Name = "barButtonItem_Office2003";
			this.barButtonItem_Office2003.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Office2003_ItemClick);
			// 
			// barSubItem_Help
			// 
			this.barSubItem_Help.Caption = "帮助(&H)";
			this.barSubItem_Help.Id = 8;
			this.barSubItem_Help.ImageIndex = 4;
			this.barSubItem_Help.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
																										 new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Help),
																										 new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_About)});
			this.barSubItem_Help.Name = "barSubItem_Help";
			// 
			// barButtonItem_Help
			// 
			this.barButtonItem_Help.Caption = "系统帮助(&H)";
			this.barButtonItem_Help.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Help.Glyph")));
			this.barButtonItem_Help.Id = 12;
			this.barButtonItem_Help.Name = "barButtonItem_Help";
			this.barButtonItem_Help.ItemClick+=new ItemClickEventHandler(barButtonItem_Help_ItemClick);
			// 
			// barButtonItem_About
			// 
			this.barButtonItem_About.Caption = "关于创智智能晨检网络管理系统(&A)";
			this.barButtonItem_About.Id = 15;
			this.barButtonItem_About.ImageIndex = 9;
			this.barButtonItem_About.Name = "barButtonItem_About";
			this.barButtonItem_About.ItemClick+=new ItemClickEventHandler(barButtonItem_About_ItemClick);
			// 
			// barToolBar
			// 
			this.barToolBar.BarName = "辅助工具栏";
			this.barToolBar.DockCol = 0;
			this.barToolBar.DockRow = 1;
			this.barToolBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
			this.barToolBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
																									new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_Logout, DevExpress.XtraBars.BarItemPaintStyle.Standard),
																									new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_CustomDefine, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.Standard),
																									new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_CarDataSynch, DevExpress.XtraBars.BarItemPaintStyle.Standard),
																									new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_DutyInfo, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.Standard)});
			this.barToolBar.OptionsBar.AllowQuickCustomization = false;
			this.barToolBar.Text = "辅助工具栏";
			// 
			// barStatus
			// 
			this.barStatus.BarName = "状态栏";
			this.barStatus.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
			this.barStatus.DockCol = 0;
			this.barStatus.DockRow = 0;
			this.barStatus.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
			this.barStatus.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
																								   new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem_Ready, true),
																								   new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barStaticItem_SystemInfo, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
																								   new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem_SystemDate),
																								   new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem_Custom)});
			this.barStatus.OptionsBar.AllowQuickCustomization = false;
			this.barStatus.OptionsBar.DrawDragBorder = false;
			this.barStatus.OptionsBar.DrawSizeGrip = true;
			this.barStatus.OptionsBar.UseWholeRow = true;
			this.barStatus.Text = "状态栏";
			// 
			// barStaticItem_Ready
			// 
			this.barStaticItem_Ready.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
			this.barStaticItem_Ready.Caption = "就绪";
			this.barStaticItem_Ready.Id = 27;
			this.barStaticItem_Ready.Name = "barStaticItem_Ready";
			this.barStaticItem_Ready.TextAlignment = System.Drawing.StringAlignment.Near;
			this.barStaticItem_Ready.Width = 150;
			// 
			// barStaticItem_SystemInfo
			// 
			this.barStaticItem_SystemInfo.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
			this.barStaticItem_SystemInfo.Caption = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION;
			this.barStaticItem_SystemInfo.Id = 16;
			this.barStaticItem_SystemInfo.Name = "barStaticItem_SystemInfo";
			this.barStaticItem_SystemInfo.TextAlignment = System.Drawing.StringAlignment.Near;
			this.barStaticItem_SystemInfo.Width = 300;
			// 
			// barStaticItem_SystemDate
			// 
			this.barStaticItem_SystemDate.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
			this.barStaticItem_SystemDate.Id = 18;
			this.barStaticItem_SystemDate.Name = "barStaticItem_SystemDate";
			this.barStaticItem_SystemDate.TextAlignment = System.Drawing.StringAlignment.Center;
			this.barStaticItem_SystemDate.Width = 200;
			// 
			// barStaticItem_Custom
			// 
			this.barStaticItem_Custom.AutoSize = DevExpress.XtraBars.BarStaticItemSize.Spring;
			this.barStaticItem_Custom.Id = 19;
			this.barStaticItem_Custom.Name = "barStaticItem_Custom";
			this.barStaticItem_Custom.TextAlignment = System.Drawing.StringAlignment.Near;
			this.barStaticItem_Custom.Width = 32;
			// 
			// barDockControlTop
			// 
			this.barDockControlTop.Appearance.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
			this.barDockControlTop.Appearance.BackColor2 = System.Drawing.Color.DarkGray;
			this.barDockControlTop.Appearance.Options.UseBackColor = true;
			// 
			// dockManager_CurrentStuCheckInfo
			// 
			this.dockManager_CurrentStuCheckInfo.AutoHideContainers.AddRange(new DevExpress.XtraBars.Docking.AutoHideContainer[] {
																																	 this.hideContainerRight});
			this.dockManager_CurrentStuCheckInfo.Form = this;
			this.dockManager_CurrentStuCheckInfo.TopZIndexControls.AddRange(new string[] {
																							 "DevExpress.XtraBars.BarDockControl",
																							 "System.Windows.Forms.StatusBar"});
			// 
			// hideContainerRight
			// 
			this.hideContainerRight.Controls.Add(this.currentStuCheckInfo);
			this.hideContainerRight.Dock = System.Windows.Forms.DockStyle.Right;
			this.hideContainerRight.Location = new System.Drawing.Point(932, 52);
			this.hideContainerRight.Name = "hideContainerRight";
			this.hideContainerRight.Size = new System.Drawing.Size(20, 559);
			//
			//realTimeWindows
			//
			this.realTimeWindows.Location = new System.Drawing.Point(200,40);
			this.realTimeWindows.Name = "realTimeWindows";
			this.realTimeWindows.Size = new System.Drawing.Size(40,40);
			this.realTimeWindows.TabIndex = 4;
			this.realTimeWindows.Visible = true;
			// 
			// currentStuCheckInfo
			// 
			this.currentStuCheckInfo.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
			this.currentStuCheckInfo.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(1)), true);
			this.currentStuCheckInfo.Appearance.Options.UseBackColor = true;
			this.currentStuCheckInfo.Appearance.Options.UseFont = true;
			this.currentStuCheckInfo.BackColor = System.Drawing.Color.WhiteSmoke;
			this.currentStuCheckInfo.Controls.Add(this.dockPanel1_Container);
			this.currentStuCheckInfo.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right;
			this.currentStuCheckInfo.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Strikeout, System.Drawing.GraphicsUnit.Point, ((System.Byte)(1)), true);
			this.currentStuCheckInfo.ID = new System.Guid("51b4d356-ef66-4435-8cec-78ddcc6c1c48");
			this.currentStuCheckInfo.Location = new System.Drawing.Point(0, 0);
			this.currentStuCheckInfo.Name = "currentStuCheckInfo";
			this.currentStuCheckInfo.SavedDock = DevExpress.XtraBars.Docking.DockingStyle.Right;
			this.currentStuCheckInfo.SavedIndex = 0;
			this.currentStuCheckInfo.Size = new System.Drawing.Size(200, 566);
			this.currentStuCheckInfo.Text = "实时出勤信息  ";
			this.currentStuCheckInfo.Visibility = DevExpress.XtraBars.Docking.DockVisibility.AutoHide;
			this.currentStuCheckInfo.Controls.Add(realTimeWindows);
			this.realTimeWindows.Dock = DockStyle.Fill;
			// 
			// dockPanel1_Container
			// 
			this.dockPanel1_Container.Location = new System.Drawing.Point(4, 22);
			this.dockPanel1_Container.Name = "dockPanel1_Container";
			this.dockPanel1_Container.Size = new System.Drawing.Size(192, 540);
			this.dockPanel1_Container.TabIndex = 0;
			// 
			// imageList_ToolBarIcon
			// 
			this.imageList_ToolBarIcon.ImageSize = new System.Drawing.Size(16, 16);
			this.imageList_ToolBarIcon.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList_ToolBarIcon.ImageStream")));
			this.imageList_ToolBarIcon.TransparentColor = System.Drawing.Color.Empty;
			// 
			// pictureBox_Border
			// 
			this.pictureBox_Border.Dock = System.Windows.Forms.DockStyle.Left;
			this.pictureBox_Border.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_Border.Image")));
			this.pictureBox_Border.Location = new System.Drawing.Point(0, 52);
			this.pictureBox_Border.Name = "pictureBox_Border";
			this.pictureBox_Border.Size = new System.Drawing.Size(32, 559);
			this.pictureBox_Border.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
			this.pictureBox_Border.TabIndex = 5;
			this.pictureBox_Border.TabStop = false;
			// 
			// navBarControl_Main
			// 
			this.navBarControl_Main.ActiveGroup = this.navBarGroup_GardenInfo;
			this.navBarControl_Main.AllowDrop = true;
			this.navBarControl_Main.Appearance.GroupHeaderActive.Options.UseTextOptions = true;
			this.navBarControl_Main.Appearance.GroupHeaderActive.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.navBarControl_Main.Appearance.Item.Options.UseTextOptions = true;
			this.navBarControl_Main.Appearance.Item.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.navBarControl_Main.Appearance.ItemActive.Options.UseTextOptions = true;
			this.navBarControl_Main.Appearance.ItemActive.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.navBarControl_Main.BackColor = System.Drawing.Color.WhiteSmoke;
			this.navBarControl_Main.Dock = System.Windows.Forms.DockStyle.Left;
			this.navBarControl_Main.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] {
																								this.navBarGroup_GardenInfo,
																								this.navBarGroup_TeacherInfo,
																								this.navBarGroup_StudentInfo,
																								this.navBarGroup_GardenAffair});
			this.navBarControl_Main.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] {
																							  this.navBarItem_GardenInfo,
																							  this.navBarItem_TeaBaseInfo,
																							  this.navBarItem_StuBaseInfo,
																							  this.navBarItem_TeaDutyInfo,
																							  this.navBarItem_StuDutyInfo,
																							  this.navBarItem_StuHealth,
																							  this.navBarItem_SMSInfo,
																							  this.navBarItem_AffairNotify,
																							  this.navBarItem_Finance,
																							  this.navBarItem_CardManagement,
																							  this.navBarItem_RealTimeInfo,
																							  this.navBarItem_StuVisit,
																							  this.navBarItem_RealtimeInfo_Teacher,
                                                                                              this.navBarItem_Camera});
			this.navBarControl_Main.Location = new System.Drawing.Point(32, 52);
			this.navBarControl_Main.Name = "navBarControl_Main";
			this.navBarControl_Main.Size = new System.Drawing.Size(168, 559);
			this.navBarControl_Main.TabIndex = 6;
			this.navBarControl_Main.Text = "主导航栏";
			this.navBarControl_Main.HotTrackedLinkChanged += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarControl_Main_HotTrackedLinkChanged);
			this.navBarControl_Main.MouseLeave += new System.EventHandler(this.navBarControl_Main_MouseLeave);
			// 
			// navBarGroup_GardenInfo
			// 
			this.navBarGroup_GardenInfo.Appearance.Options.UseTextOptions = true;
			this.navBarGroup_GardenInfo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.navBarGroup_GardenInfo.AppearanceHotTracked.Options.UseTextOptions = true;
			this.navBarGroup_GardenInfo.AppearanceHotTracked.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.navBarGroup_GardenInfo.AppearancePressed.Options.UseTextOptions = true;
			this.navBarGroup_GardenInfo.AppearancePressed.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.navBarGroup_GardenInfo.Caption = "园所信息管理";
			this.navBarGroup_GardenInfo.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None;
			this.navBarGroup_GardenInfo.Expanded = true;
			this.navBarGroup_GardenInfo.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText;
			this.navBarGroup_GardenInfo.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
																										  new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_GardenInfo)});
//			this.navBarGroup_GardenInfo.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_GardenInfo.LargeImage")));
			this.navBarGroup_GardenInfo.Name = "navBarGroup_GardenInfo";
			// 
			// navBarItem_GardenInfo
			// 
			this.navBarItem_GardenInfo.Caption = "基本信息管理";
			this.navBarItem_GardenInfo.Name = "navBarItem_GardenInfo";
//			this.navBarItem_GardenInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_GardenInfo.SmallImage")));
			this.navBarItem_GardenInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_GardenInfo_LinkClicked);
			// 
			// navBarGroup_TeacherInfo
			// 
			this.navBarGroup_TeacherInfo.Appearance.Options.UseTextOptions = true;
			this.navBarGroup_TeacherInfo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.navBarGroup_TeacherInfo.Caption = "教师信息管理";
			this.navBarGroup_TeacherInfo.Expanded = true;
			this.navBarGroup_TeacherInfo.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None;
			this.navBarGroup_TeacherInfo.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText;
			this.navBarGroup_TeacherInfo.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
																										   new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_TeaBaseInfo),
																										   new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_RealtimeInfo_Teacher),
																										   new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_TeaDutyInfo)});
//			this.navBarGroup_TeacherInfo.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_TeacherInfo.LargeImage")));
			this.navBarGroup_TeacherInfo.Name = "navBarGroup_TeacherInfo";
			// 
			// navBarItem_TeaBaseInfo
			// 
			this.navBarItem_TeaBaseInfo.Caption = "基本信息管理";
			this.navBarItem_TeaBaseInfo.Name = "navBarItem_TeaBaseInfo";
//			this.navBarItem_TeaBaseInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_TeaBaseInfo.SmallImage")));
			this.navBarItem_TeaBaseInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_TeaBaseInfo_LinkClicked);
			// 
			// navBarItem_TeaDutyInfo
			// 
			this.navBarItem_TeaDutyInfo.Caption = "出勤信息管理";
			this.navBarItem_TeaDutyInfo.Name = "navBarItem_TeaDutyInfo";
//			this.navBarItem_TeaDutyInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_TeaDutyInfo.SmallImage")));
			this.navBarItem_TeaDutyInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_TeaDutyInfo_LinkClicked);
			// 
			// navBarGroup_StudentInfo
			// 
			this.navBarGroup_StudentInfo.Appearance.Options.UseTextOptions = true;
			this.navBarGroup_StudentInfo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.navBarGroup_StudentInfo.Caption = "学生信息管理";
			this.navBarGroup_StudentInfo.Expanded = true;
			this.navBarGroup_StudentInfo.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None;
			this.navBarGroup_StudentInfo.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText;
			this.navBarGroup_StudentInfo.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
																										   new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuBaseInfo),
																										   new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuDutyInfo),
																										   new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_RealTimeInfo),
																										   new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuHealth),
																										   new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuVisit)});
//			this.navBarGroup_StudentInfo.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_StudentInfo.LargeImage")));
			this.navBarGroup_StudentInfo.Name = "navBarGroup_StudentInfo";
			// 
			// navBarItem_StuBaseInfo
			// 
			this.navBarItem_StuBaseInfo.Caption = "基本信息管理";
			this.navBarItem_StuBaseInfo.Name = "navBarItem_StuBaseInfo";
//			this.navBarItem_StuBaseInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_StuBaseInfo.SmallImage")));
			this.navBarItem_StuBaseInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuBaseInfo_LinkClicked);
			// 
			// navBarItem_StuDutyInfo
			// 
			this.navBarItem_StuDutyInfo.Caption = "出勤信息管理";
			this.navBarItem_StuDutyInfo.Name = "navBarItem_StuDutyInfo";
//			this.navBarItem_StuDutyInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_StuDutyInfo.SmallImage")));
			this.navBarItem_StuDutyInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuDutyInfo_LinkClicked);
			// 
			// navBarItem_RealTimeInfo
			// 
			this.navBarItem_RealTimeInfo.Caption = "实时统计信息";
			this.navBarItem_RealTimeInfo.Name = "navBarItem_RealTimeInfo";
//			this.navBarItem_RealTimeInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_RealTimeInfo.SmallImage")));
			this.navBarItem_RealTimeInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_RealTimeInfo_LinkClicked);
			// 
			// navBarItem_StuHealth
			// 
			this.navBarItem_StuHealth.Caption = "健康保健管理";
			this.navBarItem_StuHealth.Name = "navBarItem_StuHealth";
//			this.navBarItem_StuHealth.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_StuHealth.SmallImage")));
			this.navBarItem_StuHealth.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuHealth_LinkClicked);
			// 
			// navBarItem_StuVisit
			// 
			this.navBarItem_StuVisit.Caption = "家访信息管理";
			this.navBarItem_StuVisit.Name = "navBarItem_StuVisit";
			this.navBarItem_StuVisit.Visible = false;
			this.navBarItem_StuVisit.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuVisit_LinkClicked);
			// 
			// navBarGroup_GardenAffair
			// 
			this.navBarGroup_GardenAffair.Appearance.Options.UseTextOptions = true;
			this.navBarGroup_GardenAffair.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.navBarGroup_GardenAffair.Caption = "园务辅助功能";
			this.navBarGroup_GardenAffair.Expanded = true;
			this.navBarGroup_GardenAffair.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None;
			this.navBarGroup_GardenAffair.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText;
			this.navBarGroup_GardenAffair.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
																											new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_CardManagement),
																											new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_Finance),
																											new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_SMSInfo),
																											new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_AffairNotify),
                                                                                                            new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_Camera)});
//			this.navBarGroup_GardenAffair.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_GardenAffair.LargeImage")));
			this.navBarGroup_GardenAffair.Name = "navBarGroup_GardenAffair";
			// 
			// navBarItem_CardManagement
			// 
			this.navBarItem_CardManagement.Caption = "晨检卡管理";
			this.navBarItem_CardManagement.Name = "navBarItem_CardManagement";
//			this.navBarItem_CardManagement.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_CardManagement.SmallImage")));
			this.navBarItem_CardManagement.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_CardManagement_LinkClicked);
			// 
			// navBarItem_Finance
			// 
			this.navBarItem_Finance.Caption = "财务功能";
			this.navBarItem_Finance.Name = "navBarItem_Finance";
//			this.navBarItem_Finance.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_Finance.SmallImage")));
			this.navBarItem_Finance.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_Finance_LinkClicked);
			// 
			// navBarItem_SMSInfo
			// 
			this.navBarItem_SMSInfo.Caption = "短信功能";
			this.navBarItem_SMSInfo.Name = "navBarItem_SMSInfo";
//			this.navBarItem_SMSInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_SMSInfo.SmallImage")));
			this.navBarItem_SMSInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_SMSInfo_LinkClicked);
			// 
			// navBarItem_AffairNotify
			// 
			this.navBarItem_AffairNotify.Caption = "事务提醒功能";
			this.navBarItem_AffairNotify.Name = "navBarItem_AffairNotify";
//			this.navBarItem_AffairNotify.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_AffairNotify.SmallImage")));
			this.navBarItem_AffairNotify.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_AffairNotify_LinkClicked);
            // 
            // navBarItem_Camera
            // 
            this.navBarItem_Camera.Caption = "摄像监控";
            this.navBarItem_Camera.Name = "navBarItem_Camera";
            //			this.navBarItem_AffairNotify.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_AffairNotify.SmallImage")));
            this.navBarItem_Camera.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_Camera_LinkClicked);

			// 
			// splitterControlMain
			// 
			this.splitterControlMain.Location = new System.Drawing.Point(200, 52);
			this.splitterControlMain.Name = "splitterControlMain";
			this.splitterControlMain.Size = new System.Drawing.Size(4, 559);
			this.splitterControlMain.TabIndex = 8;
			this.splitterControlMain.TabStop = false;
			// 
			// paneCaption_Title
			// 
			this.paneCaption_Title.AllowActive = false;
			this.paneCaption_Title.AntiAlias = false;
			this.paneCaption_Title.Caption = "客服电话:021-58455584  021-50879915 公司网址:www.shchuangzhi.com";
			this.paneCaption_Title.Dock = System.Windows.Forms.DockStyle.Top;
			this.paneCaption_Title.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
			this.paneCaption_Title.InactiveGradientHighColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
			this.paneCaption_Title.InactiveGradientLowColor = System.Drawing.Color.DarkGray;
			this.paneCaption_Title.Location = new System.Drawing.Point(204, 52);
			this.paneCaption_Title.Name = "paneCaption_Title";
			this.paneCaption_Title.Size = new System.Drawing.Size(728, 28);
			this.paneCaption_Title.TabIndex = 9;
			// 
			// pictureBox_BackLogo
			// 
			this.pictureBox_BackLogo.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox_BackLogo.BackgroundImage")));
			this.pictureBox_BackLogo.Dock = System.Windows.Forms.DockStyle.Fill;
			this.pictureBox_BackLogo.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_BackLogo.Image")));
			this.pictureBox_BackLogo.Location = new System.Drawing.Point(204, 80);
			this.pictureBox_BackLogo.Name = "pictureBox_BackLogo";
			this.pictureBox_BackLogo.Size = new System.Drawing.Size(728, 531);
			this.pictureBox_BackLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
			this.pictureBox_BackLogo.TabIndex = 17;
			this.pictureBox_BackLogo.TabStop = false;
			// 
			// panelControl_Center
			// 
//			this.panelControl_Center.Controls.Add(this.gardenInfo1);
//			this.panelControl_Center.Controls.Add(this.smsInfo1);
//			this.panelControl_Center.Controls.Add(this.teacherOnDutyInfo1);
//			this.panelControl_Center.Controls.Add(this.realtimeInfo_Teacher1);
//			this.panelControl_Center.Controls.Add(this.nutritionManagement1);
//			this.panelControl_Center.Controls.Add(this.finanManagement1);
//			this.panelControl_Center.Controls.Add(this.studentVisitInfo1);
//			this.panelControl_Center.Controls.Add(this.realtimeInfo1);
//			this.panelControl_Center.Controls.Add(this.teacherBaseInfo1);
//			this.panelControl_Center.Controls.Add(this.studentBaseInfo1);
//			this.panelControl_Center.Controls.Add(this.studentMorningCheckInfo1);
//			this.panelControl_Center.Controls.Add(this.cardManagement2);
//			this.panelControl_Center.Controls.Add(this.transactionReminding1);
			this.panelControl_Center.Dock = System.Windows.Forms.DockStyle.Fill;
			this.panelControl_Center.Location = new System.Drawing.Point(204, 80);
			this.panelControl_Center.Name = "panelControl_Center";
			this.panelControl_Center.Size = new System.Drawing.Size(728, 531);
			this.panelControl_Center.TabIndex = 25;
			this.panelControl_Center.Text = "panelControlCenter";
			this.panelControl_Center.Visible = false;
			//
			//gardenInfo1
			//
//			this.gardenInfo1.Location = new System.Drawing.Point(40,40);
//			this.gardenInfo1.Name = "gardenInfo1";
//			this.gardenInfo1.Size = new System.Drawing.Size(40,40);
//			this.gardenInfo1.TabIndex = 4;
//			this.gardenInfo1.Visible = false;
			//
			//teacherOnDutyInfo1
			//
//			this.teacherOnDutyInfo1.Location = new System.Drawing.Point(30,30);
//			this.teacherOnDutyInfo1.Name = "teacherOnDutyInfo1";
//			this.teacherOnDutyInfo1.Size = new System.Drawing.Size(30,30);
//			this.teacherOnDutyInfo1.TabIndex = 3;
//			this.teacherOnDutyInfo1.Visible = false;
			//
			//smsInfo1
			//
//			this.smsInfo1.Location = new System.Drawing.Point(50,50);
//			this.smsInfo1.Name = "smsInfo1";
//			this.smsInfo1.Size = new System.Drawing.Size(50,50);
//			this.smsInfo1.TabIndex = 6;
//			this.smsInfo1.Visible = false;
//			//
//			//realtimeInfo_Teacher1
//			//
//			this.realtimeInfo_Teacher1.Location = new System.Drawing.Point(60,60);
//			this.realtimeInfo_Teacher1.Name = "realtimeInfo_Teacher1";
//			this.realtimeInfo_Teacher1.Size = new System.Drawing.Size(60,60);
//			this.realtimeInfo_Teacher1.TabIndex = 12;
//			this.realtimeInfo_Teacher1.Visible = false;
//			//
//			// nutritionManagement1
//			// 
//			this.nutritionManagement1.Location = new System.Drawing.Point(232, 336);
//			this.nutritionManagement1.Name = "nutritionManagement1";
//			this.nutritionManagement1.Size = new System.Drawing.Size(144, 128);
//			this.nutritionManagement1.TabIndex = 10;
//			this.nutritionManagement1.Visible = false;
//			// 
//			// finanManagement1
//			// 
//			this.finanManagement1.Location = new System.Drawing.Point(264, 152);
//			this.finanManagement1.Name = "finanManagement1";
//			this.finanManagement1.Size = new System.Drawing.Size(88, 56);
//			this.finanManagement1.TabIndex = 9;
//			this.finanManagement1.Visible = false;
//			// 
//			// studentVisitInfo1
//			// 
//			this.studentVisitInfo1.Location = new System.Drawing.Point(48, 160);
//			this.studentVisitInfo1.Name = "studentVisitInfo1";
//			this.studentVisitInfo1.Size = new System.Drawing.Size(136, 120);
//			this.studentVisitInfo1.TabIndex = 8;
//			// 
//			// realtimeInfo1
//			// 
//			this.realtimeInfo1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
//			this.realtimeInfo1.Appearance.Options.UseBackColor = true;
//			this.realtimeInfo1.Location = new System.Drawing.Point(96, 88);
//			this.realtimeInfo1.Name = "realtimeInfo1";
//			this.realtimeInfo1.Size = new System.Drawing.Size(120, 48);
//			this.realtimeInfo1.TabIndex = 7;
//			this.realtimeInfo1.Visible = false;
//			// 
//			// teacherBaseInfo1
//			// 
//			this.teacherBaseInfo1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
//			this.teacherBaseInfo1.Appearance.Options.UseBackColor = true;
//			this.teacherBaseInfo1.Location = new System.Drawing.Point(216, 32);
//			this.teacherBaseInfo1.Name = "teacherBaseInfo1";
//			this.teacherBaseInfo1.Size = new System.Drawing.Size(136, 112);
//			this.teacherBaseInfo1.TabIndex = 1;
//			this.teacherBaseInfo1.Visible = false;
//			// 
//			// studentBaseInfo1
//			// 
//			this.studentBaseInfo1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
//			this.studentBaseInfo1.Appearance.Options.UseBackColor = true;
//			this.studentBaseInfo1.Location = new System.Drawing.Point(384, 32);
//			this.studentBaseInfo1.Name = "studentBaseInfo1";
//			this.studentBaseInfo1.Size = new System.Drawing.Size(136, 112);
//			this.studentBaseInfo1.TabIndex = 2;
//			this.studentBaseInfo1.Visible = false;
//			// 
//			// studentMorningCheckInfo1
//			// 
//			this.studentMorningCheckInfo1.BackColor = System.Drawing.Color.WhiteSmoke;
//			this.studentMorningCheckInfo1.Location = new System.Drawing.Point(48, 32);
//			this.studentMorningCheckInfo1.Name = "studentMorningCheckInfo1";
//			this.studentMorningCheckInfo1.Size = new System.Drawing.Size(136, 112);
//			this.studentMorningCheckInfo1.TabIndex = 0;
//			this.studentMorningCheckInfo1.Visible = false;
//			// 
//			// cardManagement2
//			// 
//			this.cardManagement2.Location = new System.Drawing.Point(384, 184);
//			this.cardManagement2.Name = "cardManagement2";
//			this.cardManagement2.Size = new System.Drawing.Size(136, 112);
//			this.cardManagement2.TabIndex = 5;
//			this.cardManagement2.Visible = false;
//			// 
//			// transactionReminding1
//			// 
//			this.transactionReminding1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
//			this.transactionReminding1.Appearance.Options.UseBackColor = true;
//			this.transactionReminding1.Location = new System.Drawing.Point(96, 88);
//			this.transactionReminding1.Name = "transactionReminding1";
//			this.transactionReminding1.Size = new System.Drawing.Size(120, 250);
//			this.transactionReminding1.TabIndex = 11;
//			this.transactionReminding1.Visible = false;
			// 
			// notifyIcon_MainForm
			// 
			this.notifyIcon_MainForm.ContextMenu = this.contextMenu_NotifyIcon;
			this.notifyIcon_MainForm.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon_MainForm.Icon")));
			this.notifyIcon_MainForm.Text = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION;
			this.notifyIcon_MainForm.DoubleClick += new System.EventHandler(this.notifyIcon_MainForm_DoubleClick);
			// 
			// contextMenu_NotifyIcon
			// 
			this.contextMenu_NotifyIcon.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																								   this.menuItem_ShowMainForm,
																								   this.menuItem_Exit});
			// 
			// menuItem_ShowMainForm
			// 
			this.menuItem_ShowMainForm.Index = 0;
			this.menuItem_ShowMainForm.Text = "显示主窗体";
			this.menuItem_ShowMainForm.Click += new System.EventHandler(this.menuItem1_Click);
			// 
			// menuItem_Exit
			// 
			this.menuItem_Exit.Index = 1;
			this.menuItem_Exit.Text = "退出";
			this.menuItem_Exit.Click += new System.EventHandler(this.menuItem_Exit_Click);
			// 
			// navBarItem_RealtimeInfo_Teacher
			// 
			this.navBarItem_RealtimeInfo_Teacher.Caption = "实时统计信息";
			this.navBarItem_RealtimeInfo_Teacher.Name = "navBarItem_RealtimeInfo_Teacher";
			this.navBarItem_RealtimeInfo_Teacher.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_RealtimeInfo_Teacher_LinkClicked);
			// 
			// timerSynSession
			// 
			this.timerSynSession.Enabled = true;
			this.timerSynSession.Interval = 5000;
			this.timerSynSession.SynchronizingObject = this;
			this.timerSynSession.Elapsed += new System.Timers.ElapsedEventHandler(this.timerSynSession_Elapsed);
			// 
			// MainForm
			// 
			this.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
			this.Appearance.Options.UseBackColor = true;
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
			this.ClientSize = new System.Drawing.Size(952, 629);
			this.Controls.Add(this.panelControl_Center);
			this.Controls.Add(this.pictureBox_BackLogo);
			this.Controls.Add(this.paneCaption_Title);
			this.Controls.Add(this.splitterControlMain);
			this.Controls.Add(this.navBarControl_Main);
			this.Controls.Add(this.pictureBox_Border);
			this.Controls.Add(this.hideContainerRight);
			this.Controls.Add(this.barDockControlLeft);
			this.Controls.Add(this.barDockControlRight);
			this.Controls.Add(this.barDockControlBottom);
			this.Controls.Add(this.barDockControlTop);
			this.Name = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION;
			this.Text = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION;
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon_MainForm.Icon")));
			this.Resize += new System.EventHandler(this.MainForm_Resize);
			this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing);
			this.Load += new System.EventHandler(this.MainForm_Load);
			((System.ComponentModel.ISupportInitialize)(this.timerSynSession)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.barManager_Main)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dockManager_CurrentStuCheckInfo)).EndInit();
			this.hideContainerRight.ResumeLayout(false);
			this.currentStuCheckInfo.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.navBarControl_Main)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.panelControl_Center)).EndInit();
			this.panelControl_Center.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Beispiel #25
0
 private void InitializeComponent()
 {
     this.components            = new System.ComponentModel.Container();
     this.navigationTreeList    = new DevExpress.XtraTreeList.TreeList();
     this.treeListColumn1       = new DevExpress.XtraTreeList.Columns.TreeListColumn();
     this.svgImageCollection1   = new DevExpress.Utils.SvgImageCollection(this.components);
     this.xtraTabControl1       = new DevExpress.XtraTab.XtraTabControl();
     this.LocalResourceTabPage  = new DevExpress.XtraTab.XtraTabPage();
     this.layoutControl1        = new DevExpress.XtraLayout.LayoutControl();
     this.CheckedResourceCombox = new DevExpress.XtraEditors.CheckedComboBoxEdit();
     this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem1   = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem2   = new DevExpress.XtraLayout.LayoutControlItem();
     this.DBResourceTabPage    = new DevExpress.XtraTab.XtraTabPage();
     this.WebTabPage           = new DevExpress.XtraTab.XtraTabPage();
     this.popupMenu1           = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barButtonItem1       = new DevExpress.XtraBars.BarButtonItem();
     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.barStaticItem1       = new DevExpress.XtraBars.BarStaticItem();
     ((System.ComponentModel.ISupportInitialize)(this.navigationTreeList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.svgImageCollection1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
     this.xtraTabControl1.SuspendLayout();
     this.LocalResourceTabPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CheckedResourceCombox.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     this.SuspendLayout();
     //
     // navigationTreeList
     //
     this.navigationTreeList.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.navigationTreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
         this.treeListColumn1
     });
     this.navigationTreeList.Location = new System.Drawing.Point(2, 26);
     this.navigationTreeList.Name     = "navigationTreeList";
     this.navigationTreeList.OptionsBehavior.Editable   = false;
     this.navigationTreeList.OptionsFind.AllowFindPanel = false;
     this.navigationTreeList.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.navigationTreeList.OptionsView.FocusRectStyle       = DevExpress.XtraTreeList.DrawFocusRectStyle.None;
     this.navigationTreeList.OptionsView.ShowColumns          = false;
     this.navigationTreeList.OptionsView.ShowHorzLines        = false;
     this.navigationTreeList.OptionsView.ShowIndentAsRowStyle = true;
     this.navigationTreeList.OptionsView.ShowIndicator        = false;
     this.navigationTreeList.OptionsView.ShowVertLines        = false;
     this.navigationTreeList.RowHeight       = 22;
     this.navigationTreeList.SelectImageList = this.svgImageCollection1;
     this.navigationTreeList.Size            = new System.Drawing.Size(313, 674);
     this.navigationTreeList.TabIndex        = 1;
     //
     // treeListColumn1
     //
     this.treeListColumn1.Caption      = "treeListColumn1";
     this.treeListColumn1.FieldName    = "treeListColumn1";
     this.treeListColumn1.Name         = "treeListColumn1";
     this.treeListColumn1.Visible      = true;
     this.treeListColumn1.VisibleIndex = 0;
     //
     // svgImageCollection1
     //
     this.svgImageCollection1.Add("electronics_desktopmac", "image://svgimages/icon builder/electronics_desktopmac.svg");
     //
     // xtraTabControl1
     //
     this.xtraTabControl1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.xtraTabControl1.Location        = new System.Drawing.Point(0, 0);
     this.xtraTabControl1.Name            = "xtraTabControl1";
     this.xtraTabControl1.SelectedTabPage = this.LocalResourceTabPage;
     this.xtraTabControl1.Size            = new System.Drawing.Size(323, 731);
     this.xtraTabControl1.TabIndex        = 2;
     this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
         this.LocalResourceTabPage,
         this.DBResourceTabPage,
         this.WebTabPage
     });
     //
     // LocalResourceTabPage
     //
     this.LocalResourceTabPage.Controls.Add(this.layoutControl1);
     this.LocalResourceTabPage.Name = "LocalResourceTabPage";
     this.LocalResourceTabPage.Size = new System.Drawing.Size(317, 702);
     this.LocalResourceTabPage.Text = "本地资源";
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.CheckedResourceCombox);
     this.layoutControl1.Controls.Add(this.navigationTreeList);
     this.layoutControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.Location = new System.Drawing.Point(0, 0);
     this.layoutControl1.Margin   = new System.Windows.Forms.Padding(0);
     this.layoutControl1.Name     = "layoutControl1";
     this.layoutControl1.Root     = this.Root;
     this.layoutControl1.Size     = new System.Drawing.Size(317, 702);
     this.layoutControl1.TabIndex = 3;
     this.layoutControl1.Text     = "layoutControl1";
     //
     // CheckedResourceCombox
     //
     this.CheckedResourceCombox.EditValue = "";
     this.CheckedResourceCombox.Location  = new System.Drawing.Point(2, 2);
     this.CheckedResourceCombox.Name      = "CheckedResourceCombox";
     this.CheckedResourceCombox.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.CheckedResourceCombox.Size            = new System.Drawing.Size(313, 20);
     this.CheckedResourceCombox.StyleController = this.layoutControl1;
     this.CheckedResourceCombox.TabIndex        = 2;
     //
     // Root
     //
     this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.Root.GroupBordersVisible         = false;
     this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlItem1,
         this.layoutControlItem2
     });
     this.Root.Name        = "Root";
     this.Root.Padding     = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.Root.Size        = new System.Drawing.Size(317, 702);
     this.Root.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control     = this.navigationTreeList;
     this.layoutControlItem1.Location    = new System.Drawing.Point(0, 24);
     this.layoutControlItem1.Name        = "layoutControlItem1";
     this.layoutControlItem1.Size        = new System.Drawing.Size(317, 678);
     this.layoutControlItem1.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem1.TextVisible = false;
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control               = this.CheckedResourceCombox;
     this.layoutControlItem2.Location              = new System.Drawing.Point(0, 0);
     this.layoutControlItem2.Name                  = "layoutControlItem2";
     this.layoutControlItem2.Size                  = new System.Drawing.Size(317, 24);
     this.layoutControlItem2.TextAlignMode         = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
     this.layoutControlItem2.TextSize              = new System.Drawing.Size(0, 0);
     this.layoutControlItem2.TextToControlDistance = 0;
     this.layoutControlItem2.TextVisible           = false;
     //
     // DBResourceTabPage
     //
     this.DBResourceTabPage.Name = "DBResourceTabPage";
     this.DBResourceTabPage.Size = new System.Drawing.Size(317, 702);
     this.DBResourceTabPage.Text = "数据库资源";
     //
     // WebTabPage
     //
     this.WebTabPage.Name = "WebTabPage";
     this.WebTabPage.Size = new System.Drawing.Size(317, 702);
     this.WebTabPage.Text = "Web资源";
     //
     // popupMenu1
     //
     this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1),
         new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem1)
     });
     this.popupMenu1.Manager = this.barManager1;
     this.popupMenu1.Name    = "popupMenu1";
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "barButtonItem1";
     this.barButtonItem1.Id      = 2;
     this.barButtonItem1.Name    = "barButtonItem1";
     //
     // barManager1
     //
     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.barButtonItem1,
         this.barStaticItem1
     });
     this.barManager1.MaxItemId = 4;
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock             = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location         = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Manager          = this.barManager1;
     this.barDockControlTop.Size             = new System.Drawing.Size(323, 0);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 731);
     this.barDockControlBottom.Manager          = this.barManager1;
     this.barDockControlBottom.Size             = new System.Drawing.Size(323, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock             = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location         = new System.Drawing.Point(0, 0);
     this.barDockControlLeft.Manager          = this.barManager1;
     this.barDockControlLeft.Size             = new System.Drawing.Size(0, 731);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(323, 0);
     this.barDockControlRight.Manager          = this.barManager1;
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 731);
     //
     // barStaticItem1
     //
     this.barStaticItem1.Caption = "barStaticItem1";
     this.barStaticItem1.Id      = 3;
     this.barStaticItem1.Name    = "barStaticItem1";
     //
     // ResourcePanel
     //
     this.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.Appearance.Options.UseBackColor = true;
     this.Appearance.Options.UseFont      = true;
     this.AutoScaleDimensions             = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.xtraTabControl1);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name = "ResourcePanel";
     this.Size = new System.Drawing.Size(323, 731);
     ((System.ComponentModel.ISupportInitialize)(this.navigationTreeList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.svgImageCollection1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
     this.xtraTabControl1.ResumeLayout(false);
     this.LocalResourceTabPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.CheckedResourceCombox.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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(Form1));
     this.barManager1     = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1            = new DevExpress.XtraBars.Bar();
     this.mFile           = new DevExpress.XtraBars.BarSubItem();
     this.iNew            = new DevExpress.XtraBars.BarButtonItem();
     this.iOpen           = new DevExpress.XtraBars.BarButtonItem();
     this.iClose          = new DevExpress.XtraBars.BarButtonItem();
     this.iSave           = new DevExpress.XtraBars.BarButtonItem();
     this.iSaveAs         = new DevExpress.XtraBars.BarButtonItem();
     this.iPrint          = new DevExpress.XtraBars.BarButtonItem();
     this.iExit           = new DevExpress.XtraBars.BarButtonItem();
     this.mEdit           = new DevExpress.XtraBars.BarSubItem();
     this.iUndo           = new DevExpress.XtraBars.BarButtonItem();
     this.iCut            = new DevExpress.XtraBars.BarButtonItem();
     this.iCopy           = new DevExpress.XtraBars.BarButtonItem();
     this.iPaste          = new DevExpress.XtraBars.BarButtonItem();
     this.iClear          = new DevExpress.XtraBars.BarButtonItem();
     this.iSelectAll      = new DevExpress.XtraBars.BarButtonItem();
     this.iFind           = new DevExpress.XtraBars.BarButtonItem();
     this.iReplace        = new DevExpress.XtraBars.BarButtonItem();
     this.mFormat         = new DevExpress.XtraBars.BarSubItem();
     this.iFont           = new DevExpress.XtraBars.BarButtonItem();
     this.iFontColor      = new DevExpress.XtraBars.BarButtonItem();
     this.iBullets        = new DevExpress.XtraBars.BarButtonItem();
     this.iProtected      = new DevExpress.XtraBars.BarButtonItem();
     this.iToolBars       = new DevExpress.XtraBars.BarToolbarsListItem();
     this.mHelp           = new DevExpress.XtraBars.BarSubItem();
     this.iWeb            = new DevExpress.XtraBars.BarButtonItem();
     this.iAbout          = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem1  = new DevExpress.XtraBars.BarButtonItem();
     this.bar2            = new DevExpress.XtraBars.Bar();
     this.bar3            = new DevExpress.XtraBars.Bar();
     this.iBold           = new DevExpress.XtraBars.BarButtonItem();
     this.iItalic         = new DevExpress.XtraBars.BarButtonItem();
     this.iUnderline      = new DevExpress.XtraBars.BarButtonItem();
     this.iAlignLeft      = new DevExpress.XtraBars.BarButtonItem();
     this.iCenter         = new DevExpress.XtraBars.BarButtonItem();
     this.iAlignRight     = new DevExpress.XtraBars.BarButtonItem();
     this.bar4            = new DevExpress.XtraBars.Bar();
     this.iEdit           = new DevExpress.XtraBars.BarButtonItem();
     this.bar5            = new DevExpress.XtraBars.Bar();
     this.sPosition       = new DevExpress.XtraBars.BarStaticItem();
     this.sModifier       = new DevExpress.XtraBars.BarStaticItem();
     this.sDocName        = new DevExpress.XtraBars.BarStaticItem();
     this.bar7            = new DevExpress.XtraBars.Bar();
     this.iPaintStyle     = new DevExpress.XtraBars.BarSubItem();
     this.ipsDefault      = new DevExpress.XtraBars.BarButtonItem();
     this.ipsWXP          = new DevExpress.XtraBars.BarButtonItem();
     this.ipsOXP          = new DevExpress.XtraBars.BarButtonItem();
     this.ipsO2K          = new DevExpress.XtraBars.BarButtonItem();
     this.ipsO3           = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControl1 = new DevExpress.XtraBars.BarDockControl();
     this.barDockControl2 = new DevExpress.XtraBars.BarDockControl();
     this.barDockControl3 = new DevExpress.XtraBars.BarDockControl();
     this.barDockControl4 = new DevExpress.XtraBars.BarDockControl();
     this.imageList1      = new System.Windows.Forms.ImageList(this.components);
     this.treeList1       = new DevExpress.XtraTreeList.TreeList();
     this.treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit();
     this.SuspendLayout();
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
         this.bar1,
         this.bar2,
         this.bar3,
         this.bar4,
         this.bar5,
         this.bar7
     });
     this.barManager1.Categories.AddRange(new DevExpress.XtraBars.BarManagerCategory[] {
         new DevExpress.XtraBars.BarManagerCategory("File", new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f")),
         new DevExpress.XtraBars.BarManagerCategory("Edit", new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1")),
         new DevExpress.XtraBars.BarManagerCategory("Format", new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258")),
         new DevExpress.XtraBars.BarManagerCategory("Help", new System.Guid("e07a4c24-66ac-4de6-bbcb-c0b6cfa7798b")),
         new DevExpress.XtraBars.BarManagerCategory("Popup", new System.Guid("78945463-36c5-4beb-a57f-d50b6a74e9b9")),
         new DevExpress.XtraBars.BarManagerCategory("Status", new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d")),
         new DevExpress.XtraBars.BarManagerCategory("Built-in Menus", new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9")),
         new DevExpress.XtraBars.BarManagerCategory("ToolBars", new System.Guid("3856091a-e0f6-4a7c-80e9-103dece20d5b")),
         new DevExpress.XtraBars.BarManagerCategory("PaintStyle", new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"))
     });
     this.barManager1.DockControls.Add(this.barDockControl1);
     this.barManager1.DockControls.Add(this.barDockControl2);
     this.barManager1.DockControls.Add(this.barDockControl3);
     this.barManager1.DockControls.Add(this.barDockControl4);
     this.barManager1.Form   = this;
     this.barManager1.Images = this.imageList1;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.iNew,
         this.iOpen,
         this.iClose,
         this.iSave,
         this.iSaveAs,
         this.iPrint,
         this.iExit,
         this.mFile,
         this.iUndo,
         this.iCut,
         this.iCopy,
         this.iPaste,
         this.iClear,
         this.iSelectAll,
         this.iFind,
         this.iReplace,
         this.mEdit,
         this.iFont,
         this.iBullets,
         this.iProtected,
         this.mFormat,
         this.iWeb,
         this.iAbout,
         this.mHelp,
         this.iBold,
         this.iItalic,
         this.iUnderline,
         this.iAlignLeft,
         this.iCenter,
         this.iAlignRight,
         this.iFontColor,
         this.iEdit,
         this.sPosition,
         this.sModifier,
         this.sDocName,
         this.iToolBars,
         this.iPaintStyle,
         this.ipsWXP,
         this.ipsOXP,
         this.ipsO2K,
         this.ipsO3,
         this.ipsDefault,
         this.barButtonItem1
     });
     this.barManager1.MainMenu  = this.bar1;
     this.barManager1.MaxItemId = 87;
     this.barManager1.StatusBar = this.bar5;
     //
     // bar1
     //
     this.bar1.BarName   = "MainMenu";
     this.bar1.DockCol   = 0;
     this.bar1.DockRow   = 0;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.FloatSize = new System.Drawing.Size(30, 22);
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.mFile),
         new DevExpress.XtraBars.LinkPersistInfo(this.mEdit),
         new DevExpress.XtraBars.LinkPersistInfo(this.mFormat),
         new DevExpress.XtraBars.LinkPersistInfo(this.iToolBars),
         new DevExpress.XtraBars.LinkPersistInfo(this.mHelp),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)
     });
     this.bar1.OptionsBar.DrawDragBorder = false;
     this.bar1.OptionsBar.MultiLine      = true;
     this.bar1.OptionsBar.UseWholeRow    = true;
     this.bar1.Text = "MainMenu";
     //
     // mFile
     //
     this.mFile.Caption      = "&File";
     this.mFile.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9");
     this.mFile.Id           = 7;
     this.mFile.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.iNew),
         new DevExpress.XtraBars.LinkPersistInfo(this.iOpen),
         new DevExpress.XtraBars.LinkPersistInfo(this.iClose),
         new DevExpress.XtraBars.LinkPersistInfo(this.iSave, true),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iSaveAs, "", false, false, true, 0),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iPrint, "", true, false, true, 0),
         new DevExpress.XtraBars.LinkPersistInfo(this.iExit, true)
     });
     this.mFile.MenuBarWidth = 20;
     this.mFile.Name         = "mFile";
     //
     // iNew
     //
     this.iNew.Caption      = "&New";
     this.iNew.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f");
     this.iNew.Description  = "Creates a new, blank file.";
     this.iNew.Hint         = "New Blank Document";
     this.iNew.Id           = 0;
     this.iNew.ImageIndex   = 6;
     this.iNew.Name         = "iNew";
     //
     // iOpen
     //
     this.iOpen.Caption      = "&Open...";
     this.iOpen.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f");
     this.iOpen.Description  = "Opens a file.";
     this.iOpen.Hint         = "Open";
     this.iOpen.Id           = 1;
     this.iOpen.ImageIndex   = 7;
     this.iOpen.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O));
     this.iOpen.Name         = "iOpen";
     //
     // iClose
     //
     this.iClose.Caption      = "&Close";
     this.iClose.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f");
     this.iClose.Description  = "Closes the active document.";
     this.iClose.Hint         = "Close Document";
     this.iClose.Id           = 2;
     this.iClose.ImageIndex   = 12;
     this.iClose.Name         = "iClose";
     //
     // iSave
     //
     this.iSave.Caption      = "&Save";
     this.iSave.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f");
     this.iSave.Description  = "Saves the active document with its current file name.";
     this.iSave.Hint         = "Save";
     this.iSave.Id           = 3;
     this.iSave.ImageIndex   = 10;
     this.iSave.Name         = "iSave";
     //
     // iSaveAs
     //
     this.iSaveAs.Caption      = "Save &As...";
     this.iSaveAs.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f");
     this.iSaveAs.Description  = "Saves the active document with a different file name.";
     this.iSaveAs.Id           = 4;
     this.iSaveAs.Name         = "iSaveAs";
     //
     // iPrint
     //
     this.iPrint.Caption      = "&Print";
     this.iPrint.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f");
     this.iPrint.Description  = "Prints the active document.";
     this.iPrint.Hint         = "Print";
     this.iPrint.Id           = 5;
     this.iPrint.ImageIndex   = 9;
     this.iPrint.Name         = "iPrint";
     //
     // iExit
     //
     this.iExit.Caption      = "E&xit";
     this.iExit.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f");
     this.iExit.Description  = "Closes this program after prompting you to save unsaved document.";
     this.iExit.Id           = 6;
     this.iExit.Name         = "iExit";
     //
     // mEdit
     //
     this.mEdit.Caption      = "&Edit";
     this.mEdit.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9");
     this.mEdit.Id           = 16;
     this.mEdit.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.iUndo),
         new DevExpress.XtraBars.LinkPersistInfo(this.iCut, true),
         new DevExpress.XtraBars.LinkPersistInfo(this.iCopy),
         new DevExpress.XtraBars.LinkPersistInfo(this.iPaste),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iClear, "", true, false, true, 0),
         new DevExpress.XtraBars.LinkPersistInfo(this.iSelectAll),
         new DevExpress.XtraBars.LinkPersistInfo(this.iFind, true),
         new DevExpress.XtraBars.LinkPersistInfo(this.iReplace)
     });
     this.mEdit.Name = "mEdit";
     //
     // iUndo
     //
     this.iUndo.Caption      = "&Undo";
     this.iUndo.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1");
     this.iUndo.Description  = "Reverses the last command or deletes the last entry you typed.";
     this.iUndo.Hint         = "Undo";
     this.iUndo.Id           = 8;
     this.iUndo.ImageIndex   = 11;
     this.iUndo.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z));
     this.iUndo.Name         = "iUndo";
     //
     // iCut
     //
     this.iCut.Caption      = "Cu&t";
     this.iCut.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1");
     this.iCut.Description  = "Removes the selection from the active document and places it on the Clipboard.";
     this.iCut.Hint         = "Cut";
     this.iCut.Id           = 9;
     this.iCut.ImageIndex   = 2;
     this.iCut.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X));
     this.iCut.Name         = "iCut";
     //
     // iCopy
     //
     this.iCopy.Caption      = "&Copy";
     this.iCopy.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1");
     this.iCopy.Description  = "Copies the selection to the Clipboard.";
     this.iCopy.Hint         = "Copy";
     this.iCopy.Id           = 10;
     this.iCopy.ImageIndex   = 1;
     this.iCopy.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C));
     this.iCopy.Name         = "iCopy";
     //
     // iPaste
     //
     this.iPaste.Caption      = "&Paste";
     this.iPaste.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1");
     this.iPaste.Description  = "Inserts the contents of the Clipboard at the insertion point, and replaces any se" +
                                "lection. This command is available only if you have cut or copied a text.";
     this.iPaste.Hint         = "Paste";
     this.iPaste.Id           = 11;
     this.iPaste.ImageIndex   = 8;
     this.iPaste.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V));
     this.iPaste.Name         = "iPaste";
     //
     // iClear
     //
     this.iClear.Caption      = "Cle&ar";
     this.iClear.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1");
     this.iClear.Description  = "Deletes the selected text without putting it on the Clipboard. This command is av" +
                                "ailable only if a text is selected. ";
     this.iClear.Hint       = "Clear";
     this.iClear.Id         = 12;
     this.iClear.ImageIndex = 13;
     this.iClear.Name       = "iClear";
     //
     // iSelectAll
     //
     this.iSelectAll.Caption      = "Select A&ll";
     this.iSelectAll.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1");
     this.iSelectAll.Description  = "Selects all text in the active document.";
     this.iSelectAll.Id           = 13;
     this.iSelectAll.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A));
     this.iSelectAll.Name         = "iSelectAll";
     //
     // iFind
     //
     this.iFind.Caption      = "&Find...";
     this.iFind.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1");
     this.iFind.Description  = "Searches for the specified text.";
     this.iFind.Hint         = "Find";
     this.iFind.Id           = 14;
     this.iFind.ImageIndex   = 3;
     this.iFind.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F));
     this.iFind.Name         = "iFind";
     //
     // iReplace
     //
     this.iReplace.Caption      = "R&eplace...";
     this.iReplace.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1");
     this.iReplace.Description  = "Searches for and replaces the specified text.";
     this.iReplace.Hint         = "Replace";
     this.iReplace.Id           = 15;
     this.iReplace.ImageIndex   = 14;
     this.iReplace.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H));
     this.iReplace.Name         = "iReplace";
     //
     // mFormat
     //
     this.mFormat.Caption      = "F&ormat";
     this.mFormat.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9");
     this.mFormat.Id           = 20;
     this.mFormat.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.iFont),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iFontColor, "", false, false, true, 0),
         new DevExpress.XtraBars.LinkPersistInfo(this.iBullets, true),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iProtected, "", false, false, true, 0)
     });
     this.mFormat.Name = "mFormat";
     //
     // iFont
     //
     this.iFont.Caption      = "&Font...";
     this.iFont.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258");
     this.iFont.Description  = "Changes the font and character spacing formats of the selected text.";
     this.iFont.Hint         = "Font Dialog";
     this.iFont.Id           = 17;
     this.iFont.ImageIndex   = 4;
     this.iFont.Name         = "iFont";
     //
     // iFontColor
     //
     this.iFontColor.ButtonStyle  = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.iFontColor.Caption      = "Font C&olor";
     this.iFontColor.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258");
     this.iFontColor.Description  = "Formats the selected text with the color you click.";
     this.iFontColor.Hint         = "Font Color";
     this.iFontColor.Id           = 30;
     this.iFontColor.ImageIndex   = 5;
     this.iFontColor.Name         = "iFontColor";
     //
     // iBullets
     //
     this.iBullets.ButtonStyle  = DevExpress.XtraBars.BarButtonStyle.Check;
     this.iBullets.Caption      = "&Bullets";
     this.iBullets.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258");
     this.iBullets.Description  = "Adds bullets to or removes bullets from selected paragraphs.";
     this.iBullets.Hint         = "Bullets";
     this.iBullets.Id           = 18;
     this.iBullets.ImageIndex   = 0;
     this.iBullets.Name         = "iBullets";
     //
     // iProtected
     //
     this.iProtected.ButtonStyle  = DevExpress.XtraBars.BarButtonStyle.Check;
     this.iProtected.Caption      = "P&rotected";
     this.iProtected.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258");
     this.iProtected.Description  = "Protectes the selected text.";
     this.iProtected.Id           = 19;
     this.iProtected.Name         = "iProtected";
     //
     // iToolBars
     //
     this.iToolBars.Caption      = "&ToolBars";
     this.iToolBars.CategoryGuid = new System.Guid("3856091a-e0f6-4a7c-80e9-103dece20d5b");
     this.iToolBars.Id           = 38;
     this.iToolBars.Name         = "iToolBars";
     //
     // mHelp
     //
     this.mHelp.Caption      = "&Help";
     this.mHelp.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9");
     this.mHelp.Id           = 23;
     this.mHelp.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.iWeb),
         new DevExpress.XtraBars.LinkPersistInfo(this.iAbout, true)
     });
     this.mHelp.Name = "mHelp";
     //
     // iWeb
     //
     this.iWeb.Caption      = "&Developer Express on the Web";
     this.iWeb.CategoryGuid = new System.Guid("e07a4c24-66ac-4de6-bbcb-c0b6cfa7798b");
     this.iWeb.Description  = "Opens the web page.";
     this.iWeb.Hint         = "Developer Express on the Web";
     this.iWeb.Id           = 21;
     this.iWeb.ImageIndex   = 21;
     this.iWeb.Name         = "iWeb";
     //
     // iAbout
     //
     this.iAbout.Caption      = "&About";
     this.iAbout.CategoryGuid = new System.Guid("e07a4c24-66ac-4de6-bbcb-c0b6cfa7798b");
     this.iAbout.Description  = "Displays the description of this program.";
     this.iAbout.Id           = 22;
     this.iAbout.Name         = "iAbout";
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption    = "Update Links Tree";
     this.barButtonItem1.Id         = 86;
     this.barButtonItem1.Name       = "barButtonItem1";
     this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
     //
     // bar2
     //
     this.bar2.BarName   = "Standard";
     this.bar2.DockCol   = 0;
     this.bar2.DockRow   = 1;
     this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar2.FloatSize = new System.Drawing.Size(48, 26);
     this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.iNew),
         new DevExpress.XtraBars.LinkPersistInfo(this.iOpen),
         new DevExpress.XtraBars.LinkPersistInfo(this.iSave),
         new DevExpress.XtraBars.LinkPersistInfo(this.iPrint, true),
         new DevExpress.XtraBars.LinkPersistInfo(this.iCut, true),
         new DevExpress.XtraBars.LinkPersistInfo(this.iCopy),
         new DevExpress.XtraBars.LinkPersistInfo(this.iPaste),
         new DevExpress.XtraBars.LinkPersistInfo(this.iUndo, true)
     });
     this.bar2.Text = "Standard";
     //
     // bar3
     //
     this.bar3.BarName       = "Format";
     this.bar3.DockCol       = 0;
     this.bar3.DockRow       = 2;
     this.bar3.DockStyle     = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar3.FloatLocation = new System.Drawing.Point(34, 212);
     this.bar3.FloatSize     = new System.Drawing.Size(27, 168);
     this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.iBold),
         new DevExpress.XtraBars.LinkPersistInfo(this.iItalic),
         new DevExpress.XtraBars.LinkPersistInfo(this.iUnderline),
         new DevExpress.XtraBars.LinkPersistInfo(this.iAlignLeft, true),
         new DevExpress.XtraBars.LinkPersistInfo(this.iCenter),
         new DevExpress.XtraBars.LinkPersistInfo(this.iAlignRight),
         new DevExpress.XtraBars.LinkPersistInfo(this.iBullets, true)
     });
     this.bar3.Text = "Format";
     //
     // iBold
     //
     this.iBold.ButtonStyle  = DevExpress.XtraBars.BarButtonStyle.Check;
     this.iBold.Caption      = "&Bold";
     this.iBold.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258");
     this.iBold.Description  = "Makes selected text and numbers bold. If the selection is already bold, clicking " +
                               "button removes bold formatting.";
     this.iBold.Hint         = "Bold";
     this.iBold.Id           = 24;
     this.iBold.ImageIndex   = 15;
     this.iBold.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.B));
     this.iBold.Name         = "iBold";
     //
     // iItalic
     //
     this.iItalic.ButtonStyle  = DevExpress.XtraBars.BarButtonStyle.Check;
     this.iItalic.Caption      = "&Italic";
     this.iItalic.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258");
     this.iItalic.Description  = "Makes selected text and numbers italic. If the selection is already italic, click" +
                                 "ing button removes italic formatting.";
     this.iItalic.Hint         = "Italic";
     this.iItalic.Id           = 25;
     this.iItalic.ImageIndex   = 16;
     this.iItalic.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I));
     this.iItalic.Name         = "iItalic";
     //
     // iUnderline
     //
     this.iUnderline.ButtonStyle  = DevExpress.XtraBars.BarButtonStyle.Check;
     this.iUnderline.Caption      = "&Underline";
     this.iUnderline.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258");
     this.iUnderline.Description  = "Underlines selected text and numbers. If the selection is already underlined, cli" +
                                    "cking button removes underlining.";
     this.iUnderline.Hint         = "Underline";
     this.iUnderline.Id           = 26;
     this.iUnderline.ImageIndex   = 17;
     this.iUnderline.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U));
     this.iUnderline.Name         = "iUnderline";
     //
     // iAlignLeft
     //
     this.iAlignLeft.ButtonStyle  = DevExpress.XtraBars.BarButtonStyle.Check;
     this.iAlignLeft.Caption      = "Align &Left";
     this.iAlignLeft.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258");
     this.iAlignLeft.Description  = "Aligns the selected text to the left.";
     this.iAlignLeft.GroupIndex   = 1;
     this.iAlignLeft.Hint         = "Align Left";
     this.iAlignLeft.Id           = 27;
     this.iAlignLeft.ImageIndex   = 18;
     this.iAlignLeft.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L));
     this.iAlignLeft.Name         = "iAlignLeft";
     //
     // iCenter
     //
     this.iCenter.ButtonStyle  = DevExpress.XtraBars.BarButtonStyle.Check;
     this.iCenter.Caption      = "&Center";
     this.iCenter.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258");
     this.iCenter.Description  = "Centers the selected text.";
     this.iCenter.GroupIndex   = 1;
     this.iCenter.Hint         = "Center";
     this.iCenter.Id           = 28;
     this.iCenter.ImageIndex   = 19;
     this.iCenter.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E));
     this.iCenter.Name         = "iCenter";
     //
     // iAlignRight
     //
     this.iAlignRight.ButtonStyle  = DevExpress.XtraBars.BarButtonStyle.Check;
     this.iAlignRight.Caption      = "Align &Right";
     this.iAlignRight.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258");
     this.iAlignRight.Description  = "Aligns the selected text to the right.";
     this.iAlignRight.GroupIndex   = 1;
     this.iAlignRight.Hint         = "Align Right";
     this.iAlignRight.Id           = 29;
     this.iAlignRight.ImageIndex   = 20;
     this.iAlignRight.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R));
     this.iAlignRight.Name         = "iAlignRight";
     //
     // bar4
     //
     this.bar4.BarName       = "Font";
     this.bar4.DockCol       = 0;
     this.bar4.DockRow       = 0;
     this.bar4.DockStyle     = DevExpress.XtraBars.BarDockStyle.Right;
     this.bar4.FloatLocation = new System.Drawing.Point(493, 252);
     this.bar4.FloatSize     = new System.Drawing.Size(48, 26);
     this.bar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.iFont),
         new DevExpress.XtraBars.LinkPersistInfo(this.iFontColor),
         new DevExpress.XtraBars.LinkPersistInfo(this.iEdit, true)
     });
     this.bar4.Text = "Font";
     //
     // iEdit
     //
     this.iEdit.ButtonStyle  = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.iEdit.Caption      = "&Edit...";
     this.iEdit.CategoryGuid = new System.Guid("78945463-36c5-4beb-a57f-d50b6a74e9b9");
     this.iEdit.Hint         = "Edit Menu";
     this.iEdit.Id           = 31;
     this.iEdit.ImageIndex   = 22;
     this.iEdit.Name         = "iEdit";
     //
     // bar5
     //
     this.bar5.BarName       = "StatusBar";
     this.bar5.CanDockStyle  = DevExpress.XtraBars.BarCanDockStyle.Bottom;
     this.bar5.DockCol       = 0;
     this.bar5.DockRow       = 0;
     this.bar5.DockStyle     = DevExpress.XtraBars.BarDockStyle.Bottom;
     this.bar5.FloatLocation = new System.Drawing.Point(86, 499);
     this.bar5.FloatSize     = new System.Drawing.Size(48, 26);
     this.bar5.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.sPosition),
         new DevExpress.XtraBars.LinkPersistInfo(this.sModifier),
         new DevExpress.XtraBars.LinkPersistInfo(this.sDocName)
     });
     this.bar5.OptionsBar.AllowQuickCustomization = false;
     this.bar5.OptionsBar.DrawDragBorder          = false;
     this.bar5.OptionsBar.DrawSizeGrip            = true;
     this.bar5.OptionsBar.UseWholeRow             = true;
     this.bar5.Text = "StatusBar";
     //
     // sPosition
     //
     this.sPosition.AutoSize      = DevExpress.XtraBars.BarStaticItemSize.None;
     this.sPosition.Caption       = "Position";
     this.sPosition.CategoryGuid  = new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d");
     this.sPosition.Id            = 32;
     this.sPosition.Name          = "sPosition";
     this.sPosition.RightIndent   = 2;
     this.sPosition.TextAlignment = System.Drawing.StringAlignment.Center;
     this.sPosition.Width         = 145;
     //
     // sModifier
     //
     this.sModifier.AutoSize      = DevExpress.XtraBars.BarStaticItemSize.None;
     this.sModifier.Caption       = "Modifier";
     this.sModifier.CategoryGuid  = new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d");
     this.sModifier.Id            = 33;
     this.sModifier.Name          = "sModifier";
     this.sModifier.RightIndent   = 2;
     this.sModifier.TextAlignment = System.Drawing.StringAlignment.Center;
     this.sModifier.Width         = 60;
     //
     // sDocName
     //
     this.sDocName.AutoSize      = DevExpress.XtraBars.BarStaticItemSize.Spring;
     this.sDocName.Caption       = "Name";
     this.sDocName.CategoryGuid  = new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d");
     this.sDocName.Id            = 34;
     this.sDocName.Name          = "sDocName";
     this.sDocName.TextAlignment = System.Drawing.StringAlignment.Near;
     this.sDocName.Width         = 245;
     //
     // bar7
     //
     this.bar7.BarName   = "PaintStyle";
     this.bar7.DockCol   = 1;
     this.bar7.DockRow   = 1;
     this.bar7.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar7.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.iPaintStyle)
     });
     this.bar7.Offset = 226;
     this.bar7.OptionsBar.AllowQuickCustomization = false;
     this.bar7.OptionsBar.RotateWhenVertical      = false;
     this.bar7.Text = "PaintStyle";
     //
     // iPaintStyle
     //
     this.iPaintStyle.Caption      = "Paint Style";
     this.iPaintStyle.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10");
     this.iPaintStyle.Id           = 55;
     this.iPaintStyle.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.ipsDefault),
         new DevExpress.XtraBars.LinkPersistInfo(this.ipsWXP),
         new DevExpress.XtraBars.LinkPersistInfo(this.ipsOXP),
         new DevExpress.XtraBars.LinkPersistInfo(this.ipsO2K),
         new DevExpress.XtraBars.LinkPersistInfo(this.ipsO3)
     });
     this.iPaintStyle.Name       = "iPaintStyle";
     this.iPaintStyle.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // ipsDefault
     //
     this.ipsDefault.Caption      = "Default";
     this.ipsDefault.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10");
     this.ipsDefault.Description  = "Default";
     this.ipsDefault.Id           = 74;
     this.ipsDefault.Name         = "ipsDefault";
     //
     // ipsWXP
     //
     this.ipsWXP.Caption      = "Windows XP";
     this.ipsWXP.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10");
     this.ipsWXP.Description  = "WindowsXP";
     this.ipsWXP.Id           = 56;
     this.ipsWXP.ImageIndex   = 25;
     this.ipsWXP.Name         = "ipsWXP";
     //
     // ipsOXP
     //
     this.ipsOXP.Caption      = "Office XP";
     this.ipsOXP.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10");
     this.ipsOXP.Description  = "OfficeXP";
     this.ipsOXP.Id           = 57;
     this.ipsOXP.ImageIndex   = 23;
     this.ipsOXP.Name         = "ipsOXP";
     //
     // ipsO2K
     //
     this.ipsO2K.Caption      = "Office 2000";
     this.ipsO2K.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10");
     this.ipsO2K.Description  = "Office2000";
     this.ipsO2K.Id           = 58;
     this.ipsO2K.ImageIndex   = 24;
     this.ipsO2K.Name         = "ipsO2K";
     //
     // ipsO3
     //
     this.ipsO3.Caption      = "Office 2003";
     this.ipsO3.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10");
     this.ipsO3.Description  = "Office2003";
     this.ipsO3.Id           = 69;
     this.ipsO3.ImageIndex   = 26;
     this.ipsO3.Name         = "ipsO3";
     //
     // barDockControl1
     //
     this.barDockControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.barDockControl1.Location = new System.Drawing.Point(0, 0);
     this.barDockControl1.Size     = new System.Drawing.Size(550, 78);
     //
     // barDockControl2
     //
     this.barDockControl2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControl2.Location = new System.Drawing.Point(0, 374);
     this.barDockControl2.Size     = new System.Drawing.Size(550, 28);
     //
     // barDockControl3
     //
     this.barDockControl3.Dock     = System.Windows.Forms.DockStyle.Left;
     this.barDockControl3.Location = new System.Drawing.Point(0, 78);
     this.barDockControl3.Size     = new System.Drawing.Size(0, 296);
     //
     // barDockControl4
     //
     this.barDockControl4.Dock     = System.Windows.Forms.DockStyle.Right;
     this.barDockControl4.Location = new System.Drawing.Point(513, 78);
     this.barDockControl4.Size     = new System.Drawing.Size(37, 296);
     //
     // 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, "");
     this.imageList1.Images.SetKeyName(7, "");
     this.imageList1.Images.SetKeyName(8, "");
     this.imageList1.Images.SetKeyName(9, "");
     this.imageList1.Images.SetKeyName(10, "");
     this.imageList1.Images.SetKeyName(11, "");
     this.imageList1.Images.SetKeyName(12, "");
     this.imageList1.Images.SetKeyName(13, "");
     this.imageList1.Images.SetKeyName(14, "");
     this.imageList1.Images.SetKeyName(15, "");
     this.imageList1.Images.SetKeyName(16, "");
     this.imageList1.Images.SetKeyName(17, "");
     this.imageList1.Images.SetKeyName(18, "");
     this.imageList1.Images.SetKeyName(19, "");
     this.imageList1.Images.SetKeyName(20, "");
     this.imageList1.Images.SetKeyName(21, "");
     this.imageList1.Images.SetKeyName(22, "");
     this.imageList1.Images.SetKeyName(23, "");
     this.imageList1.Images.SetKeyName(24, "");
     this.imageList1.Images.SetKeyName(25, "");
     this.imageList1.Images.SetKeyName(26, "");
     //
     // treeList1
     //
     this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
         this.treeListColumn1
     });
     this.treeList1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.treeList1.Location = new System.Drawing.Point(0, 78);
     this.treeList1.Name     = "treeList1";
     this.treeList1.OptionsBehavior.Editable = false;
     this.treeList1.Size     = new System.Drawing.Size(513, 296);
     this.treeList1.TabIndex = 4;
     //
     // treeListColumn1
     //
     this.treeListColumn1.Caption      = "Toolbar / Item Name";
     this.treeListColumn1.FieldName    = "Toolbar / Item Name";
     this.treeListColumn1.Name         = "treeListColumn1";
     this.treeListColumn1.Visible      = true;
     this.treeListColumn1.VisibleIndex = 0;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(550, 402);
     this.Controls.Add(this.treeList1);
     this.Controls.Add(this.barDockControl3);
     this.Controls.Add(this.barDockControl4);
     this.Controls.Add(this.barDockControl2);
     this.Controls.Add(this.barDockControl1);
     this.Name  = "Form1";
     this.Text  = "How to enumerate buttons in a menu or on a toolbar";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #27
0
 void InitBarButtonItem(DevExpress.XtraBars.BarButtonItem buttonItem, object tag, string description)
 {
     buttonItem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbi_ItemClick);
     buttonItem.Hint       = description;
     buttonItem.Tag        = tag;
 }
Beispiel #28
0
        /// <summary> 动态加载菜单
        ///
        /// </summary>
        private void GetMenuBind()
        {
            //根据登录用户角色菜单动态创建
            //循环创建卡菜单
            DataSet dtMenus = new DataSet();// menus.GetMenusRibbon();

            dtMenus.AcceptChanges();

            DataTable baseModuleDT = dtMenus.Tables[1];

            for (int i = 0; i < baseModuleDT.Rows.Count; i++)
            {
                //创建卡
                RibbonPage ribbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage();//菜单卡对象定义
                ribbonPage.Text = baseModuleDT.Rows[i]["Menu_Type_Txt"].ToString();
                this.ribbon.Pages.Add(ribbonPage);

                DataTable baseModuleDTG = dtMenus.Tables[2].Select("Menu_Type_Txt ='" + baseModuleDT.Rows[i]["Menu_Type_Txt"].ToString() + "'").CopyToDataTable();

                if (baseModuleDTG.Rows.Count <= 0)
                {
                    //没有组
                    RibbonPageGroup ribbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); //菜单卡分组定义
                    ribbonPageGroup.Text = baseModuleDT.Rows[i]["Menu_Type_Txt"].ToString();            //卡片组名
                    ribbonPage.Groups.Add(ribbonPageGroup);

                    DataTable baseModuleDTB = dtMenus.Tables[0].Select("Menu_Type_Txt ='" + baseModuleDT.Rows[i]["Menu_Type_Txt"].ToString() + "'").CopyToDataTable();
                    for (int b = 0; b < baseModuleDTB.Rows.Count; b++)
                    {
                        Image image = Image.FromFile(FileHelper.GetFilePath("menuicon", "error.png"));
                        //功能按钮
                        BarButtonItem barButtonItem = new DevExpress.XtraBars.BarButtonItem();
                        barButtonItem.Caption    = baseModuleDTB.Rows[b]["Name"].ToString();
                        barButtonItem.LargeGlyph = image;// global::MemberManager.Properties.Resources.group_key;
                        barButtonItem.Name       = baseModuleDTB.Rows[b]["FormName"].ToString();
                        barButtonItem.Tag        = baseModuleDTB.Rows[b]["NavigateUrl"].ToString();;
                        ribbonPageGroup.ItemLinks.Add(barButtonItem);
                        barButtonItem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_ItemClick);//注册事件
                    }
                }
                else
                {
                    for (int g = 0; g < baseModuleDTG.Rows.Count; g++)
                    {
                        //创建组
                        RibbonPageGroup ribbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); //菜单卡分组定义
                        ribbonPageGroup.Text = baseModuleDTG.Rows[g]["GroupTxt"].ToString();                //卡片组名
                        ribbonPage.Groups.Add(ribbonPageGroup);

                        DataTable baseModuleDTB = dtMenus.Tables[0].Select("GroupTxt ='" + baseModuleDTG.Rows[g]["GroupTxt"].ToString() + "' AND Menu_Type_Txt='" + baseModuleDTG.Rows[g]["Menu_Type_Txt"].ToString() + "'").CopyToDataTable();
                        for (int b = 0; b < baseModuleDTB.Rows.Count; b++)
                        {
                            Image         image         = Image.FromFile(FileHelper.GetFilePath("menuicon", "error.png"));
                            BarButtonItem barButtonItem = new DevExpress.XtraBars.BarButtonItem();
                            barButtonItem.Caption    = baseModuleDTB.Rows[b]["Name"].ToString();
                            barButtonItem.LargeGlyph = image;// global::MemberManager.Properties.Resources.group_key;
                            barButtonItem.Name       = baseModuleDTB.Rows[b]["FormName"].ToString();
                            barButtonItem.Tag        = baseModuleDTB.Rows[b]["NavigateUrl"].ToString();;
                            ribbonPageGroup.ItemLinks.Add(barButtonItem);
                            barButtonItem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_ItemClick);//注册事件
                        }
                    }
                }
            }

            dtShortcut = dtMenus.Tables[3];
            if (ConfigHelper.GetConfigKeyValue("NeedShortcut") == "true")//是否需要显示快捷方式
            {
                gridControl1.DataSource = GetBindShortcut(dtShortcut);
            }
            else
            {
                gridControl1.Visible = false;
            }
        }
Beispiel #29
0
        /// <summary>
        /// 设置画面控件数据
        /// </summary>

        public override void SetFormValue()
        {
            base.SetFormValue();

            int i = 0;

            //系统状态信息设置
            barSAuthor.Caption = Common._authornm;
            barSUser.Caption = Common._personname;
            barSFactName.Caption = Common._ProjectName;
            barSUser.Caption = Common._personname;

            if (!Common._personid.Equals(Common._Administrator))
            {
                //SetMenuItemValid();

                //读取用户权限信息
                GetAuthorData();
                this.SetVisibility();
            }


            foreach (DevExpress.Skins.SkinContainer skin in DevExpress.Skins.SkinManager.Default.Skins)
            {

                DevExpress.XtraBars.BarButtonItem itemStyle = new DevExpress.XtraBars.BarButtonItem();
                itemStyle.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(itemStyle_ItemClick);
                itemStyle.Caption = skin.SkinName;
                itemStyle.Tag = i;
                btnStyle.AddItem(itemStyle);
                i++;
            }
        }
Beispiel #30
0
 void InitBarButtonItem(DevExpress.XtraBars.BarButtonItem buttonItem, object tag)
 {
     InitBarButtonItem(buttonItem, tag, string.Empty);
 }
        public void RefreshModule()
        {
            navBarControl1.Items.Clear();
            navBarControl1.Groups.Clear();

            bsi_Modules.LinksPersistInfo.Clear();


            ModuleFunctionsPool LocalFunction = new LoadModuleFunctions().GetLocalAllModules(AppDomain.CurrentDomain.BaseDirectory);

            navBarControl1.BeginInit();
            NavBarGroup group;
            string ModuleID;


            foreach (var v in LocalFunction.Modules)
            {
                //添加模块到navBarControl1        
                group = navBarControl1.Groups.Add();
                group.Caption = v.ModuleName;
                group.SmallImage = LoadUIImage.LoadNavBarImage_Group(ConvertEx.ToString(v.ImgPath));
                group.Tag = v.ModuleID;

                //添加模块到bbi_Module
                BarSubItem BSI = new BarSubItem()
                {
                    Caption = v.ModuleName,
                    Glyph = LoadUIImage.LoadNavBarImage_Group(ConvertEx.ToString(v.ImgPath))
                };
                this.ribbonControl1.Items.Add(BSI);
                bsi_Modules.AddItem(BSI);

                ModuleID = v.ModuleID;

                foreach (var fun in v.Functions)
                {
                    if (fun == null) continue;
                    fun.UserAuthority = 1073741823;

                    //添加功能到navBarControl1
                    NavBarItem item = navBarControl1.Items.Add();
                    item.Caption = fun.FunctionName;
                    item.Tag = fun;
                    item.SmallImage = LoadUIImage.LoadNavBarImage_Item(fun.FunctionPng);


                    item.LinkClicked += item_LinkClicked;
                    group.ItemLinks.Add(item);


                    //添加功能到bbi_Module
                    var bbif = new DevExpress.XtraBars.BarButtonItem()
                    {
                        Caption = fun.FunctionName,
                        Tag = fun,
                        Glyph = LoadUIImage.LoadNavBarImage_Item(fun.FunctionPng)
                    };
                    bbif.ItemClick += bbi_ItemClick;
                    this.ribbonControl1.Items.Add(bbif);

                    BSI.AddItem(bbif);
                }

                if (group.ItemLinks.Count == 0)
                    navBarControl1.Groups.Remove(group);
            }


            navBarControl1.EndInit();
        }
        private void Init()
        {
            InitializeComponent();
            barButtonItemPrint.Glyph = FWImageDic.PRINT_IMAGE16;
            barButtonItemExcute.Glyph = HelpImage.getImage1616("navTinhTrangHangTonKho.png");
            barButtonItemClose.Glyph = FWImageDic.CLOSE_IMAGE16;
            barSubItemExport = new BarSubItem();
            barSubItemExport.Visibility = BarItemVisibility.Always;
            barSubItemExport= PhieuQuanLyUtil.XuatRaFile(this.barManager1, gridView1);
            barButtonItemPrintNew=  AppCtrl.InitPrintGrid(this.barManager1, this.bar2, gridView1, barButtonItemPrint, false);
            gridView1._SetPermissionElement(barButtonItemPrintNew, barSubItemExport);
            dragDropLayoutControl1.TypeChoice = TypeChoiceGridColumnsControl.SOURCE;
            dragDropLayoutControl2.TypeChoice = TypeChoiceGridColumnsControl.DESTINATION;
            if (gridView != null)
            {
                dragDropLayoutControl1.InitListColumns(this.gridView);
                dragDropLayoutControl2.InitListColumns(this.gridView);

                foreach (GridColumn col in gridView.Columns)
                {
                    CheckState state = CheckState.Unchecked;
                    ckcCotHienThi.Items.Add(col, col.Caption, state, true);
                }

            }
            gridView1.ViewCaption = caption.ToUpper();
            gridView1.OptionsView.ShowGroupedColumns = false;
            gridView1.OptionsView.ShowGroupPanel = false;
            gridView1.OptionsView.ShowFooter = true;
            gridView1.OptionsBehavior.Editable = false;
            gridView1.OptionsView.NewItemRowPosition = NewItemRowPosition.None;
            gridView1.OptionsBehavior.AutoExpandAllGroups = true;
            gridView1.GroupFooterShowMode = GroupFooterShowMode.Hidden;

            gridView1.OptionsPrint.PrintGroupFooter = true;
            gridView1.Appearance.GroupFooter.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;

            gridView1.CustomDrawGroupRow+=new RowObjectCustomDrawEventHandler(gridView1_CustomDrawGroupRow);
            gridView1.CustomSummaryCalculate += new CustomSummaryEventHandler(gridView1_CustomSummaryCalculate);
            gridView1.CustomSummaryExists += new CustomSummaryExistEventHandler(gridView1_CustomSummaryExists);
        }
Beispiel #33
0
 //Cố định để hiển thị phần giúp đỡ của toàn bộ hệ thống.
 internal static void CreateAboutOrHelp(frmRibbonMain form)
 {
     DevExpress.XtraBars.BarButtonItem iAbout;
     iAbout = new DevExpress.XtraBars.BarButtonItem();
     iAbout.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
     iAbout.PaintStyle = BarItemPaintStyle.CaptionGlyph;
     iAbout.Glyph = ImageCollectionMan.Instance.GetImage1616(25);
     if (File.Exists(RadParams.HELP_FILE) == false)
     {
         iAbout.Caption = "Phân mềm";
         iAbout.Description = "Thông tin phần mềm.";
         iAbout.Hint = "Nhận thông tin về phần mềm\n" + HelpApplication.getProductName();
         iAbout.Name = "iAbout";
     }
     else
     {
         iAbout.Caption = "Trợ giúp " + HelpApplication.getProductName() + "(F1)";
         iAbout.Description = "Hướng dẫn sử dụng";
         iAbout.Hint = "Nhận trợ giúp sử dụng\n" + HelpApplication.getProductName();
         iAbout.Name = "iHelp";
     }
     iAbout.ItemClick += delegate(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
     {
         if (File.Exists(RadParams.HELP_FILE)==false)
         {
             frmPLAbout dlg = new frmPLAbout();
             ProtocolForm.ShowModalDialog(form, dlg);
         }
         else
         {
             PLHelp.openCHM();
         }
     };
     form.Ribbon.Items.Add(iAbout);
     form.Ribbon.PageHeaderItemLinks.Add(iAbout);
 }
Beispiel #34
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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm));
     this.barDockMgr = new DevExpress.XtraBars.BarAndDockingController(this.components);
     this.dockMgr = new DevExpress.XtraBars.Docking.DockManager();
     this.pnlCountersTree = new DevExpress.XtraBars.Docking.DockPanel();
     this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer();
     this.cmdNewTab = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem1 = new DevExpress.XtraBars.BarSubItem();
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem2 = new DevExpress.XtraBars.BarSubItem();
     this.lsttopToolbarImages = new DevExpress.Utils.ImageCollection(this.components);
     this.tabsMgr = new DevExpress.XtraTabbedMdi.XtraTabbedMdiManager(this.components);
     this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
     this.imgRibbon = new DevExpress.Utils.ImageCollection(this.components);
     this.bar4 = new DevExpress.XtraBars.Bar();
     this.ribbonMain = new DevExpress.XtraBars.Ribbon.RibbonControl();
     this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup();
     this.chkPanelCounters = new DevExpress.XtraBars.BarCheckItem();
     this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
     this.cmdScaleUp = new DevExpress.XtraBars.BarButtonItem();
     this.cmdScaleDown = new DevExpress.XtraBars.BarButtonItem();
     this.cmdAddCounters = new DevExpress.XtraBars.BarButtonItem();
     this.cmdCreateRootNode = new DevExpress.XtraBars.BarButtonItem();
     this.cmdCreateChildNode = new DevExpress.XtraBars.BarButtonItem();
     this.cmdRemoveNode = new DevExpress.XtraBars.BarButtonItem();
     this.cmdCreateFolderFromActiveMonitor = new DevExpress.XtraBars.BarButtonItem();
     this.cmdSaveCountersToCurrentFolder = new DevExpress.XtraBars.BarButtonItem();
     this.cmdSetCounterMachineNames = new DevExpress.XtraBars.BarButtonItem();
     this.cmdAddNodeToNewTab = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem13 = new DevExpress.XtraBars.BarButtonItem();
     this.chkTextReport = new DevExpress.XtraBars.BarCheckItem();
     this.chkShowToolbar = new DevExpress.XtraBars.BarCheckItem();
     this.chkLegend = new DevExpress.XtraBars.BarCheckItem();
     this.chkShowVGrid = new DevExpress.XtraBars.BarCheckItem();
     this.chkShowHGrid = new DevExpress.XtraBars.BarCheckItem();
     this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem();
     this.cmdRenameFolder = new DevExpress.XtraBars.BarButtonItem();
     this.cmdRenameTab = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonGroup2 = new DevExpress.XtraBars.BarButtonGroup();
     this.cmdImport = new DevExpress.XtraBars.BarButtonItem();
     this.cmdExport = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonGroup3 = new DevExpress.XtraBars.BarButtonGroup();
     this.barButtonGroup4 = new DevExpress.XtraBars.BarButtonGroup();
     this.barButtonGroup5 = new DevExpress.XtraBars.BarButtonGroup();
     this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem();
     this.lblVersionCaption = new DevExpress.XtraBars.BarStaticItem();
     this.lblVersion = new DevExpress.XtraBars.BarStaticItem();
     this.cmdCloseTab = new DevExpress.XtraBars.BarButtonItem();
     this.cmdSetInstanceName = new DevExpress.XtraBars.BarButtonItem();
     this.ribPageGeneral = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup16 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribPageActiveMonitor = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup6 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup15 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribPageLibFolder = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup7 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup12 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup10 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup11 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribPageLibCounter = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup13 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup14 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup17 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup18 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup19 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup20 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
     this.ribbonPageGroup8 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup9 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components);
     this.popupMenu2 = new DevExpress.XtraBars.PopupMenu(this.components);
     this.popupMenu3 = new DevExpress.XtraBars.PopupMenu(this.components);
     this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.barDockMgr)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockMgr)).BeginInit();
     this.pnlCountersTree.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lsttopToolbarImages)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabsMgr)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.imgRibbon)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu3)).BeginInit();
     this.SuspendLayout();
     //
     // barDockMgr
     //
     this.barDockMgr.AppearancesRibbon.PageHeader.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
     this.barDockMgr.AppearancesRibbon.PageHeader.BackColor2 = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(192)));
     this.barDockMgr.AppearancesRibbon.PageHeader.Options.UseBackColor = true;
     this.barDockMgr.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat;
     this.barDockMgr.PaintStyleName = "Skin";
     this.barDockMgr.PropertiesBar.AllowLinkLighting = false;
     //
     // dockMgr
     //
     this.dockMgr.Controller = this.barDockMgr;
     this.dockMgr.Form = this;
     this.dockMgr.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] {
                                                                                      this.pnlCountersTree});
     this.dockMgr.TopZIndexControls.AddRange(new string[] {
                                                              "DevExpress.XtraBars.BarDockControl",
                                                              "System.Windows.Forms.StatusBar",
                                                              "DevExpress.XtraBars.Ribbon.RibbonStatusBar",
                                                              "DevExpress.XtraBars.Ribbon.RibbonControl"});
     //
     // pnlCountersTree
     //
     this.pnlCountersTree.Controls.Add(this.dockPanel1_Container);
     this.pnlCountersTree.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left;
     this.pnlCountersTree.ID = new System.Guid("67d03641-787f-4ee4-abc7-e67c35e02bd4");
     this.pnlCountersTree.Location = new System.Drawing.Point(0, 144);
     this.pnlCountersTree.Name = "pnlCountersTree";
     this.pnlCountersTree.Size = new System.Drawing.Size(206, 326);
     this.pnlCountersTree.Text = "Counter Library";
     //
     // dockPanel1_Container
     //
     this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25);
     this.dockPanel1_Container.Name = "dockPanel1_Container";
     this.dockPanel1_Container.Size = new System.Drawing.Size(200, 298);
     this.dockPanel1_Container.TabIndex = 0;
     //
     // cmdNewTab
     //
     this.cmdNewTab.Caption = "&New tab";
     this.cmdNewTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdNewTab.Glyph")));
     this.cmdNewTab.Hint = "New Tab";
     this.cmdNewTab.Id = 3;
     this.cmdNewTab.ImageIndex = 0;
     this.cmdNewTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N));
     this.cmdNewTab.Name = "cmdNewTab";
     this.cmdNewTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdNewTab_ItemClick);
     //
     // barSubItem1
     //
     this.barSubItem1.Caption = "&File";
     this.barSubItem1.Id = 0;
     this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
                                                                                              new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)});
     this.barSubItem1.Name = "barSubItem1";
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "E&xit";
     this.barButtonItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.Glyph")));
     this.barButtonItem1.Hint = "Exit";
     this.barButtonItem1.Id = 1;
     this.barButtonItem1.ImageIndex = 1;
     this.barButtonItem1.Name = "barButtonItem1";
     //
     // barSubItem2
     //
     this.barSubItem2.Caption = "&Tabs";
     this.barSubItem2.Id = 2;
     this.barSubItem2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
                                                                                              new DevExpress.XtraBars.LinkPersistInfo(this.cmdNewTab)});
     this.barSubItem2.Name = "barSubItem2";
     //
     // lsttopToolbarImages
     //
     this.lsttopToolbarImages.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("lsttopToolbarImages.ImageStream")));
     //
     // tabsMgr
     //
     this.tabsMgr.AllowDragDrop = DevExpress.Utils.DefaultBoolean.True;
     this.tabsMgr.AppearancePage.HeaderActive.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.tabsMgr.AppearancePage.HeaderActive.BorderColor = System.Drawing.Color.Red;
     this.tabsMgr.AppearancePage.HeaderActive.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.tabsMgr.AppearancePage.HeaderActive.Options.UseBackColor = true;
     this.tabsMgr.AppearancePage.HeaderActive.Options.UseBorderColor = true;
     this.tabsMgr.AppearancePage.HeaderActive.Options.UseFont = true;
     this.tabsMgr.Controller = this.barDockMgr;
     this.tabsMgr.HeaderButtons = ((DevExpress.XtraTab.TabButtons)(((DevExpress.XtraTab.TabButtons.Prev | DevExpress.XtraTab.TabButtons.Next)
         | DevExpress.XtraTab.TabButtons.Close)));
     this.tabsMgr.MdiParent = this;
     this.tabsMgr.SelectedPageChanged += new System.EventHandler(this.tabsMgr_SelectedPageChanged);
     this.tabsMgr.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tabsMgr_MouseDown);
     //
     // defaultLookAndFeel1
     //
     this.defaultLookAndFeel1.LookAndFeel.SkinName = "The Asphalt World";
     //
     // imgRibbon
     //
     this.imgRibbon.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imgRibbon.ImageStream")));
     //
     // bar4
     //
     this.bar4.BarName = "barActions";
     this.bar4.DockCol = 0;
     this.bar4.DockRow = 0;
     this.bar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar4.FloatLocation = new System.Drawing.Point(229, 161);
     this.bar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
                                                                                       new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)});
     this.bar4.OptionsBar.AllowDelete = true;
     this.bar4.OptionsBar.AllowQuickCustomization = false;
     this.bar4.OptionsBar.DisableClose = true;
     this.bar4.OptionsBar.DisableCustomization = true;
     this.bar4.OptionsBar.DrawDragBorder = false;
     this.bar4.OptionsBar.UseWholeRow = true;
     this.bar4.Text = "Actions";
     //
     // ribbonMain
     //
     this.ribbonMain.Images = this.imgRibbon;
     this.ribbonMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
                                                                          this.barSubItem1,
                                                                          this.barButtonItem1,
                                                                          this.barSubItem2,
                                                                          this.cmdNewTab,
                                                                          this.barButtonGroup1,
                                                                          this.chkPanelCounters,
                                                                          this.barStaticItem1,
                                                                          this.cmdScaleUp,
                                                                          this.cmdScaleDown,
                                                                          this.cmdAddCounters,
                                                                          this.cmdCreateRootNode,
                                                                          this.cmdCreateChildNode,
                                                                          this.cmdRemoveNode,
                                                                          this.cmdCreateFolderFromActiveMonitor,
                                                                          this.cmdSaveCountersToCurrentFolder,
                                                                          this.cmdSetCounterMachineNames,
                                                                          this.cmdAddNodeToNewTab,
                                                                          this.barButtonItem13,
                                                                          this.chkTextReport,
                                                                          this.chkShowToolbar,
                                                                          this.chkLegend,
                                                                          this.chkShowVGrid,
                                                                          this.chkShowHGrid,
                                                                          this.barStaticItem2,
                                                                          this.cmdRenameFolder,
                                                                          this.cmdRenameTab,
                                                                          this.barButtonGroup2,
                                                                          this.cmdImport,
                                                                          this.cmdExport,
                                                                          this.barButtonGroup3,
                                                                          this.barButtonGroup4,
                                                                          this.barButtonGroup5,
                                                                          this.barButtonItem2,
                                                                          this.barButtonItem3,
                                                                          this.barButtonItem4,
                                                                          this.barButtonItem5,
                                                                          this.barButtonItem6,
                                                                          this.barButtonItem7,
                                                                          this.lblVersionCaption,
                                                                          this.lblVersion,
                                                                          this.cmdCloseTab,
                                                                          this.cmdSetInstanceName});
     this.ribbonMain.Location = new System.Drawing.Point(0, 0);
     this.ribbonMain.MaxItemId = 42;
     this.ribbonMain.Name = "ribbonMain";
     this.ribbonMain.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
                                                                                    this.ribPageGeneral,
                                                                                    this.ribPageActiveMonitor,
                                                                                    this.ribPageLibFolder,
                                                                                    this.ribPageLibCounter,
                                                                                    this.ribbonPage1});
     this.ribbonMain.SelectedPage = this.ribPageActiveMonitor;
     this.ribbonMain.Size = new System.Drawing.Size(712, 144);
     this.ribbonMain.Toolbar.ItemLinks.Add(this.barButtonItem1);
     this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdNewTab, true);
     this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdRenameTab);
     this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdAddCounters, true);
     this.ribbonMain.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Below;
     this.ribbonMain.SelectedPageChanged += new System.EventHandler(this.ribbonMain_SelectedPageChanged);
     //
     // barButtonGroup1
     //
     this.barButtonGroup1.Caption = "barButtonGroup1";
     this.barButtonGroup1.Id = 0;
     this.barButtonGroup1.Name = "barButtonGroup1";
     //
     // chkPanelCounters
     //
     this.chkPanelCounters.Caption = "Show Counter Library";
     this.chkPanelCounters.Checked = true;
     this.chkPanelCounters.Glyph = ((System.Drawing.Image)(resources.GetObject("chkPanelCounters.Glyph")));
     this.chkPanelCounters.Hint = "Show counter library panel";
     this.chkPanelCounters.Id = 1;
     this.chkPanelCounters.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L));
     this.chkPanelCounters.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("chkPanelCounters.LargeGlyph")));
     this.chkPanelCounters.Name = "chkPanelCounters";
     this.chkPanelCounters.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.Caption;
     this.chkPanelCounters.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkPanelCounters_CheckedChanged);
     //
     // barStaticItem1
     //
     this.barStaticItem1.Caption = "Actions on the active perfomance monitor";
     this.barStaticItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barStaticItem1.Glyph")));
     this.barStaticItem1.Id = 2;
     this.barStaticItem1.Name = "barStaticItem1";
     this.barStaticItem1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large;
     this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // cmdScaleUp
     //
     this.cmdScaleUp.Caption = "Scale up";
     this.cmdScaleUp.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdScaleUp.Glyph")));
     this.cmdScaleUp.Hint = "Scale up current counter";
     this.cmdScaleUp.Id = 3;
     this.cmdScaleUp.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Add);
     this.cmdScaleUp.Name = "cmdScaleUp";
     this.cmdScaleUp.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdScaleUp_ItemClick);
     //
     // cmdScaleDown
     //
     this.cmdScaleDown.Caption = "Scale down                 ";
     this.cmdScaleDown.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdScaleDown.Glyph")));
     this.cmdScaleDown.Hint = "Scale down current counter";
     this.cmdScaleDown.Id = 4;
     this.cmdScaleDown.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Subtract);
     this.cmdScaleDown.Name = "cmdScaleDown";
     this.cmdScaleDown.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick);
     //
     // cmdAddCounters
     //
     this.cmdAddCounters.Caption = "Add counter(s)";
     this.cmdAddCounters.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdAddCounters.Glyph")));
     this.cmdAddCounters.Hint = "Add Counters...";
     this.cmdAddCounters.Id = 5;
     this.cmdAddCounters.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A));
     this.cmdAddCounters.Name = "cmdAddCounters";
     this.cmdAddCounters.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdAddCounters_ItemClick);
     //
     // cmdCreateRootNode
     //
     this.cmdCreateRootNode.Caption = "Create Root";
     this.cmdCreateRootNode.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateRootNode.Glyph")));
     this.cmdCreateRootNode.Hint = "Create root folder in library";
     this.cmdCreateRootNode.Id = 6;
     this.cmdCreateRootNode.Name = "cmdCreateRootNode";
     this.cmdCreateRootNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateRootNode_ItemClick);
     //
     // cmdCreateChildNode
     //
     this.cmdCreateChildNode.Caption = "Create Child";
     this.cmdCreateChildNode.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateChildNode.Glyph")));
     this.cmdCreateChildNode.Hint = "Create sub folder in library";
     this.cmdCreateChildNode.Id = 7;
     this.cmdCreateChildNode.Name = "cmdCreateChildNode";
     this.cmdCreateChildNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateChildNode_ItemClick);
     //
     // cmdRemoveNode
     //
     this.cmdRemoveNode.Caption = "&Remove";
     this.cmdRemoveNode.Hint = "Remove folder or counter from library";
     this.cmdRemoveNode.Id = 8;
     this.cmdRemoveNode.ImageIndex = 1;
     this.cmdRemoveNode.Name = "cmdRemoveNode";
     this.cmdRemoveNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRemoveNode_ItemClick);
     //
     // cmdCreateFolderFromActiveMonitor
     //
     this.cmdCreateFolderFromActiveMonitor.Caption = "Import Tab Counters to new folder";
     this.cmdCreateFolderFromActiveMonitor.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateFolderFromActiveMonitor.Glyph")));
     this.cmdCreateFolderFromActiveMonitor.Hint = "Import tab counters to a new library folder";
     this.cmdCreateFolderFromActiveMonitor.Id = 10;
     this.cmdCreateFolderFromActiveMonitor.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
         | System.Windows.Forms.Keys.N));
     this.cmdCreateFolderFromActiveMonitor.Name = "cmdCreateFolderFromActiveMonitor";
     this.cmdCreateFolderFromActiveMonitor.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateFolderFromActiveMonitor_ItemClick);
     //
     // cmdSaveCountersToCurrentFolder
     //
     this.cmdSaveCountersToCurrentFolder.Caption = "Import tab counters to selected folder";
     this.cmdSaveCountersToCurrentFolder.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSaveCountersToCurrentFolder.Glyph")));
     this.cmdSaveCountersToCurrentFolder.Hint = "Import tab counters to the selected library folder";
     this.cmdSaveCountersToCurrentFolder.Id = 11;
     this.cmdSaveCountersToCurrentFolder.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
         | System.Windows.Forms.Keys.F));
     this.cmdSaveCountersToCurrentFolder.Name = "cmdSaveCountersToCurrentFolder";
     this.cmdSaveCountersToCurrentFolder.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdSaveCountersToCurrentFolder_ItemClick);
     //
     // cmdSetCounterMachineNames
     //
     this.cmdSetCounterMachineNames.Caption = "Set machine name";
     this.cmdSetCounterMachineNames.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSetCounterMachineNames.Glyph")));
     this.cmdSetCounterMachineNames.Hint = "set the machine name for the library counter(s)";
     this.cmdSetCounterMachineNames.Id = 12;
     this.cmdSetCounterMachineNames.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M));
     this.cmdSetCounterMachineNames.Name = "cmdSetCounterMachineNames";
     this.cmdSetCounterMachineNames.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdChangeMachinNameForCOunters_ItemClick);
     //
     // cmdAddNodeToNewTab
     //
     this.cmdAddNodeToNewTab.Caption = "Add folder to new tab";
     this.cmdAddNodeToNewTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdAddNodeToNewTab.Glyph")));
     this.cmdAddNodeToNewTab.Hint = "add this library folder\'s counters to a new tab";
     this.cmdAddNodeToNewTab.Id = 13;
     this.cmdAddNodeToNewTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
         | System.Windows.Forms.Keys.Right));
     this.cmdAddNodeToNewTab.Name = "cmdAddNodeToNewTab";
     this.cmdAddNodeToNewTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdAddNodeToNewTab_ItemClick);
     //
     // barButtonItem13
     //
     this.barButtonItem13.Caption = "Add to selected tab";
     this.barButtonItem13.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem13.Glyph")));
     this.barButtonItem13.Hint = "add this library folder/counter to the current tab";
     this.barButtonItem13.Id = 16;
     this.barButtonItem13.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Right));
     this.barButtonItem13.Name = "barButtonItem13";
     this.barButtonItem13.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem13_ItemClick);
     //
     // chkTextReport
     //
     this.chkTextReport.Caption = "Text Report";
     this.chkTextReport.Glyph = ((System.Drawing.Image)(resources.GetObject("chkTextReport.Glyph")));
     this.chkTextReport.Hint = "Set the perfmon display to \"Text Report\"";
     this.chkTextReport.Id = 17;
     this.chkTextReport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.R));
     this.chkTextReport.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("chkTextReport.LargeGlyph")));
     this.chkTextReport.Name = "chkTextReport";
     this.chkTextReport.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkTextReport_CheckedChanged);
     //
     // chkShowToolbar
     //
     this.chkShowToolbar.Caption = "Toolbar";
     this.chkShowToolbar.Checked = true;
     this.chkShowToolbar.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowToolbar.Glyph")));
     this.chkShowToolbar.Hint = "Show/Hide the perfmon toolbar";
     this.chkShowToolbar.Id = 18;
     this.chkShowToolbar.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.T));
     this.chkShowToolbar.Name = "chkShowToolbar";
     this.chkShowToolbar.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowToolbar_CheckedChanged);
     //
     // chkLegend
     //
     this.chkLegend.Caption = "Legend";
     this.chkLegend.Checked = true;
     this.chkLegend.Glyph = ((System.Drawing.Image)(resources.GetObject("chkLegend.Glyph")));
     this.chkLegend.Hint = "Show/Hide the perfmon legend";
     this.chkLegend.Id = 19;
     this.chkLegend.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.L));
     this.chkLegend.Name = "chkLegend";
     this.chkLegend.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkLegend_CheckedChanged);
     //
     // chkShowVGrid
     //
     this.chkShowVGrid.Caption = "Vertical Grid Lines";
     this.chkShowVGrid.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowVGrid.Glyph")));
     this.chkShowVGrid.Hint = "Show/Hide perfmon vertical grid lines";
     this.chkShowVGrid.Id = 20;
     this.chkShowVGrid.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.V));
     this.chkShowVGrid.Name = "chkShowVGrid";
     this.chkShowVGrid.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowVGrid_CheckedChanged);
     //
     // chkShowHGrid
     //
     this.chkShowHGrid.Caption = "Horizontal Grid Lines";
     this.chkShowHGrid.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowHGrid.Glyph")));
     this.chkShowHGrid.Hint = "Show/Hide perfmon Horizontal grid lines";
     this.chkShowHGrid.Id = 21;
     this.chkShowHGrid.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.H));
     this.chkShowHGrid.Name = "chkShowHGrid";
     this.chkShowHGrid.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowHGrid_CheckedChanged);
     //
     // barStaticItem2
     //
     this.barStaticItem2.Caption = "Perf+                                                                            " +
         "";
     this.barStaticItem2.Id = 22;
     this.barStaticItem2.Name = "barStaticItem2";
     this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // cmdRenameFolder
     //
     this.cmdRenameFolder.Caption = "&Rename";
     this.cmdRenameFolder.Id = 23;
     this.cmdRenameFolder.Name = "cmdRenameFolder";
     this.cmdRenameFolder.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRenameFolder_ItemClick);
     //
     // cmdRenameTab
     //
     this.cmdRenameTab.Caption = "&Rename Tab";
     this.cmdRenameTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdRenameTab.Glyph")));
     this.cmdRenameTab.Hint = "Rename Tab";
     this.cmdRenameTab.Id = 25;
     this.cmdRenameTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R));
     this.cmdRenameTab.Name = "cmdRenameTab";
     this.cmdRenameTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRenameTab_ItemClick);
     //
     // barButtonGroup2
     //
     this.barButtonGroup2.Caption = "Share";
     this.barButtonGroup2.Id = 26;
     this.barButtonGroup2.Name = "barButtonGroup2";
     //
     // cmdImport
     //
     this.cmdImport.Caption = "&Import Library...";
     this.cmdImport.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdImport.Glyph")));
     this.cmdImport.Hint = "Import existing library counters from file";
     this.cmdImport.Id = 27;
     this.cmdImport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I));
     this.cmdImport.Name = "cmdImport";
     this.cmdImport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdImport_ItemClick);
     //
     // cmdExport
     //
     this.cmdExport.Caption = "Export Library...";
     this.cmdExport.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdExport.Glyph")));
     this.cmdExport.Hint = "Export coutner library to file";
     this.cmdExport.Id = 28;
     this.cmdExport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E));
     this.cmdExport.Name = "cmdExport";
     this.cmdExport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdExport_ItemClick);
     //
     // barButtonGroup3
     //
     this.barButtonGroup3.Caption = "barButtonGroup3";
     this.barButtonGroup3.Id = 29;
     this.barButtonGroup3.Name = "barButtonGroup3";
     //
     // barButtonGroup4
     //
     this.barButtonGroup4.Caption = "View ptions";
     this.barButtonGroup4.Id = 30;
     this.barButtonGroup4.ItemLinks.Add(this.chkLegend);
     this.barButtonGroup4.ItemLinks.Add(this.chkShowToolbar);
     this.barButtonGroup4.Name = "barButtonGroup4";
     //
     // barButtonGroup5
     //
     this.barButtonGroup5.Caption = "barButtonGroup5";
     this.barButtonGroup5.Id = 31;
     this.barButtonGroup5.ItemLinks.Add(this.chkShowHGrid);
     this.barButtonGroup5.ItemLinks.Add(this.chkShowVGrid);
     this.barButtonGroup5.Name = "barButtonGroup5";
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "Team Agile";
     this.barButtonItem2.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem2.Glyph")));
     this.barButtonItem2.Id = 32;
     this.barButtonItem2.Name = "barButtonItem2";
     this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick);
     //
     // barButtonItem3
     //
     this.barButtonItem3.Caption = "Other Tools from Roy";
     this.barButtonItem3.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem3.Glyph")));
     this.barButtonItem3.Id = 33;
     this.barButtonItem3.Name = "barButtonItem3";
     this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick_1);
     //
     // barButtonItem4
     //
     this.barButtonItem4.Caption = "Roy\'s Blog";
     this.barButtonItem4.Id = 34;
     this.barButtonItem4.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem4.LargeGlyph")));
     this.barButtonItem4.Name = "barButtonItem4";
     this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick);
     //
     // barButtonItem5
     //
     this.barButtonItem5.Caption = "Bug/ Feature request";
     this.barButtonItem5.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem5.Glyph")));
     this.barButtonItem5.Id = 35;
     this.barButtonItem5.Name = "barButtonItem5";
     this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick);
     //
     // barButtonItem6
     //
     this.barButtonItem6.Caption = "Email the author";
     this.barButtonItem6.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem6.Glyph")));
     this.barButtonItem6.Id = 36;
     this.barButtonItem6.Name = "barButtonItem6";
     this.barButtonItem6.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem6_ItemClick);
     //
     // barButtonItem7
     //
     this.barButtonItem7.Caption = "barButtonItem7";
     this.barButtonItem7.Id = 37;
     this.barButtonItem7.Name = "barButtonItem7";
     //
     // lblVersionCaption
     //
     this.lblVersionCaption.Caption = "Version:";
     this.lblVersionCaption.Id = 38;
     this.lblVersionCaption.Name = "lblVersionCaption";
     this.lblVersionCaption.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // lblVersion
     //
     this.lblVersion.Caption = "       1.0      ";
     this.lblVersion.Id = 39;
     this.lblVersion.Name = "lblVersion";
     this.lblVersion.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // cmdCloseTab
     //
     this.cmdCloseTab.Caption = "&Close";
     this.cmdCloseTab.Id = 40;
     this.cmdCloseTab.Name = "cmdCloseTab";
     //
     // cmdSetInstanceName
     //
     this.cmdSetInstanceName.Caption = "Set Target Application Instance";
     this.cmdSetInstanceName.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSetInstanceName.Glyph")));
     this.cmdSetInstanceName.Hint = "Set the counter(s) target application instance";
     this.cmdSetInstanceName.Id = 41;
     this.cmdSetInstanceName.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T));
     this.cmdSetInstanceName.Name = "cmdSetInstanceName";
     this.cmdSetInstanceName.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdSetInstanceName_ItemClick);
     //
     // ribPageGeneral
     //
     this.ribPageGeneral.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
                                                                                              this.ribbonPageGroup1,
                                                                                              this.ribbonPageGroup2,
                                                                                              this.ribbonPageGroup4,
                                                                                              this.ribbonPageGroup16});
     this.ribPageGeneral.Name = "ribPageGeneral";
     this.ribPageGeneral.Text = "General";
     //
     // ribbonPageGroup1
     //
     this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem1);
     this.ribbonPageGroup1.Name = "ribbonPageGroup1";
     this.ribbonPageGroup1.ShowCaptionButton = false;
     this.ribbonPageGroup1.Text = "Program";
     //
     // ribbonPageGroup2
     //
     this.ribbonPageGroup2.ItemLinks.Add(this.cmdNewTab);
     this.ribbonPageGroup2.ItemLinks.Add(this.cmdRenameTab);
     this.ribbonPageGroup2.Name = "ribbonPageGroup2";
     this.ribbonPageGroup2.ShowCaptionButton = false;
     this.ribbonPageGroup2.Text = "Tabs";
     //
     // ribbonPageGroup4
     //
     this.ribbonPageGroup4.ItemLinks.Add(this.chkPanelCounters);
     this.ribbonPageGroup4.Name = "ribbonPageGroup4";
     this.ribbonPageGroup4.Text = "Panels";
     //
     // ribbonPageGroup16
     //
     this.ribbonPageGroup16.ItemLinks.Add(this.cmdImport);
     this.ribbonPageGroup16.ItemLinks.Add(this.cmdExport);
     this.ribbonPageGroup16.Name = "ribbonPageGroup16";
     this.ribbonPageGroup16.Text = "Share";
     //
     // ribPageActiveMonitor
     //
     this.ribPageActiveMonitor.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
                                                                                                    this.ribbonPageGroup5,
                                                                                                    this.ribbonPageGroup6,
                                                                                                    this.ribbonPageGroup3,
                                                                                                    this.ribbonPageGroup15});
     this.ribPageActiveMonitor.Name = "ribPageActiveMonitor";
     this.ribPageActiveMonitor.Text = "Active Monitor";
     //
     // ribbonPageGroup5
     //
     this.ribbonPageGroup5.ItemLinks.Add(this.cmdScaleUp);
     this.ribbonPageGroup5.ItemLinks.Add(this.cmdScaleDown);
     this.ribbonPageGroup5.Name = "ribbonPageGroup5";
     this.ribbonPageGroup5.Text = "Active Counter";
     //
     // ribbonPageGroup6
     //
     this.ribbonPageGroup6.ItemLinks.Add(this.cmdAddCounters, true);
     this.ribbonPageGroup6.ItemLinks.Add(this.cmdRenameTab);
     this.ribbonPageGroup6.ItemLinks.Add(this.cmdNewTab);
     this.ribbonPageGroup6.Name = "ribbonPageGroup6";
     this.ribbonPageGroup6.Text = "Monitor";
     //
     // ribbonPageGroup3
     //
     this.ribbonPageGroup3.ItemLinks.Add(this.barButtonGroup4);
     this.ribbonPageGroup3.ItemLinks.Add(this.barButtonGroup5);
     this.ribbonPageGroup3.ItemLinks.Add(this.chkTextReport);
     this.ribbonPageGroup3.Name = "ribbonPageGroup3";
     this.ribbonPageGroup3.Text = "Toggle Visible";
     //
     // ribbonPageGroup15
     //
     this.ribbonPageGroup15.ItemLinks.Add(this.cmdCreateFolderFromActiveMonitor);
     this.ribbonPageGroup15.ItemLinks.Add(this.cmdSaveCountersToCurrentFolder);
     this.ribbonPageGroup15.Name = "ribbonPageGroup15";
     this.ribbonPageGroup15.Text = "Library";
     //
     // ribPageLibFolder
     //
     this.ribPageLibFolder.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
                                                                                                this.ribbonPageGroup7,
                                                                                                this.ribbonPageGroup12,
                                                                                                this.ribbonPageGroup10,
                                                                                                this.ribbonPageGroup11});
     this.ribPageLibFolder.Name = "ribPageLibFolder";
     this.ribPageLibFolder.Text = "Library Folder";
     //
     // ribbonPageGroup7
     //
     this.ribbonPageGroup7.ItemLinks.Add(this.cmdCreateRootNode, true);
     this.ribbonPageGroup7.ItemLinks.Add(this.cmdCreateChildNode);
     this.ribbonPageGroup7.ItemLinks.Add(this.cmdRemoveNode, true);
     this.ribbonPageGroup7.ItemLinks.Add(this.cmdRenameFolder);
     this.ribbonPageGroup7.Name = "ribbonPageGroup7";
     this.ribbonPageGroup7.Text = "Folders";
     //
     // ribbonPageGroup12
     //
     this.ribbonPageGroup12.ItemLinks.Add(this.cmdAddNodeToNewTab);
     this.ribbonPageGroup12.ItemLinks.Add(this.barButtonItem13);
     this.ribbonPageGroup12.Name = "ribbonPageGroup12";
     this.ribbonPageGroup12.Text = "Monitor";
     //
     // ribbonPageGroup10
     //
     this.ribbonPageGroup10.ItemLinks.Add(this.cmdCreateFolderFromActiveMonitor);
     this.ribbonPageGroup10.ItemLinks.Add(this.cmdSaveCountersToCurrentFolder);
     this.ribbonPageGroup10.Name = "ribbonPageGroup10";
     this.ribbonPageGroup10.Text = "Import";
     //
     // ribbonPageGroup11
     //
     this.ribbonPageGroup11.ItemLinks.Add(this.cmdSetCounterMachineNames);
     this.ribbonPageGroup11.ItemLinks.Add(this.cmdSetInstanceName);
     this.ribbonPageGroup11.Name = "ribbonPageGroup11";
     this.ribbonPageGroup11.Text = "Current Folder\\Counter";
     //
     // ribPageLibCounter
     //
     this.ribPageLibCounter.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
                                                                                                 this.ribbonPageGroup13,
                                                                                                 this.ribbonPageGroup14});
     this.ribPageLibCounter.Name = "ribPageLibCounter";
     this.ribPageLibCounter.Text = "Library Counter";
     //
     // ribbonPageGroup13
     //
     this.ribbonPageGroup13.ItemLinks.Add(this.cmdSetCounterMachineNames);
     this.ribbonPageGroup13.Name = "ribbonPageGroup13";
     this.ribbonPageGroup13.Text = "Modify Counter";
     //
     // ribbonPageGroup14
     //
     this.ribbonPageGroup14.ItemLinks.Add(this.cmdAddNodeToNewTab);
     this.ribbonPageGroup14.ItemLinks.Add(this.barButtonItem13);
     this.ribbonPageGroup14.Name = "ribbonPageGroup14";
     this.ribbonPageGroup14.Text = "Monitor";
     //
     // ribbonPage1
     //
     this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
                                                                                           this.ribbonPageGroup17,
                                                                                           this.ribbonPageGroup18,
                                                                                           this.ribbonPageGroup19,
                                                                                           this.ribbonPageGroup20});
     this.ribbonPage1.Name = "ribbonPage1";
     this.ribbonPage1.Text = "Help";
     //
     // ribbonPageGroup17
     //
     this.ribbonPageGroup17.ItemLinks.Add(this.lblVersionCaption);
     this.ribbonPageGroup17.ItemLinks.Add(this.lblVersion);
     this.ribbonPageGroup17.Name = "ribbonPageGroup17";
     this.ribbonPageGroup17.Text = "About";
     //
     // ribbonPageGroup18
     //
     this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem2);
     this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem3);
     this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem4, true);
     this.ribbonPageGroup18.Name = "ribbonPageGroup18";
     this.ribbonPageGroup18.Text = "Other Sites";
     //
     // ribbonPageGroup19
     //
     this.ribbonPageGroup19.ItemLinks.Add(this.barButtonItem5);
     this.ribbonPageGroup19.ItemLinks.Add(this.barButtonItem6);
     this.ribbonPageGroup19.Name = "ribbonPageGroup19";
     this.ribbonPageGroup19.Text = "Support";
     //
     // ribbonPageGroup20
     //
     this.ribbonPageGroup20.Name = "ribbonPageGroup20";
     this.ribbonPageGroup20.Text = "Videos";
     //
     // ribbonStatusBar1
     //
     this.ribbonStatusBar1.ItemLinks.Add(this.barStaticItem2);
     this.ribbonStatusBar1.ItemLinks.Add(this.cmdScaleUp);
     this.ribbonStatusBar1.ItemLinks.Add(this.cmdScaleDown);
     this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 470);
     this.ribbonStatusBar1.Name = "ribbonStatusBar1";
     this.ribbonStatusBar1.Ribbon = this.ribbonMain;
     this.ribbonStatusBar1.Size = new System.Drawing.Size(712, 24);
     //
     // ribbonPageGroup8
     //
     this.ribbonPageGroup8.ItemLinks.Add(this.barStaticItem1);
     this.ribbonPageGroup8.Name = "ribbonPageGroup8";
     this.ribbonPageGroup8.Text = "Description";
     //
     // ribbonPageGroup9
     //
     this.ribbonPageGroup9.ItemLinks.Add(this.barStaticItem1);
     this.ribbonPageGroup9.Name = "ribbonPageGroup9";
     this.ribbonPageGroup9.Text = "Description";
     //
     // popupMenu1
     //
     this.popupMenu1.Name = "popupMenu1";
     this.popupMenu1.Ribbon = this.ribbonMain;
     //
     // popupMenu2
     //
     this.popupMenu2.Name = "popupMenu2";
     this.popupMenu2.Ribbon = this.ribbonMain;
     //
     // popupMenu3
     //
     this.popupMenu3.ItemLinks.Add(this.cmdRenameTab);
     this.popupMenu3.ItemLinks.Add(this.cmdCloseTab);
     this.popupMenu3.Name = "popupMenu3";
     this.popupMenu3.Ribbon = this.ribbonMain;
     //
     // toolTipController1
     //
     this.toolTipController1.Rounded = true;
     this.toolTipController1.ShowBeak = true;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(712, 494);
     this.Controls.Add(this.pnlCountersTree);
     this.Controls.Add(this.ribbonMain);
     this.Controls.Add(this.ribbonStatusBar1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer = true;
     this.Name = "MainForm";
     this.Text = "Perf+  (Alpha - Expires February 2007)";
     this.Load += new System.EventHandler(this.MainForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.barDockMgr)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockMgr)).EndInit();
     this.pnlCountersTree.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lsttopToolbarImages)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabsMgr)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.imgRibbon)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu3)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #35
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(StrategiesCollectionForm));
     this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1 = new DevExpress.XtraBars.Bar();
     this.siAdd = new DevExpress.XtraBars.BarSubItem();
     this.biRemove = new DevExpress.XtraBars.BarButtonItem();
     this.biEdit = new DevExpress.XtraBars.BarButtonItem();
     this.biStart = new DevExpress.XtraBars.BarButtonItem();
     this.biStop = new DevExpress.XtraBars.BarButtonItem();
     this.biSimulation = new DevExpress.XtraBars.BarButtonItem();
     this.biOptimizeParams = new DevExpress.XtraBars.BarButtonItem();
     this.btShowData = new DevExpress.XtraBars.BarButtonItem();
     this.bcShowLog = new DevExpress.XtraBars.BarCheckItem();
     this.biSettings = new DevExpress.XtraBars.BarButtonItem();
     this.bar3 = new DevExpress.XtraBars.Bar();
     this.siStatus = new DevExpress.XtraBars.BarStaticItem();
     this.beSimulationProgress = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemProgressBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar();
     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.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components);
     this.dpLogPanel = new DevExpress.XtraBars.Docking.DockPanel();
     this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer();
     this.logMessagesControl = new CryptoMarketClient.LogMessagesControl();
     this.gridControl1 = new DevExpress.XtraGrid.GridControl();
     this.strategyBaseBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colEnabled = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.colDemoMode = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCheckEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.colDescription = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.colName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colStateText = new DevExpress.XtraGrid.Columns.GridColumn();
     this.riTextEditState = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.colEarned = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEnableNotifications = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCheckEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(this.components);
     this.toastNotificationsManager1 = new DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit();
     this.dpLogPanel.SuspendLayout();
     this.dockPanel1_Container.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.strategyBaseBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.riTextEditState)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager1)).BeginInit();
     this.SuspendLayout();
     //
     // barManager1
     //
     this.barManager1.AllowHtmlText = true;
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.bar1,
     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.DockManager = this.dockManager1;
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.siAdd,
     this.biRemove,
     this.biEdit,
     this.siStatus,
     this.biStart,
     this.biStop,
     this.btShowData,
     this.biSimulation,
     this.bcShowLog,
     this.biOptimizeParams,
     this.beSimulationProgress,
     this.biSettings});
     this.barManager1.MaxItemId = 15;
     this.barManager1.OptionsStubGlyphs.AllowStubGlyphs = DevExpress.Utils.DefaultBoolean.True;
     this.barManager1.OptionsStubGlyphs.CaseMode = DevExpress.Utils.Drawing.GlyphTextCaseMode.UpperCase;
     this.barManager1.OptionsStubGlyphs.CornerRadius = 3;
     this.barManager1.OptionsStubGlyphs.Font = new System.Drawing.Font("Segoe UI", 12F);
     this.barManager1.OptionsStubGlyphs.LetterCount = DevExpress.Utils.Drawing.GlyphTextSymbolCount.Two;
     this.barManager1.OptionsStubGlyphs.UseFont = true;
     this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemProgressBar1});
     //
     // bar1
     //
     this.bar1.BarAppearance.Hovered.FontStyleDelta = System.Drawing.FontStyle.Bold;
     this.bar1.BarAppearance.Hovered.Options.UseFont = true;
     this.bar1.BarAppearance.Normal.FontStyleDelta = System.Drawing.FontStyle.Bold;
     this.bar1.BarAppearance.Normal.Options.UseFont = true;
     this.bar1.BarAppearance.Pressed.FontStyleDelta = System.Drawing.FontStyle.Bold;
     this.bar1.BarAppearance.Pressed.Options.UseFont = true;
     this.bar1.BarName = "Tools";
     this.bar1.DockCol = 0;
     this.bar1.DockRow = 0;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.siAdd),
     new DevExpress.XtraBars.LinkPersistInfo(this.biRemove),
     new DevExpress.XtraBars.LinkPersistInfo(this.biEdit),
     new DevExpress.XtraBars.LinkPersistInfo(this.biStart, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.biStop),
     new DevExpress.XtraBars.LinkPersistInfo(this.biSimulation),
     new DevExpress.XtraBars.LinkPersistInfo(this.biOptimizeParams),
     new DevExpress.XtraBars.LinkPersistInfo(this.btShowData, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.bcShowLog),
     new DevExpress.XtraBars.LinkPersistInfo(this.biSettings)});
     this.bar1.OptionsBar.DrawBorder = false;
     this.bar1.OptionsBar.UseWholeRow = true;
     this.bar1.Text = "Tools";
     //
     // siAdd
     //
     this.siAdd.Caption = "New";
     this.siAdd.Id = 0;
     this.siAdd.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("siAdd.ImageOptions.SvgImage")));
     this.siAdd.Name = "siAdd";
     this.siAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // biRemove
     //
     this.biRemove.Caption = "Remove Selected";
     this.biRemove.Id = 1;
     this.biRemove.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biRemove.ImageOptions.SvgImage")));
     this.biRemove.Name = "biRemove";
     this.biRemove.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.biRemove.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biRemove_ItemClick);
     //
     // biEdit
     //
     this.biEdit.Caption = "Edit";
     this.biEdit.Id = 2;
     this.biEdit.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biEdit.ImageOptions.SvgImage")));
     this.biEdit.Name = "biEdit";
     this.biEdit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.biEdit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biEdit_ItemClick);
     //
     // biStart
     //
     this.biStart.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
     this.biStart.Caption = "<b>Run!</b>";
     this.biStart.Id = 4;
     this.biStart.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biStart.ImageOptions.SvgImage")));
     this.biStart.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Information;
     this.biStart.ItemAppearance.Normal.Options.UseForeColor = true;
     this.biStart.Name = "biStart";
     this.biStart.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.biStart.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biStart_ItemClick);
     //
     // biStop
     //
     this.biStop.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
     this.biStop.Caption = "<b>Stop</b>";
     this.biStop.Id = 5;
     this.biStop.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biStop.ImageOptions.SvgImage")));
     this.biStop.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Critical;
     this.biStop.ItemAppearance.Normal.Options.UseForeColor = true;
     this.biStop.Name = "biStop";
     this.biStop.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.biStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biStop_ItemClick);
     //
     // biSimulation
     //
     this.biSimulation.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
     this.biSimulation.Caption = "<b>Simulation</b>";
     this.biSimulation.Id = 8;
     this.biSimulation.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biSimulation.ImageOptions.SvgImage")));
     this.biSimulation.ItemAppearance.Hovered.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question;
     this.biSimulation.ItemAppearance.Hovered.Options.UseForeColor = true;
     this.biSimulation.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question;
     this.biSimulation.ItemAppearance.Normal.Options.UseForeColor = true;
     this.biSimulation.ItemAppearance.Pressed.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question;
     this.biSimulation.ItemAppearance.Pressed.Options.UseForeColor = true;
     this.biSimulation.Name = "biSimulation";
     this.biSimulation.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.biSimulation.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biSimulation_ItemClick);
     //
     // biOptimizeParams
     //
     this.biOptimizeParams.Caption = "Optimize Params";
     this.biOptimizeParams.Id = 11;
     this.biOptimizeParams.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biOptimizeParams.ImageOptions.SvgImage")));
     this.biOptimizeParams.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question;
     this.biOptimizeParams.ItemAppearance.Normal.Options.UseForeColor = true;
     this.biOptimizeParams.Name = "biOptimizeParams";
     this.biOptimizeParams.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.biOptimizeParams.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biOptimizeParams_ItemClick);
     //
     // btShowData
     //
     this.btShowData.Caption = "<b>Show Data</b>";
     this.btShowData.Id = 6;
     this.btShowData.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btShowData.ImageOptions.SvgImage")));
     this.btShowData.Name = "btShowData";
     this.btShowData.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.btShowData.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btShowData_ItemClick);
     //
     // bcShowLog
     //
     this.bcShowLog.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
     this.bcShowLog.Caption = "<b>Show Log</b>";
     this.bcShowLog.Id = 10;
     this.bcShowLog.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("bcShowLog.ImageOptions.SvgImage")));
     this.bcShowLog.Name = "bcShowLog";
     this.bcShowLog.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bcShowLog.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcShowLog_CheckedChanged);
     //
     // biSettings
     //
     this.biSettings.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
     this.biSettings.Caption = "Settings";
     this.biSettings.Id = 14;
     this.biSettings.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biSettings.ImageOptions.SvgImage")));
     this.biSettings.Name = "biSettings";
     this.biSettings.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.biSettings.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biSettings_ItemClick);
     //
     // bar3
     //
     this.bar3.BarName = "Status bar";
     this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
     this.bar3.DockCol = 0;
     this.bar3.DockRow = 0;
     this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
     this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.siStatus),
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Width, this.beSimulationProgress, "", false, true, true, 210)});
     this.bar3.OptionsBar.AllowQuickCustomization = false;
     this.bar3.OptionsBar.DrawDragBorder = false;
     this.bar3.OptionsBar.UseWholeRow = true;
     this.bar3.Text = "Status bar";
     //
     // siStatus
     //
     this.siStatus.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
     this.siStatus.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.siStatus.Caption = "    ";
     this.siStatus.Id = 3;
     this.siStatus.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Information;
     this.siStatus.ItemAppearance.Normal.Options.UseForeColor = true;
     this.siStatus.Name = "siStatus";
     //
     // beSimulationProgress
     //
     this.beSimulationProgress.AutoFillWidth = true;
     this.beSimulationProgress.Caption = "barEditItem1";
     this.beSimulationProgress.Edit = this.repositoryItemProgressBar1;
     this.beSimulationProgress.Id = 13;
     this.beSimulationProgress.Name = "beSimulationProgress";
     this.beSimulationProgress.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     //
     // repositoryItemProgressBar1
     //
     this.repositoryItemProgressBar1.Maximum = 100000;
     this.repositoryItemProgressBar1.Name = "repositoryItemProgressBar1";
     this.repositoryItemProgressBar1.ShowTitle = true;
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Manager = this.barManager1;
     this.barDockControlTop.Size = new System.Drawing.Size(1667, 60);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 974);
     this.barDockControlBottom.Manager = this.barManager1;
     this.barDockControlBottom.Size = new System.Drawing.Size(1667, 52);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 60);
     this.barDockControlLeft.Manager = this.barManager1;
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 914);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(1667, 60);
     this.barDockControlRight.Manager = this.barManager1;
     this.barDockControlRight.Size = new System.Drawing.Size(0, 914);
     //
     // dockManager1
     //
     this.dockManager1.Form = this;
     this.dockManager1.HiddenPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] {
     this.dpLogPanel});
     this.dockManager1.MenuManager = this.barManager1;
     this.dockManager1.TopZIndexControls.AddRange(new string[] {
     "DevExpress.XtraBars.BarDockControl",
     "DevExpress.XtraBars.StandaloneBarDockControl",
     "System.Windows.Forms.StatusBar",
     "System.Windows.Forms.MenuStrip",
     "System.Windows.Forms.StatusStrip",
     "DevExpress.XtraBars.Ribbon.RibbonStatusBar",
     "DevExpress.XtraBars.Ribbon.RibbonControl",
     "DevExpress.XtraBars.Navigation.OfficeNavigationBar",
     "DevExpress.XtraBars.Navigation.TileNavPane",
     "DevExpress.XtraBars.TabFormControl",
     "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl",
     "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl"});
     //
     // dpLogPanel
     //
     this.dpLogPanel.Controls.Add(this.dockPanel1_Container);
     this.dpLogPanel.Dock = DevExpress.XtraBars.Docking.DockingStyle.Bottom;
     this.dpLogPanel.ID = new System.Guid("10bbb36d-c4c6-4135-83c3-42595d23e751");
     this.dpLogPanel.Location = new System.Drawing.Point(0, 526);
     this.dpLogPanel.Name = "dpLogPanel";
     this.dpLogPanel.OriginalSize = new System.Drawing.Size(200, 441);
     this.dpLogPanel.SavedDock = DevExpress.XtraBars.Docking.DockingStyle.Bottom;
     this.dpLogPanel.SavedIndex = 0;
     this.dpLogPanel.Size = new System.Drawing.Size(1667, 441);
     this.dpLogPanel.Text = "Log";
     this.dpLogPanel.Visibility = DevExpress.XtraBars.Docking.DockVisibility.Hidden;
     //
     // dockPanel1_Container
     //
     this.dockPanel1_Container.Controls.Add(this.logMessagesControl);
     this.dockPanel1_Container.Location = new System.Drawing.Point(8, 51);
     this.dockPanel1_Container.Name = "dockPanel1_Container";
     this.dockPanel1_Container.Size = new System.Drawing.Size(1651, 382);
     this.dockPanel1_Container.TabIndex = 0;
     //
     // logMessagesControl
     //
     this.logMessagesControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.logMessagesControl.Location = new System.Drawing.Point(0, 0);
     this.logMessagesControl.Name = "logMessagesControl";
     this.logMessagesControl.Size = new System.Drawing.Size(1651, 382);
     this.logMessagesControl.TabIndex = 0;
     //
     // gridControl1
     //
     this.gridControl1.DataSource = this.strategyBaseBindingSource;
     this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(0, 60);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.MenuManager = this.barManager1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemTextEdit1,
     this.repositoryItemCheckEdit1,
     this.repositoryItemCheckEdit2,
     this.repositoryItemCheckEdit3,
     this.riTextEditState});
     this.gridControl1.Size = new System.Drawing.Size(1667, 914);
     this.gridControl1.TabIndex = 4;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     this.gridControl1.Click += new System.EventHandler(this.gridControl1_Click);
     //
     // strategyBaseBindingSource
     //
     this.strategyBaseBindingSource.DataSource = typeof(Crypto.Core.Strategies.StrategyBase);
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colEnabled,
     this.colDemoMode,
     this.colDescription,
     this.colName,
     this.colStateText,
     this.colEarned,
     this.colEnableNotifications});
     this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFullFocus;
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsDetail.EnableMasterViewMode = false;
     this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView1.OptionsView.BestFitMode = DevExpress.XtraGrid.Views.Grid.GridBestFitMode.Full;
     this.gridView1.OptionsView.ShowHorizontalLines = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsView.ShowVerticalLines = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridView1_RowStyle);
     //
     // colEnabled
     //
     this.colEnabled.ColumnEdit = this.repositoryItemCheckEdit1;
     this.colEnabled.FieldName = "Enabled";
     this.colEnabled.MinWidth = 40;
     this.colEnabled.Name = "colEnabled";
     this.colEnabled.Visible = true;
     this.colEnabled.VisibleIndex = 0;
     this.colEnabled.Width = 160;
     //
     // repositoryItemCheckEdit1
     //
     this.repositoryItemCheckEdit1.AutoHeight = false;
     this.repositoryItemCheckEdit1.CheckBoxOptions.Style = DevExpress.XtraEditors.Controls.CheckBoxStyle.SvgToggle1;
     this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
     this.repositoryItemCheckEdit1.EditValueChanged += new System.EventHandler(this.repositoryItemCheckEdit1_EditValueChanged);
     //
     // colDemoMode
     //
     this.colDemoMode.ColumnEdit = this.repositoryItemCheckEdit2;
     this.colDemoMode.FieldName = "DemoMode";
     this.colDemoMode.MinWidth = 40;
     this.colDemoMode.Name = "colDemoMode";
     this.colDemoMode.Visible = true;
     this.colDemoMode.VisibleIndex = 1;
     this.colDemoMode.Width = 195;
     //
     // repositoryItemCheckEdit2
     //
     this.repositoryItemCheckEdit2.AutoHeight = false;
     this.repositoryItemCheckEdit2.CheckBoxOptions.Style = DevExpress.XtraEditors.Controls.CheckBoxStyle.SvgToggle1;
     this.repositoryItemCheckEdit2.Name = "repositoryItemCheckEdit2";
     this.repositoryItemCheckEdit2.EditValueChanged += new System.EventHandler(this.repositoryItemCheckEdit2_EditValueChanged);
     //
     // colDescription
     //
     this.colDescription.ColumnEdit = this.repositoryItemTextEdit1;
     this.colDescription.FieldName = "Description";
     this.colDescription.MinWidth = 40;
     this.colDescription.Name = "colDescription";
     this.colDescription.OptionsColumn.AllowEdit = false;
     this.colDescription.Width = 554;
     //
     // repositoryItemTextEdit1
     //
     this.repositoryItemTextEdit1.AutoHeight = false;
     this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
     this.repositoryItemTextEdit1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
     //
     // colName
     //
     this.colName.FieldName = "Name";
     this.colName.MinWidth = 40;
     this.colName.Name = "colName";
     this.colName.OptionsColumn.AllowEdit = false;
     this.colName.OptionsColumn.ReadOnly = true;
     this.colName.Visible = true;
     this.colName.VisibleIndex = 3;
     this.colName.Width = 361;
     //
     // colStateText
     //
     this.colStateText.ColumnEdit = this.riTextEditState;
     this.colStateText.FieldName = "StateText";
     this.colStateText.MinWidth = 40;
     this.colStateText.Name = "colStateText";
     this.colStateText.OptionsColumn.AllowEdit = false;
     this.colStateText.Visible = true;
     this.colStateText.VisibleIndex = 4;
     this.colStateText.Width = 366;
     //
     // riTextEditState
     //
     this.riTextEditState.AllowHtmlDraw = DevExpress.Utils.DefaultBoolean.True;
     this.riTextEditState.AutoHeight = false;
     this.riTextEditState.Name = "riTextEditState";
     //
     // colEarned
     //
     this.colEarned.DisplayFormat.FormatString = "0.0000000";
     this.colEarned.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.colEarned.FieldName = "Earned";
     this.colEarned.MinWidth = 40;
     this.colEarned.Name = "colEarned";
     this.colEarned.OptionsColumn.AllowEdit = false;
     this.colEarned.Visible = true;
     this.colEarned.VisibleIndex = 5;
     this.colEarned.Width = 412;
     //
     // colEnableNotifications
     //
     this.colEnableNotifications.Caption = "Notifications";
     this.colEnableNotifications.ColumnEdit = this.repositoryItemCheckEdit3;
     this.colEnableNotifications.FieldName = "EnableNotifications";
     this.colEnableNotifications.MinWidth = 40;
     this.colEnableNotifications.Name = "colEnableNotifications";
     this.colEnableNotifications.Visible = true;
     this.colEnableNotifications.VisibleIndex = 2;
     this.colEnableNotifications.Width = 137;
     //
     // repositoryItemCheckEdit3
     //
     this.repositoryItemCheckEdit3.AutoHeight = false;
     this.repositoryItemCheckEdit3.CheckBoxOptions.Style = DevExpress.XtraEditors.Controls.CheckBoxStyle.SvgToggle1;
     this.repositoryItemCheckEdit3.Name = "repositoryItemCheckEdit3";
     this.repositoryItemCheckEdit3.EditValueChanged += new System.EventHandler(this.repositoryItemCheckEdit3_EditValueChanged);
     //
     // toastNotificationsManager1
     //
     this.toastNotificationsManager1.ApplicationId = "ab6decea-81d2-4ad9-b8b7-45653fe59087";
     this.toastNotificationsManager1.Notifications.AddRange(new DevExpress.XtraBars.ToastNotifications.IToastNotificationProperties[] {
     new DevExpress.XtraBars.ToastNotifications.ToastNotification("404ef86f-183c-4fea-960b-86f54e52ea76", global::Crypto.UI.Properties.Resources.notification_image2, "Strategies Simulator", "Strategy simulation finished!", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationSound.Default, DevExpress.XtraBars.ToastNotifications.ToastNotificationDuration.Long, DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01)});
     //
     // StrategiesCollectionForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1667, 1026);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name = "StrategiesCollectionForm";
     this.Text = "Active Strategies";
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit();
     this.dpLogPanel.ResumeLayout(false);
     this.dockPanel1_Container.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.strategyBaseBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.riTextEditState)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Beispiel #36
0
        /// <summary>
        /// 资源树的右键事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void OnTreeListPopMenuShow(object sender, PopupMenuShowingEventArgs e)
        {
            TreeList        tree            = sender as TreeList;
            TreeListHitInfo treeListHitInfo = tree.CalcHitInfo(e.Point);

            if (treeListHitInfo.HitInfoType == HitInfoType.Cell)
            {
                tree.SetFocusedNode(treeListHitInfo.Node);
            }
            if (tree.FocusedNode != null)
            {
                var item = navigationTreeList.GetRow(tree.FocusedNode.Id);
                if (item is ResourceItem)
                {
                    ResourceItem _item = item as ResourceItem;
                    popupMenu1.ClearLinks();
                    IResource resource = _item.Resource;
                    if (resource.ResourceMetaData != null &&
                        resource.ResourceMetaData.ContextActionTypes != null &&
                        resource.ResourceMetaData.ContextActionTypes.Count > 0)
                    {
                        foreach (Type itemActionType in resource.ResourceMetaData.ContextActionTypes)
                        {
                            IContextMenuItemAction contextMenuItemAction = IocManager.Instance.Resolve(itemActionType) as IContextMenuItemAction;
                            if (contextMenuItemAction.IsSplitor)
                            {
                                var link = popupMenu1.AddItem(new BarLargeButtonItem());
                                link.BeginGroup = true;
                            }
                            else
                            {
                                contextMenuItemAction.Sender = resource;
                                var buttonItem = new DevExpress.XtraBars.BarButtonItem(this.barManager1, contextMenuItemAction.Caption);
                                buttonItem.ImageOptions.Image = contextMenuItemAction.ItemIcon;
                                buttonItem.ItemClick         += (itemSender, ee) =>
                                {
                                    contextMenuItemAction.Excute();
                                };

                                popupMenu1.AddItem(
                                    buttonItem
                                    );
                            }
                        }
                        Point p = new Point(Cursor.Position.X, Cursor.Position.Y);
                        popupMenu1.ShowPopup(p);
                    }
                }
                else if (item is DirectoryItem)
                {
                    popupMenu1.ClearLinks();
                    var barbutton = new DevExpress.XtraBars.BarButtonItem(this.barManager1, "打开资源文件目录");
                    barbutton.ImageOptions.Image = AssemblyResource.GetResourceImage(Assembly.GetExecutingAssembly(), "ZtgeoGISDesktop.Icons.ResourceManager16.png");
                    barbutton.ItemClick         += (itemSender, ee) =>
                    {
                        System.Diagnostics.Process.Start("explorer.exe", ((DirectoryItem)item).FullName);
                    };
                    var barbutton2 = new DevExpress.XtraBars.BarButtonItem(this.barManager1, "刷新");
                    barbutton2.ImageOptions.Image = AssemblyResource.GetResourceImage(Assembly.GetExecutingAssembly(), "ZtgeoGISDesktop.Icons.Refesh16.png");
                    barbutton2.ItemClick         += (itemSender, ee) =>
                    {
                        //tree.FocusedNode.Collapse();
                        //tree.FocusedNode.HasChildren = true;
                        //tree.RefreshNode(tree.FocusedNode);
                        tree.RefreshDataSource();
                    };
                    popupMenu1.AddItem(barbutton); popupMenu1.AddItem(barbutton2);
                    Point p = new Point(Cursor.Position.X, Cursor.Position.Y);
                    popupMenu1.ShowPopup(p);
                }
                else if (item is FileItem)
                {
                }
            }
        }
        private void ShowMergePopup(DragEventArgs e)
        {
            DevExpress.XtraBars.PopupMenu buttonContextMenu;
            DevExpress.XtraBars.BarButtonItem menuButtonExport = new DevExpress.XtraBars.BarButtonItem();
            DevExpress.XtraBars.BarButtonItem menuButtonSave = new DevExpress.XtraBars.BarButtonItem();

            var barManager1 = new BarManager();
            barManager1.Form = this;
            buttonContextMenu = new DevExpress.XtraBars.PopupMenu(barManager1);
            buttonContextMenu.Name = "subViewContextMenu";

            menuButtonExport.Caption = "Слить";
            menuButtonExport.Id = 1;
            menuButtonExport.Name = "menuButtonMerge";
            //menuButtonExport.ItemClick += new ItemClickEventHandler(menuButtonExport_ItemClick);

            menuButtonSave.Caption = "Добавить";
            menuButtonSave.Id = 2;
            menuButtonSave.Name = "menuButtonAdd";
            //menuButtonSave.ItemClick += new ItemClickEventHandler(menuButtonSave_ItemClick);
            //add items to barmanager
            barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[]
            {
                menuButtonExport,
                menuButtonSave
            });
            //create links between bar items and popup
            buttonContextMenu.ItemLinks.Add(barManager1.Items["menuButtonMerge"]);
            buttonContextMenu.ItemLinks.Add(barManager1.Items["menuButtonAdd"]);

            //finally set the context menu to the control or use the showpopup method on right click of control
            //barManager1.SetPopupContextMenu(btnInsert, buttonContextMenu);
            //buttonContextMenu.ShowPopup(treeShop.PointToClient(new Point(e.X, e.Y)));
            buttonContextMenu.ShowPopup(new Point(e.X, e.Y));
        }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
     DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.SuperToolTip superToolTip2 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipItem toolTipItem2 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.SuperToolTip superToolTip3 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipItem toolTipItem3 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.SuperToolTip superToolTip4 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipItem toolTipItem4 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.SuperToolTip superToolTip5 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipItem toolTipItem5 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.SuperToolTip superToolTip6 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipItem toolTipItem6 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.SuperToolTip superToolTip7 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem1 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.ToolTipItem toolTipItem7 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.SuperToolTip superToolTip8 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem2 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.ToolTipItem toolTipItem8 = new DevExpress.Utils.ToolTipItem();
     this.rbcMain = new DevExpress.XtraBars.Ribbon.RibbonControl();
     this.imgCollection = new DevExpress.Utils.ImageCollection(this.components);
     this.bbiKhachHang = new DevExpress.XtraBars.BarButtonItem();
     this.bbiHangHoa = new DevExpress.XtraBars.BarButtonItem();
     this.bbiNhomHang = new DevExpress.XtraBars.BarButtonItem();
     this.bbiKho = new DevExpress.XtraBars.BarButtonItem();
     this.bbiAuthor = new DevExpress.XtraBars.BarButtonItem();
     this.bbiKhuVuc = new DevExpress.XtraBars.BarButtonItem();
     this.bbiNhapKho = new DevExpress.XtraBars.BarButtonItem();
     this.bbiXuatKho = new DevExpress.XtraBars.BarButtonItem();
     this.bbiTonKho = new DevExpress.XtraBars.BarButtonItem();
     this.lblServer = new DevExpress.XtraBars.BarStaticItem();
     this.lblDatabase = new DevExpress.XtraBars.BarStaticItem();
     this.ISystem = new DevExpress.XtraBars.BarButtonItem();
     this.IInit = new DevExpress.XtraBars.BarButtonItem();
     this.IInward = new DevExpress.XtraBars.BarButtonItem();
     this.IOutward = new DevExpress.XtraBars.BarButtonItem();
     this.ITransfer = new DevExpress.XtraBars.BarButtonItem();
     this.IAdjustment = new DevExpress.XtraBars.BarButtonItem();
     this.IInventory = new DevExpress.XtraBars.BarButtonItem();
     this.IPacket = new DevExpress.XtraBars.BarButtonItem();
     this.bbiClose = new DevExpress.XtraBars.BarButtonItem();
     this.bbiUserGroup = new DevExpress.XtraBars.BarButtonItem();
     this.bbiUsers = new DevExpress.XtraBars.BarButtonItem();
     this.bbiUpdateOnline = new DevExpress.XtraBars.BarButtonItem();
     this.bbiUpdateOffline = new DevExpress.XtraBars.BarButtonItem();
     this.biiHelpNormal = new DevExpress.XtraBars.BarButtonItem();
     this.biiHelpVideo = new DevExpress.XtraBars.BarButtonItem();
     this.bbiSaoLuu = new DevExpress.XtraBars.BarButtonItem();
     this.bbiPhucHoi = new DevExpress.XtraBars.BarButtonItem();
     this.bbiXuatNhapTon = new DevExpress.XtraBars.BarButtonItem();
     this.bbiLichSu = new DevExpress.XtraBars.BarButtonItem();
     this.bbiTheKho = new DevExpress.XtraBars.BarButtonItem();
     this.bbiNhanVien = new DevExpress.XtraBars.BarButtonItem();
     this.bbiCuaHang = new DevExpress.XtraBars.BarButtonItem();
     this.bbiThuChi = new DevExpress.XtraBars.BarButtonItem();
     this.bbiCongNo = new DevExpress.XtraBars.BarButtonItem();
     this.bbiTheNo = new DevExpress.XtraBars.BarButtonItem();
     this.bbiDoanhThu = new DevExpress.XtraBars.BarButtonItem();
     this.bbiCongNoChungTu = new DevExpress.XtraBars.BarButtonItem();
     this.rbpHeThong = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.rbpgDong = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.rbpDanhMuc = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.rbpgDoiTac = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.rbpgKhoHang = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.rbpgThongTinCuaHang = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.rbpKhoHang = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.rbpgQuanLyKho = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.rbpgBaoCao = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.rpbgCongNo = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.rpbgDoanhThu = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.rbsMain = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
     this.tabMdi = new DevExpress.XtraTabbedMdi.XtraTabbedMdiManager(this.components);
     this.ImgSmall = new DevExpress.Utils.ImageCollection(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.rbcMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.imgCollection)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabMdi)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ImgSmall)).BeginInit();
     this.SuspendLayout();
     //
     // rbcMain
     //
     this.rbcMain.ApplicationCaption = "Phần Mềm Quản Lý Kho";
     this.rbcMain.ApplicationIcon = global::Do_An_Quan_Ly_Kho.Properties.Resources._1438776525_deliverables;
     this.rbcMain.AutoSizeItems = true;
     this.rbcMain.ExpandCollapseItem.Id = 0;
     this.rbcMain.Images = this.imgCollection;
     this.rbcMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.rbcMain.ExpandCollapseItem,
     this.bbiKhachHang,
     this.bbiHangHoa,
     this.bbiNhomHang,
     this.bbiKho,
     this.bbiAuthor,
     this.bbiKhuVuc,
     this.bbiNhapKho,
     this.bbiXuatKho,
     this.bbiTonKho,
     this.lblServer,
     this.lblDatabase,
     this.ISystem,
     this.IInit,
     this.IInward,
     this.IOutward,
     this.ITransfer,
     this.IAdjustment,
     this.IInventory,
     this.IPacket,
     this.bbiClose,
     this.bbiUserGroup,
     this.bbiUsers,
     this.bbiUpdateOnline,
     this.bbiUpdateOffline,
     this.biiHelpNormal,
     this.biiHelpVideo,
     this.bbiSaoLuu,
     this.bbiPhucHoi,
     this.bbiXuatNhapTon,
     this.bbiLichSu,
     this.bbiTheKho,
     this.bbiNhanVien,
     this.bbiCuaHang,
     this.bbiThuChi,
     this.bbiCongNo,
     this.bbiTheNo,
     this.bbiDoanhThu,
     this.bbiCongNoChungTu});
     this.rbcMain.LargeImages = this.imgCollection;
     this.rbcMain.Location = new System.Drawing.Point(0, 0);
     this.rbcMain.MaxItemId = 330;
     this.rbcMain.MdiMergeStyle = DevExpress.XtraBars.Ribbon.RibbonMdiMergeStyle.Always;
     this.rbcMain.Name = "rbcMain";
     this.rbcMain.PageHeaderItemLinks.Add(this.lblServer);
     this.rbcMain.PageHeaderItemLinks.Add(this.lblDatabase);
     this.rbcMain.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
     this.rbpHeThong,
     this.rbpDanhMuc,
     this.rbpKhoHang});
     this.rbcMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemTextEdit1});
     this.rbcMain.ShowCategoryInCaption = false;
     this.rbcMain.Size = new System.Drawing.Size(1016, 144);
     this.rbcMain.StatusBar = this.rbsMain;
     this.rbcMain.TransparentEditors = true;
     //
     // imgCollection
     //
     this.imgCollection.ImageSize = new System.Drawing.Size(32, 32);
     this.imgCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imgCollection.ImageStream")));
     this.imgCollection.Images.SetKeyName(0, "Ket Thuc.png");
     this.imgCollection.Images.SetKeyName(1, "Nguoi Dung.png");
     this.imgCollection.Images.SetKeyName(2, "Phan Quyen.png");
     this.imgCollection.Images.SetKeyName(3, "Thay Doi Mat Khau.png");
     this.imgCollection.Images.SetKeyName(4, "Thong Tin.png");
     this.imgCollection.Images.SetKeyName(5, "Ton Kho.png");
     this.imgCollection.Images.SetKeyName(6, "Tuy Chon.png");
     this.imgCollection.Images.SetKeyName(7, "Import.png");
     this.imgCollection.Images.SetKeyName(8, "Khoa So.png");
     this.imgCollection.Images.SetKeyName(9, "Bo Phan.png");
     this.imgCollection.Images.SetKeyName(10, "Dinh Muc.png");
     this.imgCollection.Images.SetKeyName(11, "Don Vi Tinh.png");
     this.imgCollection.Images.SetKeyName(12, "Hang Hoa.png");
     this.imgCollection.Images.SetKeyName(13, "Khach Hang.png");
     this.imgCollection.Images.SetKeyName(14, "Kho.png");
     this.imgCollection.Images.SetKeyName(15, "Nha Phan Phoi.png");
     this.imgCollection.Images.SetKeyName(16, "Nhan Vien.png");
     this.imgCollection.Images.SetKeyName(17, "Nhom Hang.png");
     this.imgCollection.Images.SetKeyName(18, "Loai Doi Tac.png");
     this.imgCollection.Images.SetKeyName(19, "Nhom Doi Tac.png");
     this.imgCollection.Images.SetKeyName(20, "Bang Ke Chuyen Kho.png");
     this.imgCollection.Images.SetKeyName(21, "Bang Ke Kiem Ke.png");
     this.imgCollection.Images.SetKeyName(22, "Bang Ke Xuat Kho.png");
     this.imgCollection.Images.SetKeyName(23, "Bang KeNhap Kho.png");
     this.imgCollection.Images.SetKeyName(24, "Canh Bao Ton Kho.png");
     this.imgCollection.Images.SetKeyName(25, "Chuyen Kho.png");
     this.imgCollection.Images.SetKeyName(26, "Dong Goi BTP.png");
     this.imgCollection.Images.SetKeyName(27, "Kiem Ke.png");
     this.imgCollection.Images.SetKeyName(28, "Nhap Kho.png");
     this.imgCollection.Images.SetKeyName(29, "ReportWithChart256.png");
     this.imgCollection.Images.SetKeyName(30, "Ton Kho.png");
     this.imgCollection.Images.SetKeyName(31, "Xuat Kho.png");
     this.imgCollection.Images.SetKeyName(32, "Xuat Va Dong Goi.png");
     this.imgCollection.Images.SetKeyName(33, "Yeu Cau Dat Hang.png");
     this.imgCollection.Images.SetKeyName(34, "Yeu Cau Dat Hang.png");
     this.imgCollection.Images.SetKeyName(35, "Bang Ke Lap Rap.png");
     this.imgCollection.Images.SetKeyName(36, "Bang Len Ke Hoach.png");
     this.imgCollection.Images.SetKeyName(37, "Ke Hoach.png");
     this.imgCollection.Images.SetKeyName(38, "Lap Rap.png");
     this.imgCollection.Images.SetKeyName(39, "Tinh Gia Ban.png");
     this.imgCollection.Images.SetKeyName(40, "Bao Cao The Kho.png");
     this.imgCollection.Images.SetKeyName(41, "Bao Cao Ton Kho.png");
     this.imgCollection.Images.SetKeyName(42, "Duoi Dinh Muc.png");
     this.imgCollection.Images.SetKeyName(43, "Khac.png");
     this.imgCollection.Images.SetKeyName(44, "So Chi Tiet.png");
     this.imgCollection.Images.SetKeyName(45, "Vuot Dinh Muc.png");
     this.imgCollection.Images.SetKeyName(46, "Han Su Dung.png");
     this.imgCollection.Images.SetKeyName(47, "Dong Goi Thanh Pham.png");
     this.imgCollection.Images.SetKeyName(48, "Cap Nhat.png");
     this.imgCollection.Images.SetKeyName(49, "Dang Ky.png");
     this.imgCollection.Images.SetKeyName(50, "Huong Dan Su Dung.png");
     this.imgCollection.Images.SetKeyName(51, "Lien He.png");
     this.imgCollection.Images.SetKeyName(52, "Thong Tin.png");
     this.imgCollection.Images.SetKeyName(53, "Trang Chu.png");
     this.imgCollection.Images.SetKeyName(54, "Dang Ky.png");
     this.imgCollection.Images.SetKeyName(55, "databasebackup.png");
     this.imgCollection.Images.SetKeyName(56, "databaserestore.png");
     this.imgCollection.Images.SetKeyName(57, "Ban Ke Xuat Kho.png");
     this.imgCollection.Images.SetKeyName(58, "Bang Ke Nhap Kho.png");
     this.imgCollection.Images.SetKeyName(59, "Bang Ke Chuyen kho1.png");
     this.imgCollection.Images.SetKeyName(60, "Trang Chu.ico");
     this.imgCollection.Images.SetKeyName(61, "Cap Nhap Truc Tuyen.ico");
     this.imgCollection.Images.SetKeyName(62, "Huong Dan Su Dung.ico");
     this.imgCollection.Images.SetKeyName(63, "Lien He.ico");
     this.imgCollection.Images.SetKeyName(64, "Dang Xuat.png");
     this.imgCollection.Images.SetKeyName(65, "Copy of Stop.png");
     this.imgCollection.Images.SetKeyName(66, "Copy of Sync.png");
     this.imgCollection.Images.SetKeyName(67, "SuaChua.png");
     this.imgCollection.Images.SetKeyName(68, "NhatKyHeThong.png");
     this.imgCollection.Images.SetKeyName(69, "TimKiemChungTu.png");
     this.imgCollection.Images.SetKeyName(70, "16.ico");
     this.imgCollection.Images.SetKeyName(71, "database.ico");
     this.imgCollection.Images.SetKeyName(72, "StockPNG.png");
     this.imgCollection.Images.SetKeyName(73, "RibbonPrintPreview_DocumentMapLarge.png");
     this.imgCollection.Images.SetKeyName(74, "RibbonPrintPreview_CustomizeLarge.png");
     this.imgCollection.Images.SetKeyName(75, "plugin.ico");
     this.imgCollection.Images.SetKeyName(76, "Cau Hinh.png");
     this.imgCollection.Images.SetKeyName(77, "Sua Chua.png");
     this.imgCollection.Images.SetKeyName(78, "System868632.png");
     this.imgCollection.Images.SetKeyName(79, "Dossier fichier compressé32.png");
     this.imgCollection.Images.SetKeyName(80, "Barcode32.png");
     this.imgCollection.Images.SetKeyName(81, "PhanQuyen.png");
     this.imgCollection.Images.SetKeyName(82, "PhanQuyen.png");
     this.imgCollection.Images.SetKeyName(83, "1285643018_gnutella.png");
     this.imgCollection.Images.SetKeyName(84, "1285643049_network-offline.png");
     this.imgCollection.Images.SetKeyName(85, "1285643131_network-offline.png");
     this.imgCollection.Images.SetKeyName(86, "1285643150_gnutella.png");
     this.imgCollection.Images.SetKeyName(87, "1284429314_import.png");
     this.imgCollection.Images.SetKeyName(88, "1287538982_help-contents.png");
     this.imgCollection.Images.SetKeyName(89, "1287539858_page_white_world.png");
     this.imgCollection.Images.SetKeyName(90, "1287540090_video.png");
     this.imgCollection.Images.SetKeyName(91, "Lap Rap.png");
     this.imgCollection.Images.SetKeyName(92, "Yeu Cau Dat Hang.png");
     this.imgCollection.Images.SetKeyName(93, "Noi Ha.png");
     this.imgCollection.Images.SetKeyName(94, "1316226941_currencyexchange.png");
     this.imgCollection.Images.SetKeyName(95, "1323220185_home_page.png");
     this.imgCollection.Images.SetKeyName(96, "1323224048_home.png");
     this.imgCollection.Images.SetKeyName(97, "1323224110_1 - Home.png");
     this.imgCollection.Images.SetKeyName(98, "6_barcode_box.gif");
     this.imgCollection.Images.SetKeyName(99, "20-512.png");
     this.imgCollection.Images.SetKeyName(100, "1438422363_receipt.png");
     this.imgCollection.Images.SetKeyName(101, "1438776229_product.png");
     this.imgCollection.Images.SetKeyName(102, "1438776525_deliverables.png");
     this.imgCollection.Images.SetKeyName(103, "1438776535_Box_Empty.png");
     this.imgCollection.Images.SetKeyName(104, "1438776543_package-x-generic.png");
     this.imgCollection.Images.SetKeyName(105, "Address_Book.png");
     this.imgCollection.Images.SetKeyName(106, "barcode_icon (1).jpg");
     this.imgCollection.Images.SetKeyName(107, "barcode_icon.jpg");
     this.imgCollection.Images.SetKeyName(108, "connect_creating.png");
     this.imgCollection.Images.SetKeyName(109, "connect_no (1).png");
     this.imgCollection.Images.SetKeyName(110, "connect_no (2).png");
     this.imgCollection.Images.SetKeyName(111, "connect_no.png");
     this.imgCollection.Images.SetKeyName(112, "default_logo.png");
     this.imgCollection.Images.SetKeyName(113, "document-excel-icon - Copy - Copy - Copy.png");
     this.imgCollection.Images.SetKeyName(114, "document-excel-icon - Copy - Copy (2).png");
     this.imgCollection.Images.SetKeyName(115, "document-excel-icon - Copy - Copy.png");
     this.imgCollection.Images.SetKeyName(116, "document-excel-icon - Copy (2) - Copy.png");
     this.imgCollection.Images.SetKeyName(117, "document-excel-icon - Copy (2).png");
     this.imgCollection.Images.SetKeyName(118, "document-excel-icon - Copy (3).png");
     this.imgCollection.Images.SetKeyName(119, "document-excel-icon - Copy.png");
     this.imgCollection.Images.SetKeyName(120, "document-excel-icon.png");
     this.imgCollection.Images.SetKeyName(121, "Dust_factory_gas_industry_oil_plant_pollution_building_company_production_smoke-5" +
     "12 - Copy.png");
     this.imgCollection.Images.SetKeyName(122, "Dust_factory_gas_industry_oil_plant_pollution_building_company_production_smoke-5" +
     "12.png");
     this.imgCollection.Images.SetKeyName(123, "Excel-icon (1) - Copy - Copy - Copy.png");
     this.imgCollection.Images.SetKeyName(124, "Excel-icon (1) - Copy - Copy.png");
     this.imgCollection.Images.SetKeyName(125, "Excel-icon (1) - Copy.png");
     this.imgCollection.Images.SetKeyName(126, "Excel-icon (1).png");
     this.imgCollection.Images.SetKeyName(127, "Excel-icon (2) - Copy - Copy.png");
     this.imgCollection.Images.SetKeyName(128, "Excel-icon (2) - Copy.png");
     this.imgCollection.Images.SetKeyName(129, "Excel-icon (2).png");
     this.imgCollection.Images.SetKeyName(130, "Excel-icon.png");
     this.imgCollection.Images.SetKeyName(131, "file-complete-icon.png");
     this.imgCollection.Images.SetKeyName(132, "general_options.png");
     this.imgCollection.Images.SetKeyName(133, "Group-icon.png");
     this.imgCollection.Images.SetKeyName(134, "icon_company.png");
     this.imgCollection.Images.SetKeyName(135, "icon-companies.png");
     this.imgCollection.Images.SetKeyName(136, "icon-company-incorporation.png");
     this.imgCollection.Images.SetKeyName(137, "Icon-Printer.png");
     this.imgCollection.Images.SetKeyName(138, "Icon-Printer02-Black.png");
     this.imgCollection.Images.SetKeyName(139, "images.jpg");
     this.imgCollection.Images.SetKeyName(140, "location-icon-map-map-pin-icon.png");
     this.imgCollection.Images.SetKeyName(141, "map.png");
     this.imgCollection.Images.SetKeyName(142, "Multimedia_communication_flat_mobile_Technology-08-31-512.png");
     this.imgCollection.Images.SetKeyName(143, "point-512.png");
     this.imgCollection.Images.SetKeyName(144, "printer (1).png");
     this.imgCollection.Images.SetKeyName(145, "printer.png");
     this.imgCollection.Images.SetKeyName(146, "printer-icon-clip-art.jpg");
     this.imgCollection.Images.SetKeyName(147, "Receipt-2-icon.png");
     this.imgCollection.Images.SetKeyName(148, "Receipt-4-icon.png");
     this.imgCollection.Images.SetKeyName(149, "Receipt-icon.png");
     this.imgCollection.Images.SetKeyName(150, "redlaser-icon.png");
     this.imgCollection.Images.SetKeyName(151, "unnamed.png");
     this.imgCollection.Images.SetKeyName(152, "usb_port_2-512.png");
     this.imgCollection.Images.SetKeyName(153, "users-icon.png");
     this.imgCollection.Images.SetKeyName(154, "vector-printer-icon-14574274.jpg");
     this.imgCollection.Images.SetKeyName(155, "vspc-icon-256.png");
     this.imgCollection.Images.SetKeyName(156, "24-7.png");
     this.imgCollection.Images.SetKeyName(157, "A-baby-cot.png");
     this.imgCollection.Images.SetKeyName(158, "Account.png");
     this.imgCollection.Images.SetKeyName(159, "Add Event.png");
     this.imgCollection.Images.SetKeyName(160, "Alarm-clock.png");
     this.imgCollection.Images.SetKeyName(161, "A-rollaway-bed.png");
     this.imgCollection.Images.SetKeyName(162, "Autoship.png");
     this.imgCollection.Images.SetKeyName(163, "Baby.png");
     this.imgCollection.Images.SetKeyName(164, "Binary-tree.png");
     this.imgCollection.Images.SetKeyName(165, "Breakfast.png");
     this.imgCollection.Images.SetKeyName(166, "Business-info.png");
     this.imgCollection.Images.SetKeyName(167, "Calendar-selection-all.png");
     this.imgCollection.Images.SetKeyName(168, "Calendar-selection-day.png");
     this.imgCollection.Images.SetKeyName(169, "calendar-selection-month.png");
     this.imgCollection.Images.SetKeyName(170, "Calendar-selection-week.png");
     this.imgCollection.Images.SetKeyName(171, "Contact.png");
     this.imgCollection.Images.SetKeyName(172, "Couple.png");
     this.imgCollection.Images.SetKeyName(173, "Create-ticket.png");
     this.imgCollection.Images.SetKeyName(174, "Direct-walkway.png");
     this.imgCollection.Images.SetKeyName(175, "Distributor-report.png");
     this.imgCollection.Images.SetKeyName(176, "Download.png");
     this.imgCollection.Images.SetKeyName(177, "Drive.png");
     this.imgCollection.Images.SetKeyName(178, "Earning-statement.png");
     this.imgCollection.Images.SetKeyName(179, "Event-search.png");
     this.imgCollection.Images.SetKeyName(180, "Female-user-accept.png");
     this.imgCollection.Images.SetKeyName(181, "Female-user-add.png");
     this.imgCollection.Images.SetKeyName(182, "Female-user-edit.png");
     this.imgCollection.Images.SetKeyName(183, "Female-user-help.png");
     this.imgCollection.Images.SetKeyName(184, "Female-user-info.png");
     this.imgCollection.Images.SetKeyName(185, "Female-user-remove.png");
     this.imgCollection.Images.SetKeyName(186, "Female-user-search.png");
     this.imgCollection.Images.SetKeyName(187, "Female-user-warning.png");
     this.imgCollection.Images.SetKeyName(188, "Geology-view.png");
     this.imgCollection.Images.SetKeyName(189, "Globe-download.png");
     this.imgCollection.Images.SetKeyName(190, "Globe-warning.png");
     this.imgCollection.Images.SetKeyName(191, "Gift.png");
     this.imgCollection.Images.SetKeyName(192, "Insert-hyperlink.png");
     this.imgCollection.Images.SetKeyName(193, "Library.png");
     this.imgCollection.Images.SetKeyName(194, "Library2.png");
     this.imgCollection.Images.SetKeyName(195, "Link.png");
     this.imgCollection.Images.SetKeyName(196, "Mail-search.png");
     this.imgCollection.Images.SetKeyName(197, "Message-already-read.png");
     this.imgCollection.Images.SetKeyName(198, "My-tickets.png");
     this.imgCollection.Images.SetKeyName(199, "Order-history.png");
     this.imgCollection.Images.SetKeyName(200, "Ordering.png");
     this.imgCollection.Images.SetKeyName(201, "Packing1.png");
     this.imgCollection.Images.SetKeyName(202, "Payment-card.png");
     this.imgCollection.Images.SetKeyName(203, "Product-sale-report.png");
     this.imgCollection.Images.SetKeyName(204, "Rank History.png");
     this.imgCollection.Images.SetKeyName(205, "Reports.png");
     this.imgCollection.Images.SetKeyName(206, "Sales-by-payment-method.png");
     this.imgCollection.Images.SetKeyName(207, "Sales-report.png");
     this.imgCollection.Images.SetKeyName(208, "Search-globe.png");
     this.imgCollection.Images.SetKeyName(209, "Select-language.png");
     this.imgCollection.Images.SetKeyName(210, "Upline.png");
     this.imgCollection.Images.SetKeyName(211, "Upload.png");
     this.imgCollection.Images.SetKeyName(212, "Web-management.png");
     this.imgCollection.Images.SetKeyName(213, "Woman.png");
     this.imgCollection.Images.SetKeyName(214, "Zoom-in.png");
     this.imgCollection.Images.SetKeyName(215, "Zoom-out.png");
     this.imgCollection.Images.SetKeyName(216, "addons256.png");
     this.imgCollection.Images.SetKeyName(217, "analysis256.png");
     this.imgCollection.Images.SetKeyName(218, "announcements256.png");
     this.imgCollection.Images.SetKeyName(219, "attachment256.png");
     this.imgCollection.Images.SetKeyName(220, "Autocomplete256.png");
     this.imgCollection.Images.SetKeyName(221, "billboard256.png");
     this.imgCollection.Images.SetKeyName(222, "calendar-selection-all256.png");
     this.imgCollection.Images.SetKeyName(223, "calendar-selection-day256.png");
     this.imgCollection.Images.SetKeyName(224, "calendar-selection-month256.png");
     this.imgCollection.Images.SetKeyName(225, "calendar-selection-week256.png");
     this.imgCollection.Images.SetKeyName(226, "catalog256.png");
     this.imgCollection.Images.SetKeyName(227, "content256.png");
     this.imgCollection.Images.SetKeyName(228, "content-reorder256.png");
     this.imgCollection.Images.SetKeyName(229, "content-tree256.png");
     this.imgCollection.Images.SetKeyName(230, "continue256.png");
     this.imgCollection.Images.SetKeyName(231, "examples256.png");
     this.imgCollection.Images.SetKeyName(232, "file-explorer256.png");
     this.imgCollection.Images.SetKeyName(233, "Folder-Accept256.png");
     this.imgCollection.Images.SetKeyName(234, "Folder-Add256.png");
     this.imgCollection.Images.SetKeyName(235, "Folder-Delete256.png");
     this.imgCollection.Images.SetKeyName(236, "Folder-Info256.png");
     this.imgCollection.Images.SetKeyName(237, "Folder-Warning256.png");
     this.imgCollection.Images.SetKeyName(238, "glossary256.png");
     this.imgCollection.Images.SetKeyName(239, "go-into256.png");
     this.imgCollection.Images.SetKeyName(240, "hide-left256.png");
     this.imgCollection.Images.SetKeyName(241, "hide-right256.png");
     this.imgCollection.Images.SetKeyName(242, "key256.png");
     this.imgCollection.Images.SetKeyName(243, "keys256.png");
     this.imgCollection.Images.SetKeyName(244, "layout256.png");
     this.imgCollection.Images.SetKeyName(245, "locked256.png");
     this.imgCollection.Images.SetKeyName(246, "mailbox256.png");
     this.imgCollection.Images.SetKeyName(247, "maintenance256.png");
     this.imgCollection.Images.SetKeyName(248, "navigate-down256.png");
     this.imgCollection.Images.SetKeyName(249, "navigate-left256.png");
     this.imgCollection.Images.SetKeyName(250, "navigate-right256.png");
     this.imgCollection.Images.SetKeyName(251, "navigate-up256.png");
     this.imgCollection.Images.SetKeyName(252, "options256.png");
     this.imgCollection.Images.SetKeyName(253, "1438776229_product.png");
     this.imgCollection.Images.SetKeyName(254, "1438776525_deliverables.png");
     this.imgCollection.Images.SetKeyName(255, "1438776535_Box_Empty.png");
     this.imgCollection.Images.SetKeyName(256, "1438776543_package-x-generic.png");
     this.imgCollection.Images.SetKeyName(257, "1438862627_vector_65_04.png");
     this.imgCollection.Images.SetKeyName(258, "1438862630_atm-money-machine.png");
     this.imgCollection.Images.SetKeyName(259, "1438862633_atm-machine.png");
     this.imgCollection.Images.SetKeyName(260, "1438862635_Emblem-Money-64.png");
     this.imgCollection.Images.SetKeyName(261, "1438862637_safe.png");
     this.imgCollection.Images.SetKeyName(262, "1438862639_money_bag.png");
     this.imgCollection.Images.SetKeyName(263, "1438862738_7.png");
     this.imgCollection.Images.SetKeyName(264, "1438862746_list.png");
     this.imgCollection.Images.SetKeyName(265, "1438862750_download box seule.png");
     this.imgCollection.Images.SetKeyName(266, "1438862755_inventory-maintenance.png");
     this.imgCollection.Images.SetKeyName(267, "1438862762_Box.png");
     this.imgCollection.Images.SetKeyName(268, "1438862828_floppy-disk.png");
     this.imgCollection.Images.SetKeyName(269, "1438862828_vector_66_12.png");
     this.imgCollection.Images.SetKeyName(270, "1438862829_Black-Drive-Backup.png");
     this.imgCollection.Images.SetKeyName(271, "1438862831_backup.png");
     this.imgCollection.Images.SetKeyName(272, "1438862832__Drive_Restore.png");
     this.imgCollection.Images.SetKeyName(273, "1438862834_restore.png");
     this.imgCollection.Images.SetKeyName(274, "1438862836_restore_window.png");
     this.imgCollection.Images.SetKeyName(275, "Address_Book.png");
     this.imgCollection.Images.SetKeyName(276, "1438863911_box-in.png");
     this.imgCollection.Images.SetKeyName(277, "1438863913_03_In.png");
     this.imgCollection.Images.SetKeyName(278, "1438863914_open_in_browser.png");
     this.imgCollection.Images.SetKeyName(279, "1438863917_sign-out.png");
     this.imgCollection.Images.SetKeyName(280, "1438863919_sign-out.png");
     this.imgCollection.Images.SetKeyName(281, "1438863921_box-out.png");
     this.imgCollection.Images.SetKeyName(282, "1438863924_02_Out.png");
     //
     // bbiKhachHang
     //
     this.bbiKhachHang.Caption = "Khách Hàng";
     this.bbiKhachHang.Id = 25;
     this.bbiKhachHang.ImageIndex = 13;
     this.bbiKhachHang.LargeImageIndex = 198;
     this.bbiKhachHang.Name = "bbiKhachHang";
     toolTipItem1.Text = "Quản lý khách hàng";
     superToolTip1.Items.Add(toolTipItem1);
     this.bbiKhachHang.SuperTip = superToolTip1;
     this.bbiKhachHang.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiKhachHang_ItemClick);
     //
     // bbiHangHoa
     //
     this.bbiHangHoa.Caption = "Hàng Hoá";
     this.bbiHangHoa.Id = 27;
     this.bbiHangHoa.ImageIndex = 47;
     this.bbiHangHoa.LargeImageIndex = 158;
     this.bbiHangHoa.Name = "bbiHangHoa";
     toolTipItem2.Text = "Quản lý hàng hoá, dịch vụ";
     superToolTip2.Items.Add(toolTipItem2);
     this.bbiHangHoa.SuperTip = superToolTip2;
     this.bbiHangHoa.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiHangHoa_ItemClick);
     //
     // bbiNhomHang
     //
     this.bbiNhomHang.Caption = "Nhóm Hàng";
     this.bbiNhomHang.Id = 29;
     this.bbiNhomHang.ImageIndex = 75;
     this.bbiNhomHang.LargeImageIndex = 188;
     this.bbiNhomHang.Name = "bbiNhomHang";
     toolTipItem3.Text = "Nhóm sản phẩm";
     superToolTip3.Items.Add(toolTipItem3);
     this.bbiNhomHang.SuperTip = superToolTip3;
     this.bbiNhomHang.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiNhomHang_ItemClick);
     //
     // bbiKho
     //
     this.bbiKho.Caption = "Kho";
     this.bbiKho.Id = 30;
     this.bbiKho.ImageIndex = 14;
     this.bbiKho.LargeImageIndex = 201;
     this.bbiKho.Name = "bbiKho";
     toolTipItem4.Text = "Quản lý kho hàng";
     superToolTip4.Items.Add(toolTipItem4);
     this.bbiKho.SuperTip = superToolTip4;
     this.bbiKho.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiKho_ItemClick);
     //
     // bbiAuthor
     //
     this.bbiAuthor.Caption = "Tác giả";
     this.bbiAuthor.Id = 38;
     this.bbiAuthor.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiAuthor.LargeGlyph")));
     this.bbiAuthor.Name = "bbiAuthor";
     //
     // bbiKhuVuc
     //
     this.bbiKhuVuc.Caption = "Khu Vực";
     this.bbiKhuVuc.Id = 133;
     this.bbiKhuVuc.ImageIndex = 19;
     this.bbiKhuVuc.LargeImageIndex = 172;
     this.bbiKhuVuc.Name = "bbiKhuVuc";
     this.bbiKhuVuc.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiKhuVuc_ItemClick);
     //
     // bbiNhapKho
     //
     this.bbiNhapKho.Caption = "Nhập";
     this.bbiNhapKho.Description = "Quản lý nhập kho";
     this.bbiNhapKho.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiNhapKho.Glyph")));
     this.bbiNhapKho.Hint = "Quản lý nhập kho";
     this.bbiNhapKho.Id = 136;
     this.bbiNhapKho.LargeImageIndex = 276;
     this.bbiNhapKho.Name = "bbiNhapKho";
     toolTipItem5.Text = "Quản lý nhập kho";
     superToolTip5.Items.Add(toolTipItem5);
     this.bbiNhapKho.SuperTip = superToolTip5;
     this.bbiNhapKho.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiNhapKho_ItemClick);
     //
     // bbiXuatKho
     //
     this.bbiXuatKho.Caption = "Xuất";
     this.bbiXuatKho.Description = "Quản lý xuất kho";
     this.bbiXuatKho.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiXuatKho.Glyph")));
     this.bbiXuatKho.Hint = "Quản lý xuất kho";
     this.bbiXuatKho.Id = 138;
     this.bbiXuatKho.LargeImageIndex = 281;
     this.bbiXuatKho.Name = "bbiXuatKho";
     toolTipItem6.Text = "Quản lý xuất kho\r\n";
     superToolTip6.Items.Add(toolTipItem6);
     this.bbiXuatKho.SuperTip = superToolTip6;
     this.bbiXuatKho.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiXuatKho_ItemClick);
     //
     // bbiTonKho
     //
     this.bbiTonKho.Caption = "Tồn Kho";
     this.bbiTonKho.Id = 187;
     this.bbiTonKho.ImageIndex = 30;
     this.bbiTonKho.LargeImageIndex = 267;
     this.bbiTonKho.Name = "bbiTonKho";
     this.bbiTonKho.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiTonKho_ItemClick);
     //
     // lblServer
     //
     this.lblServer.Caption = "Máy Chủ: ";
     this.lblServer.Id = 227;
     this.lblServer.ImageIndex = 233;
     this.lblServer.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblServer.ItemAppearance.Normal.Options.UseFont = true;
     this.lblServer.Name = "lblServer";
     toolTipTitleItem1.Text = "Nhấn đúp chuột vào để mở phần mềm quản lý cơ sở dữ liệu";
     toolTipItem7.LeftIndent = 6;
     toolTipItem7.Text = "Chú ý: mọi thao tác trên trên phần mềm quản lý cơ sở dữ liệu đều phải sao lưu dữ " +
     "liệu trước, phòng trường hợp thao tác nhằm, hoặc lỗi do sự cố ngoài ý muốn...";
     superToolTip7.Items.Add(toolTipTitleItem1);
     superToolTip7.Items.Add(toolTipItem7);
     this.lblServer.SuperTip = superToolTip7;
     this.lblServer.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // lblDatabase
     //
     this.lblDatabase.Caption = "CSDL:";
     this.lblDatabase.Id = 237;
     this.lblDatabase.ImageIndex = 273;
     this.lblDatabase.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblDatabase.ItemAppearance.Normal.Options.UseFont = true;
     this.lblDatabase.Name = "lblDatabase";
     toolTipTitleItem2.Text = "Nhấn đúp chuột vào đây để sử dụng một cơ sở dữ liệu khác.";
     toolTipItem8.LeftIndent = 6;
     toolTipItem8.Text = "Chú ý: Sau khi cấu hình thành công, khởi động lại phần mềm để nạp cấu hình mới.";
     superToolTip8.Items.Add(toolTipTitleItem2);
     superToolTip8.Items.Add(toolTipItem8);
     this.lblDatabase.SuperTip = superToolTip8;
     this.lblDatabase.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // ISystem
     //
     this.ISystem.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.ISystem.Caption = "Hệ Thống";
     this.ISystem.Id = 255;
     this.ISystem.ImageIndex = 78;
     this.ISystem.LargeImageIndex = 78;
     this.ISystem.Name = "ISystem";
     this.ISystem.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IInit
     //
     this.IInit.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IInit.Caption = "Nhập Số Dư Ban Đầu";
     this.IInit.Id = 256;
     this.IInit.ImageIndex = 79;
     this.IInit.LargeImageIndex = 79;
     this.IInit.Name = "IInit";
     this.IInit.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IInward
     //
     this.IInward.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IInward.Caption = "Nhập Kho";
     this.IInward.Id = 257;
     this.IInward.ImageIndex = 28;
     this.IInward.LargeImageIndex = 28;
     this.IInward.Name = "IInward";
     this.IInward.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IOutward
     //
     this.IOutward.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IOutward.Caption = "Xuất Kho";
     this.IOutward.Id = 258;
     this.IOutward.ImageIndex = 31;
     this.IOutward.LargeImageIndex = 31;
     this.IOutward.Name = "IOutward";
     this.IOutward.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // ITransfer
     //
     this.ITransfer.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.ITransfer.Caption = "Chuyển Kho";
     this.ITransfer.Id = 259;
     this.ITransfer.ImageIndex = 25;
     this.ITransfer.LargeImageIndex = 25;
     this.ITransfer.Name = "ITransfer";
     this.ITransfer.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IAdjustment
     //
     this.IAdjustment.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IAdjustment.Caption = "Kiểm Kê";
     this.IAdjustment.Id = 260;
     this.IAdjustment.ImageIndex = 27;
     this.IAdjustment.LargeImageIndex = 27;
     this.IAdjustment.Name = "IAdjustment";
     this.IAdjustment.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IInventory
     //
     this.IInventory.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IInventory.Caption = "Tồn Kho";
     this.IInventory.Id = 261;
     this.IInventory.ImageIndex = 30;
     this.IInventory.LargeImageIndex = 30;
     this.IInventory.Name = "IInventory";
     this.IInventory.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IPacket
     //
     this.IPacket.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IPacket.Caption = "Đóng Gói";
     this.IPacket.Id = 264;
     this.IPacket.ImageIndex = 26;
     this.IPacket.LargeImageIndex = 26;
     this.IPacket.Name = "IPacket";
     //
     // bbiClose
     //
     this.bbiClose.Caption = "Kết Thúc";
     this.bbiClose.Description = "Kết thúc";
     this.bbiClose.Hint = "Kết thúc";
     this.bbiClose.Id = 132;
     this.bbiClose.ImageIndex = 0;
     this.bbiClose.LargeImageIndex = 239;
     this.bbiClose.Name = "bbiClose";
     this.bbiClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BbiCloseItemClick);
     //
     // bbiUserGroup
     //
     this.bbiUserGroup.Caption = "Vai Trò && Quyền Hạn";
     this.bbiUserGroup.Id = 295;
     this.bbiUserGroup.ImageIndex = 2;
     this.bbiUserGroup.LargeImageIndex = 2;
     this.bbiUserGroup.Name = "bbiUserGroup";
     this.bbiUserGroup.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     //
     // bbiUsers
     //
     this.bbiUsers.Caption = "Người Dùng";
     this.bbiUsers.Id = 296;
     this.bbiUsers.ImageIndex = 1;
     this.bbiUsers.LargeImageIndex = 1;
     this.bbiUsers.Name = "bbiUsers";
     this.bbiUsers.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     //
     // bbiUpdateOnline
     //
     this.bbiUpdateOnline.Caption = "Cập Nhật Trực Tuyến";
     this.bbiUpdateOnline.Id = 300;
     this.bbiUpdateOnline.ImageIndex = 86;
     this.bbiUpdateOnline.Name = "bbiUpdateOnline";
     //
     // bbiUpdateOffline
     //
     this.bbiUpdateOffline.Caption = "Cập Nhật Thông Thường";
     this.bbiUpdateOffline.Id = 301;
     this.bbiUpdateOffline.ImageIndex = 85;
     this.bbiUpdateOffline.Name = "bbiUpdateOffline";
     //
     // biiHelpNormal
     //
     this.biiHelpNormal.Caption = "Tài Liệu Hướng Dẫn";
     this.biiHelpNormal.Id = 306;
     this.biiHelpNormal.ImageIndex = 89;
     this.biiHelpNormal.LargeImageIndex = 89;
     this.biiHelpNormal.Name = "biiHelpNormal";
     //
     // biiHelpVideo
     //
     this.biiHelpVideo.Caption = "Video Hướng Dẫn";
     this.biiHelpVideo.Id = 307;
     this.biiHelpVideo.ImageIndex = 90;
     this.biiHelpVideo.LargeImageIndex = 90;
     this.biiHelpVideo.Name = "biiHelpVideo";
     //
     // bbiSaoLuu
     //
     this.bbiSaoLuu.Caption = "Sao Lưu";
     this.bbiSaoLuu.Id = 315;
     this.bbiSaoLuu.ImageIndex = 55;
     this.bbiSaoLuu.LargeImageIndex = 177;
     this.bbiSaoLuu.Name = "bbiSaoLuu";
     this.bbiSaoLuu.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiBackUp_ItemClick);
     //
     // bbiPhucHoi
     //
     this.bbiPhucHoi.Caption = "Phục Hồi";
     this.bbiPhucHoi.Id = 316;
     this.bbiPhucHoi.ImageIndex = 56;
     this.bbiPhucHoi.LargeImageIndex = 271;
     this.bbiPhucHoi.Name = "bbiPhucHoi";
     this.bbiPhucHoi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiPhucHoi_ItemClick);
     //
     // bbiXuatNhapTon
     //
     this.bbiXuatNhapTon.Caption = "Xuất Nhập Tồn";
     this.bbiXuatNhapTon.Id = 318;
     this.bbiXuatNhapTon.ImageIndex = 33;
     this.bbiXuatNhapTon.LargeImageIndex = 103;
     this.bbiXuatNhapTon.Name = "bbiXuatNhapTon";
     this.bbiXuatNhapTon.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiXuatNhapTon_ItemClick);
     //
     // bbiLichSu
     //
     this.bbiLichSu.Caption = "Lịch Sử";
     this.bbiLichSu.Id = 319;
     this.bbiLichSu.ImageIndex = 68;
     this.bbiLichSu.LargeImageIndex = 238;
     this.bbiLichSu.Name = "bbiLichSu";
     this.bbiLichSu.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiLichSu_ItemClick);
     //
     // bbiTheKho
     //
     this.bbiTheKho.Caption = "Thẻ Kho";
     this.bbiTheKho.Id = 320;
     this.bbiTheKho.ImageIndex = 26;
     this.bbiTheKho.LargeImageIndex = 218;
     this.bbiTheKho.Name = "bbiTheKho";
     this.bbiTheKho.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiTheKho_ItemClick);
     //
     // bbiNhanVien
     //
     this.bbiNhanVien.Caption = "Nhân Viên";
     this.bbiNhanVien.Id = 322;
     this.bbiNhanVien.LargeImageIndex = 163;
     this.bbiNhanVien.Name = "bbiNhanVien";
     this.bbiNhanVien.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiNhanVien_ItemClick);
     //
     // bbiCuaHang
     //
     this.bbiCuaHang.Caption = "Cửa Hàng";
     this.bbiCuaHang.Id = 323;
     this.bbiCuaHang.LargeImageIndex = 246;
     this.bbiCuaHang.Name = "bbiCuaHang";
     this.bbiCuaHang.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiCuaHang_ItemClick);
     //
     // bbiThuChi
     //
     this.bbiThuChi.Caption = "Thu Chi";
     this.bbiThuChi.Id = 324;
     this.bbiThuChi.ImageIndex = 39;
     this.bbiThuChi.LargeImageIndex = 147;
     this.bbiThuChi.Name = "bbiThuChi";
     this.bbiThuChi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiThuChi_ItemClick);
     //
     // bbiCongNo
     //
     this.bbiCongNo.Caption = "Công Nợ";
     this.bbiCongNo.Id = 325;
     this.bbiCongNo.LargeImageIndex = 262;
     this.bbiCongNo.Name = "bbiCongNo";
     this.bbiCongNo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiCongNo_ItemClick);
     //
     // bbiTheNo
     //
     this.bbiTheNo.Caption = "Thẻ Nợ";
     this.bbiTheNo.Id = 326;
     this.bbiTheNo.LargeImageIndex = 257;
     this.bbiTheNo.Name = "bbiTheNo";
     this.bbiTheNo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiTheNo_ItemClick);
     //
     // bbiDoanhThu
     //
     this.bbiDoanhThu.Caption = "Doanh Thu";
     this.bbiDoanhThu.Id = 328;
     this.bbiDoanhThu.LargeImageIndex = 263;
     this.bbiDoanhThu.Name = "bbiDoanhThu";
     this.bbiDoanhThu.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiDoanhThu_ItemClick);
     //
     // bbiCongNoChungTu
     //
     this.bbiCongNoChungTu.Caption = "Công Nợ Chứng Từ";
     this.bbiCongNoChungTu.Id = 329;
     this.bbiCongNoChungTu.LargeImageIndex = 93;
     this.bbiCongNoChungTu.Name = "bbiCongNoChungTu";
     this.bbiCongNoChungTu.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiCongNoChungTu_ItemClick);
     //
     // rbpHeThong
     //
     this.rbpHeThong.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.rbpgDong});
     this.rbpHeThong.Name = "rbpHeThong";
     this.rbpHeThong.Text = "Hệ Thống";
     //
     // rbpgDong
     //
     this.rbpgDong.ItemLinks.Add(this.bbiClose);
     this.rbpgDong.ItemLinks.Add(this.bbiSaoLuu);
     this.rbpgDong.ItemLinks.Add(this.bbiPhucHoi);
     this.rbpgDong.KeyTip = "KE";
     this.rbpgDong.Name = "rbpgDong";
     this.rbpgDong.ShowCaptionButton = false;
     this.rbpgDong.Text = "Hệ Thống";
     //
     // rbpDanhMuc
     //
     this.rbpDanhMuc.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.rbpgDoiTac,
     this.rbpgKhoHang,
     this.rbpgThongTinCuaHang});
     this.rbpDanhMuc.Name = "rbpDanhMuc";
     this.rbpDanhMuc.Text = "Danh Mục";
     //
     // rbpgDoiTac
     //
     this.rbpgDoiTac.ItemLinks.Add(this.bbiKhuVuc);
     this.rbpgDoiTac.ItemLinks.Add(this.bbiKhachHang);
     this.rbpgDoiTac.Name = "rbpgDoiTac";
     this.rbpgDoiTac.ShowCaptionButton = false;
     this.rbpgDoiTac.Text = "Đối Tác";
     //
     // rbpgKhoHang
     //
     this.rbpgKhoHang.ItemLinks.Add(this.bbiKho);
     this.rbpgKhoHang.ItemLinks.Add(this.bbiNhomHang);
     this.rbpgKhoHang.ItemLinks.Add(this.bbiHangHoa);
     this.rbpgKhoHang.Name = "rbpgKhoHang";
     this.rbpgKhoHang.ShowCaptionButton = false;
     this.rbpgKhoHang.Text = "Kho Hàng";
     //
     // rbpgThongTinCuaHang
     //
     this.rbpgThongTinCuaHang.ItemLinks.Add(this.bbiNhanVien);
     this.rbpgThongTinCuaHang.ItemLinks.Add(this.bbiCuaHang);
     this.rbpgThongTinCuaHang.Name = "rbpgThongTinCuaHang";
     this.rbpgThongTinCuaHang.Text = "Thông Tin Cửa Hàng";
     //
     // rbpKhoHang
     //
     this.rbpKhoHang.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.rbpgQuanLyKho,
     this.rbpgBaoCao,
     this.rpbgCongNo,
     this.rpbgDoanhThu});
     this.rbpKhoHang.Name = "rbpKhoHang";
     this.rbpKhoHang.Text = "Kho Hàng";
     //
     // rbpgQuanLyKho
     //
     this.rbpgQuanLyKho.ItemLinks.Add(this.bbiNhapKho);
     this.rbpgQuanLyKho.ItemLinks.Add(this.bbiXuatKho);
     this.rbpgQuanLyKho.Name = "rbpgQuanLyKho";
     this.rbpgQuanLyKho.ShowCaptionButton = false;
     this.rbpgQuanLyKho.Text = "Quản Lý Kho";
     //
     // rbpgBaoCao
     //
     this.rbpgBaoCao.ItemLinks.Add(this.bbiTonKho);
     this.rbpgBaoCao.ItemLinks.Add(this.bbiXuatNhapTon);
     this.rbpgBaoCao.ItemLinks.Add(this.bbiTheKho);
     this.rbpgBaoCao.ItemLinks.Add(this.bbiLichSu);
     this.rbpgBaoCao.Name = "rbpgBaoCao";
     this.rbpgBaoCao.Text = "Báo Cáo";
     //
     // rpbgCongNo
     //
     this.rpbgCongNo.ItemLinks.Add(this.bbiThuChi);
     this.rpbgCongNo.ItemLinks.Add(this.bbiCongNo);
     this.rpbgCongNo.ItemLinks.Add(this.bbiTheNo);
     this.rpbgCongNo.ItemLinks.Add(this.bbiCongNoChungTu);
     this.rpbgCongNo.Name = "rpbgCongNo";
     this.rpbgCongNo.Text = "Công Nợ";
     //
     // rpbgDoanhThu
     //
     this.rpbgDoanhThu.ItemLinks.Add(this.bbiDoanhThu);
     this.rpbgDoanhThu.Name = "rpbgDoanhThu";
     this.rpbgDoanhThu.Text = "Doanh Thu";
     //
     // repositoryItemTextEdit1
     //
     this.repositoryItemTextEdit1.AutoHeight = false;
     this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
     //
     // rbsMain
     //
     this.rbsMain.Location = new System.Drawing.Point(0, 736);
     this.rbsMain.Name = "rbsMain";
     this.rbsMain.Ribbon = this.rbcMain;
     this.rbsMain.Size = new System.Drawing.Size(1016, 31);
     //
     // tabMdi
     //
     this.tabMdi.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPagesAndTabControlHeader;
     this.tabMdi.HeaderButtons = ((DevExpress.XtraTab.TabButtons)((((DevExpress.XtraTab.TabButtons.Prev | DevExpress.XtraTab.TabButtons.Next)
     | DevExpress.XtraTab.TabButtons.Close)
     | DevExpress.XtraTab.TabButtons.Default)));
     this.tabMdi.HeaderButtonsShowMode = DevExpress.XtraTab.TabButtonShowMode.Always;
     this.tabMdi.HeaderOrientation = DevExpress.XtraTab.TabOrientation.Horizontal;
     this.tabMdi.MdiParent = this;
     this.tabMdi.SetNextMdiChildMode = DevExpress.XtraTabbedMdi.SetNextMdiChildMode.Windows;
     this.tabMdi.ShowHeaderFocus = DevExpress.Utils.DefaultBoolean.True;
     this.tabMdi.ShowToolTips = DevExpress.Utils.DefaultBoolean.True;
     //
     // ImgSmall
     //
     this.ImgSmall.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("ImgSmall.ImageStream")));
     this.ImgSmall.Images.SetKeyName(0, "Ket Thuc.png");
     this.ImgSmall.Images.SetKeyName(1, "1285643018_gnutella.png");
     this.ImgSmall.Images.SetKeyName(2, "1285643049_network-offline.png");
     this.ImgSmall.Images.SetKeyName(3, "1284429314_import.png");
     this.ImgSmall.Images.SetKeyName(4, "1287538982_help-contents.png");
     //
     // FrmMain
     //
     this.ClientSize = new System.Drawing.Size(1016, 767);
     this.Controls.Add(this.rbsMain);
     this.Controls.Add(this.rbcMain);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer = true;
     this.Name = "FrmMain";
     this.Ribbon = this.rbcMain;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.StatusBar = this.rbsMain;
     this.Text = "Phần Mềm Quản Lý Kho";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     ((System.ComponentModel.ISupportInitialize)(this.rbcMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.imgCollection)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabMdi)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ImgSmall)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Beispiel #39
0
        public static void CreateBusinessMenu(
            GridView gridViewMaster,
            DevExpress.XtraBars.BarSubItem barSubItem1,
            string fieldName,
            string[] captions,
            string[] ImageNames,
            DelegationLib.CallFunction_MulIn_NoOut[] delegates,
            PermissionItem[] pers)
        {
            if (captions == null)
            {
                //barSubItem1.Enabled = false;
                barSubItem1.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
                return;
            }

            int index = 0;
            foreach (string s in captions)
            {
                //Start Check Permission
                if (pers != null)
                {
                    if (pers[index] != null)
                    {
                        if (ApplyPermissionAction.checkPermission(pers[index]) == null ||
                            ApplyPermissionAction.checkPermission(pers[index]) == false)
                        {
                            index++;
                            continue;
                        }
                    }
                }
                //End Check Permission

                DevExpress.XtraBars.BarButtonItem temp = new DevExpress.XtraBars.BarButtonItem();
                temp.Caption = captions[index];
                temp.Name = index.ToString();
                if (!ImageNames[index].Equals(""))
                {
                    temp.Glyph = ResourceMan.getImage16(ImageNames[index]);
                }
                temp.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
                temp.ItemClick += delegate(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
                {
                    if (gridViewMaster.SelectedRowsCount < 1)
                    {
                        HelpMsgBox.ShowNotificationMessage("Vui lòng chọn dữ liệu !");
                        return;
                    }
                    //Lấy danh sách các giá trị (row[fieldName]) đang chọn
                    List<object> objs = new List<object>();
                    foreach (int i in gridViewMaster.GetSelectedRows())
                    {
                        DataRow row = gridViewMaster.GetDataRow(i);
                        objs.Add(row[fieldName]);
                    }

                    //Chọn xử lý tương ứng với chọn lựa
                    delegates[HelpNumber.ParseInt32(e.Item.Name)](objs);
                };

                barSubItem1.ItemLinks.Add(temp);
                index++;
            }
            //Không có chọn lựa ẩn luôn.
            if (barSubItem1.ItemLinks == null || barSubItem1.ItemLinks.Count == 0)
                barSubItem1.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
        }
Beispiel #40
0
 /// <summary>
 /// لعملية فتح وغلق الباتونات الخاصة بالعمليات
 /// </summary>
 /// <param name="btn_Update"></param>
 /// <param name="btn_Edit"></param>
 /// <param name="btn_Delete"></param>
 /// <param name="EditDeleteEqFalseSaveEqTrue"></param>
 public static void buttonSaveEditDelete(DevExpress.XtraBars.BarButtonItem btn_Update, DevExpress.XtraBars.BarButtonItem btn_Edit, DevExpress.XtraBars.BarButtonItem btn_Delete, bool EditDeleteEqFalseSaveEqTrue)
 {
     btn_Update.Enabled = EditDeleteEqFalseSaveEqTrue;
     btn_Delete.Enabled = !EditDeleteEqFalseSaveEqTrue;
     btn_Edit.Enabled   = !EditDeleteEqFalseSaveEqTrue;
 }
Beispiel #41
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.barManager1          = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1                 = new DevExpress.XtraBars.Bar();
     this.barButtonItem1       = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem2       = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3       = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem4       = new DevExpress.XtraBars.BarButtonItem();
     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.simpleButton1        = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     this.SuspendLayout();
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
         this.bar1
     });
     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.barButtonItem1,
         this.barButtonItem2,
         this.barButtonItem3,
         this.barButtonItem4
     });
     this.barManager1.MaxItemId = 4;
     //
     // bar1
     //
     this.bar1.BarName   = "Custom 1";
     this.bar1.DockCol   = 0;
     this.bar1.DockRow   = 0;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)
     });
     this.bar1.Text = "Custom 1";
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "Item1";
     this.barButtonItem1.Id      = 0;
     this.barButtonItem1.Name    = "barButtonItem1";
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "barButtonItem2";
     this.barButtonItem2.Id      = 1;
     this.barButtonItem2.Name    = "barButtonItem2";
     //
     // barButtonItem3
     //
     this.barButtonItem3.Caption = "barButtonItem3";
     this.barButtonItem3.Id      = 2;
     this.barButtonItem3.Name    = "barButtonItem3";
     //
     // barButtonItem4
     //
     this.barButtonItem4.Caption = "barButtonItem4";
     this.barButtonItem4.Id      = 3;
     this.barButtonItem4.Name    = "barButtonItem4";
     //
     // barDockControlTop
     //
     this.barDockControlTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size     = new System.Drawing.Size(292, 24);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 266);
     this.barDockControlBottom.Size     = new System.Drawing.Size(292, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.Dock     = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 24);
     this.barDockControlLeft.Size     = new System.Drawing.Size(0, 242);
     //
     // barDockControlRight
     //
     this.barDockControlRight.Dock     = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(292, 24);
     this.barDockControlRight.Size     = new System.Drawing.Size(0, 242);
     //
     // simpleButton1
     //
     this.simpleButton1.Location   = new System.Drawing.Point(72, 160);
     this.simpleButton1.Name       = "simpleButton1";
     this.simpleButton1.Size       = new System.Drawing.Size(152, 23);
     this.simpleButton1.TabIndex   = 4;
     this.simpleButton1.Text       = "Drag me";
     this.simpleButton1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.simpleButton1_MouseMove);
     //
     // Form1
     //
     this.AllowDrop         = true;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 266);
     this.Controls.Add(this.simpleButton1);
     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      = "How to drag a custom object and drop it onto an XtraBars toolbar item";
     this.DragDrop += new System.Windows.Forms.DragEventHandler(this.Form1_DragDrop);
     this.DragOver += new System.Windows.Forms.DragEventHandler(this.Form1_DragOver);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     this.ResumeLayout(false);
 }
        private void frmIDE_Load(object sender, EventArgs e)
        {
            //frmImage f = new frmImage();
            //f.MdiParent = this;
            //f.WindowState = FormWindowState.Maximized;
            //f.Show();

            //comprobamos si se han pasado parámetros
            if (Environment.GetCommandLineArgs().Length > 1)
            {
                //String[] parametros = Environment.GetCommandLineArgs();

                string srtUsuario    = Environment.GetCommandLineArgs()[1];
                string srtClave      = Environment.GetCommandLineArgs()[2];
                string srtNombre     = Environment.GetCommandLineArgs()[3];
                string srtCodUnidadP = Environment.GetCommandLineArgs()[4];
                string srtCodCentroP = Environment.GetCommandLineArgs()[5];

                //srtUsuario = parametros[0].ToString();
                //srtClave = parametros[1].ToString();
                //srtNombre = parametros[2].ToString();
                //srtCodUnidadP = parametros[3].ToString();
                //srtCodCentroP = parametros[4].ToString();

                //for (int i = 0; i < parametros.Length; i++)
                //{
                //    MessageBox.Show("Parámetro " + parametros[i]);
                //}

                Encrypt objCrypto = new Encrypt(Encrypt.CryptoProvider.Rijndael);
                objCrypto.Key = Parametros.Key;
                objCrypto.IV  = Parametros.IV;

                string  _password    = objCrypto.CifrarCadena(srtClave);
                LoginBE objE_Usuario = new LoginBL().LogOnUser(srtUsuario.Trim(), _password);
                if (objE_Usuario != null)
                {
                    Parametros.intPerfilId       = objE_Usuario.IdProfile;
                    Parametros.strNomPerfil      = objE_Usuario.NameProfile;
                    Parametros.intEmpresaId      = objE_Usuario.IdCompany;
                    Parametros.strEmpresaNombre  = objE_Usuario.NameCompany;
                    Parametros.intUsuarioId      = objE_Usuario.IdLogin;
                    Parametros.strUsuarioLogin   = objE_Usuario.Login;
                    Parametros.strUsuarioNombres = objE_Usuario.FullName;

                    //Obtenemos todos los permisos del usuario logueado
                    Parametros.pListaPermisoAcceso = new LoginAccessBL().SeleccionaPermisoAcceso(objE_Usuario.Login, objE_Usuario.IdProfile).ToList();
                }

                //Aqui se carga los menus del usuario en el Control Ribbon
                _ribbon = new Ribbon(this.ribbon, new LoginAccessBL().SeleccionaUser(Parametros.intUsuarioId).ToList());
                _ribbon.Fill();
                _ribbon.RibbonClick += new Ribbon.delegateRibbonClick(_ribbon_RibbonClick);

                //Carga el Status Bar
                BarButtonItem stbButtonEmpresa = new DevExpress.XtraBars.BarButtonItem();
                stbButtonEmpresa.Caption = Parametros.strEmpresaNombre;

                BarButtonItem stbButtonUsuario = new DevExpress.XtraBars.BarButtonItem();
                stbButtonUsuario.Caption   = "USUARIO : " + Parametros.strUsuarioNombres;
                stbButtonUsuario.Alignment = BarItemLinkAlignment.Right;

                ribbonStatusBar.ItemLinks.Add(stbButtonEmpresa);
                ribbonStatusBar.ItemLinks.Add(stbButtonUsuario);

                if (Parametros.intPerfilId == 3)
                {
                    Cursor = Cursors.WaitCursor;
                    XtraForm form = new XtraForm();
                    form           = (XtraForm)System.Reflection.Assembly.GetExecutingAssembly().CreateInstance("ERP.Presentacion.Modulos.IPERCBase.Registros.frmRegPlanilla");
                    form.MdiParent = this;
                    form.Text      = "IPERC-Base";
                    form.Tag       = "ERP.Presentacion.Modulos.IPERCBase.Registros.frmRegPlanilla";
                    form.Show();
                    Cursor = Cursors.Default;
                }
            }
            else
            {
                tmr_ProgramProductionDate.Enabled = true;
                tmr_ProgramProductionDate.Start();

                //Cargamos el Login
                Application.DoEvents();
                frmLogin fLogin = new frmLogin();
                fLogin.Owner = this;
                fLogin.ShowDialog();
                if (fLogin.DialogResult == DialogResult.Yes)
                {
                    //Aqui se carga los menus del usuario en el Control Ribbon
                    _ribbon = new Ribbon(this.ribbon, new LoginAccessBL().SeleccionaUser(Parametros.intUsuarioId).ToList());
                    _ribbon.Fill();
                    _ribbon.RibbonClick += new Ribbon.delegateRibbonClick(_ribbon_RibbonClick);

                    //Carga el Status Bar
                    BarButtonItem stbButtonEmpresa = new DevExpress.XtraBars.BarButtonItem();
                    stbButtonEmpresa.Caption = Parametros.strEmpresaNombre;

                    BarButtonItem stbButtonUsuario = new DevExpress.XtraBars.BarButtonItem();
                    stbButtonUsuario.Caption   = "LOGIN : " + Parametros.strUsuarioNombres;
                    stbButtonUsuario.Alignment = BarItemLinkAlignment.Right;

                    ribbonStatusBar.ItemLinks.Add(stbButtonEmpresa);
                    ribbonStatusBar.ItemLinks.Add(stbButtonUsuario);

                    //-------------------------------------------------------------------------------------------------------------------------------
                    fLogin.Close();
                    fLogin.Dispose();
                }
                else
                {
                    Application.Exit();
                };
            }
        }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DanhSachChucNang));
     DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.SuperToolTip superToolTip2 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipItem toolTipItem2 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.SuperToolTip superToolTip3 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipItem toolTipItem3 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.SuperToolTip superToolTip4 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem1 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.ToolTipItem toolTipItem4 = new DevExpress.Utils.ToolTipItem();
     DevExpress.Utils.SuperToolTip superToolTip5 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem2 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.ToolTipItem toolTipItem5 = new DevExpress.Utils.ToolTipItem();
     this.rbcMain = new DevExpress.XtraBars.Ribbon.RibbonControl();
     this.img = new DevExpress.Utils.ImageCollection(this.components);
     this.bbiHangHoa = new DevExpress.XtraBars.BarButtonItem();
     this.bbiAuthor = new DevExpress.XtraBars.BarButtonItem();
     this.bbiCamDo = new DevExpress.XtraBars.BarButtonItem();
     this.bbiChuocDo = new DevExpress.XtraBars.BarButtonItem();
     this.lblServer = new DevExpress.XtraBars.BarStaticItem();
     this.lblDatabase = new DevExpress.XtraBars.BarStaticItem();
     this.ISystem = new DevExpress.XtraBars.BarButtonItem();
     this.IInit = new DevExpress.XtraBars.BarButtonItem();
     this.IInward = new DevExpress.XtraBars.BarButtonItem();
     this.IOutward = new DevExpress.XtraBars.BarButtonItem();
     this.ITransfer = new DevExpress.XtraBars.BarButtonItem();
     this.IAdjustment = new DevExpress.XtraBars.BarButtonItem();
     this.IInventory = new DevExpress.XtraBars.BarButtonItem();
     this.IPacket = new DevExpress.XtraBars.BarButtonItem();
     this.bbiClose = new DevExpress.XtraBars.BarButtonItem();
     this.bbiUserGroup = new DevExpress.XtraBars.BarButtonItem();
     this.bbiUsers = new DevExpress.XtraBars.BarButtonItem();
     this.bbiUpdateOnline = new DevExpress.XtraBars.BarButtonItem();
     this.bbiUpdateOffline = new DevExpress.XtraBars.BarButtonItem();
     this.biiHelpNormal = new DevExpress.XtraBars.BarButtonItem();
     this.biiHelpVideo = new DevExpress.XtraBars.BarButtonItem();
     this.bbIThuChi = new DevExpress.XtraBars.BarButtonItem();
     this.bbiSaoLuu = new DevExpress.XtraBars.BarButtonItem();
     this.bbiPhucHoi = new DevExpress.XtraBars.BarButtonItem();
     this.bbiQuyTienMat = new DevExpress.XtraBars.BarButtonItem();
     this.bbiInMaVach = new DevExpress.XtraBars.BarButtonItem();
     this.rbpChucNang = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.rbpgQuanLy = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.rbpHeThong = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.rbsMain = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
     this.tabMdi = new DevExpress.XtraTabbedMdi.XtraTabbedMdiManager(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.rbcMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.img)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabMdi)).BeginInit();
     this.SuspendLayout();
     //
     // rbcMain
     //
     this.rbcMain.ApplicationCaption = "Phần Mềm Quản Lý Cầm Đồ";
     this.rbcMain.AutoSizeItems = true;
     this.rbcMain.ExpandCollapseItem.Id = 0;
     this.rbcMain.Images = this.img;
     this.rbcMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.rbcMain.ExpandCollapseItem,
     this.bbiHangHoa,
     this.bbiAuthor,
     this.bbiCamDo,
     this.bbiChuocDo,
     this.lblServer,
     this.lblDatabase,
     this.ISystem,
     this.IInit,
     this.IInward,
     this.IOutward,
     this.ITransfer,
     this.IAdjustment,
     this.IInventory,
     this.IPacket,
     this.bbiClose,
     this.bbiUserGroup,
     this.bbiUsers,
     this.bbiUpdateOnline,
     this.bbiUpdateOffline,
     this.biiHelpNormal,
     this.biiHelpVideo,
     this.bbIThuChi,
     this.bbiSaoLuu,
     this.bbiPhucHoi,
     this.bbiQuyTienMat,
     this.bbiInMaVach});
     this.rbcMain.LargeImages = this.img;
     this.rbcMain.Location = new System.Drawing.Point(0, 0);
     this.rbcMain.MaxItemId = 321;
     this.rbcMain.MdiMergeStyle = DevExpress.XtraBars.Ribbon.RibbonMdiMergeStyle.Always;
     this.rbcMain.Name = "rbcMain";
     this.rbcMain.PageHeaderItemLinks.Add(this.lblServer);
     this.rbcMain.PageHeaderItemLinks.Add(this.lblDatabase);
     this.rbcMain.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
     this.rbpChucNang});
     this.rbcMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemTextEdit1});
     this.rbcMain.ShowCategoryInCaption = false;
     this.rbcMain.Size = new System.Drawing.Size(1016, 144);
     this.rbcMain.StatusBar = this.rbsMain;
     this.rbcMain.TransparentEditors = true;
     //
     // img
     //
     this.img.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("img.ImageStream")));
     this.img.Images.SetKeyName(0, "24-7.png");
     this.img.Images.SetKeyName(1, "A-baby-cot.png");
     this.img.Images.SetKeyName(2, "Account.png");
     this.img.Images.SetKeyName(3, "Add Event.png");
     this.img.Images.SetKeyName(4, "Alarm-clock.png");
     this.img.Images.SetKeyName(5, "A-rollaway-bed.png");
     this.img.Images.SetKeyName(6, "Autoship.png");
     this.img.Images.SetKeyName(7, "Baby.png");
     this.img.Images.SetKeyName(8, "Binary-tree.png");
     this.img.Images.SetKeyName(9, "Breakfast.png");
     this.img.Images.SetKeyName(10, "Business-info.png");
     this.img.Images.SetKeyName(11, "Calendar-selection-all.png");
     this.img.Images.SetKeyName(12, "Calendar-selection-day.png");
     this.img.Images.SetKeyName(13, "calendar-selection-month.png");
     this.img.Images.SetKeyName(14, "Calendar-selection-week.png");
     this.img.Images.SetKeyName(15, "Contact.png");
     this.img.Images.SetKeyName(16, "Couple.png");
     this.img.Images.SetKeyName(17, "Create-ticket.png");
     this.img.Images.SetKeyName(18, "Direct-walkway.png");
     this.img.Images.SetKeyName(19, "Distributor-report.png");
     this.img.Images.SetKeyName(20, "Download.png");
     this.img.Images.SetKeyName(21, "Drive.png");
     this.img.Images.SetKeyName(22, "Earning-statement.png");
     this.img.Images.SetKeyName(23, "Event-search.png");
     this.img.Images.SetKeyName(24, "Female-user-accept.png");
     this.img.Images.SetKeyName(25, "Female-user-add.png");
     this.img.Images.SetKeyName(26, "Female-user-edit.png");
     this.img.Images.SetKeyName(27, "Female-user-help.png");
     this.img.Images.SetKeyName(28, "Female-user-info.png");
     this.img.Images.SetKeyName(29, "Female-user-remove.png");
     this.img.Images.SetKeyName(30, "Female-user-search.png");
     this.img.Images.SetKeyName(31, "Female-user-warning.png");
     this.img.Images.SetKeyName(32, "Geology-view.png");
     this.img.Images.SetKeyName(33, "Globe-download.png");
     this.img.Images.SetKeyName(34, "Globe-warning.png");
     this.img.Images.SetKeyName(35, "Gift.png");
     this.img.Images.SetKeyName(36, "Insert-hyperlink.png");
     this.img.Images.SetKeyName(37, "Library.png");
     this.img.Images.SetKeyName(38, "Library2.png");
     this.img.Images.SetKeyName(39, "Link.png");
     this.img.Images.SetKeyName(40, "Mail-search.png");
     this.img.Images.SetKeyName(41, "Message-already-read.png");
     this.img.Images.SetKeyName(42, "My-tickets.png");
     this.img.Images.SetKeyName(43, "Order-history.png");
     this.img.Images.SetKeyName(44, "Ordering.png");
     this.img.Images.SetKeyName(45, "Packing1.png");
     this.img.Images.SetKeyName(46, "Payment-card.png");
     this.img.Images.SetKeyName(47, "Product-sale-report.png");
     this.img.Images.SetKeyName(48, "Rank History.png");
     this.img.Images.SetKeyName(49, "Reports.png");
     this.img.Images.SetKeyName(50, "Sales-by-payment-method.png");
     this.img.Images.SetKeyName(51, "Sales-report.png");
     this.img.Images.SetKeyName(52, "Search-globe.png");
     this.img.Images.SetKeyName(53, "Select-language.png");
     this.img.Images.SetKeyName(54, "Upline.png");
     this.img.Images.SetKeyName(55, "Upload.png");
     this.img.Images.SetKeyName(56, "Web-management.png");
     this.img.Images.SetKeyName(57, "Woman.png");
     this.img.Images.SetKeyName(58, "Zoom-in.png");
     this.img.Images.SetKeyName(59, "Zoom-out.png");
     //
     // bbiHangHoa
     //
     this.bbiHangHoa.Caption = "Hàng Hoá";
     this.bbiHangHoa.Id = 27;
     this.bbiHangHoa.ImageIndex = 47;
     this.bbiHangHoa.LargeImageIndex = 47;
     this.bbiHangHoa.Name = "bbiHangHoa";
     toolTipItem1.Text = "Quản lý hàng hoá, dịch vụ";
     superToolTip1.Items.Add(toolTipItem1);
     this.bbiHangHoa.SuperTip = superToolTip1;
     //
     // bbiAuthor
     //
     this.bbiAuthor.Caption = "Tác giả";
     this.bbiAuthor.Id = 38;
     this.bbiAuthor.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiAuthor.LargeGlyph")));
     this.bbiAuthor.Name = "bbiAuthor";
     //
     // bbiCamDo
     //
     this.bbiCamDo.Caption = "Cầm Đồ";
     this.bbiCamDo.Description = "Quản lý cầm đồ";
     this.bbiCamDo.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiCamDo.Glyph")));
     this.bbiCamDo.Hint = "Quản lý nhập kho";
     this.bbiCamDo.Id = 136;
     this.bbiCamDo.LargeImageIndex = 44;
     this.bbiCamDo.Name = "bbiCamDo";
     toolTipItem2.Text = "Quản lý nhập kho";
     superToolTip2.Items.Add(toolTipItem2);
     this.bbiCamDo.SuperTip = superToolTip2;
     this.bbiCamDo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiCamDo_ItemClick);
     //
     // bbiChuocDo
     //
     this.bbiChuocDo.Caption = "Chuộc Đồ";
     this.bbiChuocDo.Description = "Quản lý chuộc đồ";
     this.bbiChuocDo.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiChuocDo.Glyph")));
     this.bbiChuocDo.Hint = "Quản lý xuất kho";
     this.bbiChuocDo.Id = 138;
     this.bbiChuocDo.LargeImageIndex = 43;
     this.bbiChuocDo.Name = "bbiChuocDo";
     toolTipItem3.Text = "Quản lý xuất kho\r\n";
     superToolTip3.Items.Add(toolTipItem3);
     this.bbiChuocDo.SuperTip = superToolTip3;
     this.bbiChuocDo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiChuocDo_ItemClick);
     //
     // lblServer
     //
     this.lblServer.Caption = "Máy Chủ: ";
     this.lblServer.Id = 227;
     this.lblServer.ImageIndex = 70;
     this.lblServer.Name = "lblServer";
     toolTipTitleItem1.Text = "Nhấn đúp chuột vào để mở phần mềm quản lý cơ sở dữ liệu";
     toolTipItem4.LeftIndent = 6;
     toolTipItem4.Text = "Chú ý: mọi thao tác trên trên phần mềm quản lý cơ sở dữ liệu đều phải sao lưu dữ " +
     "liệu trước, phòng trường hợp thao tác nhằm, hoặc lỗi do sự cố ngoài ý muốn...";
     superToolTip4.Items.Add(toolTipTitleItem1);
     superToolTip4.Items.Add(toolTipItem4);
     this.lblServer.SuperTip = superToolTip4;
     this.lblServer.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // lblDatabase
     //
     this.lblDatabase.Caption = "CSDL:";
     this.lblDatabase.Id = 237;
     this.lblDatabase.ImageIndex = 72;
     this.lblDatabase.Name = "lblDatabase";
     toolTipTitleItem2.Text = "Nhấn đúp chuột vào đây để sử dụng một cơ sở dữ liệu khác.";
     toolTipItem5.LeftIndent = 6;
     toolTipItem5.Text = "Chú ý: Sau khi cấu hình thành công, khởi động lại phần mềm để nạp cấu hình mới.";
     superToolTip5.Items.Add(toolTipTitleItem2);
     superToolTip5.Items.Add(toolTipItem5);
     this.lblDatabase.SuperTip = superToolTip5;
     this.lblDatabase.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // ISystem
     //
     this.ISystem.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.ISystem.Caption = "Hệ Thống";
     this.ISystem.Id = 255;
     this.ISystem.ImageIndex = 78;
     this.ISystem.LargeImageIndex = 78;
     this.ISystem.Name = "ISystem";
     this.ISystem.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IInit
     //
     this.IInit.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IInit.Caption = "Nhập Số Dư Ban Đầu";
     this.IInit.Id = 256;
     this.IInit.ImageIndex = 79;
     this.IInit.LargeImageIndex = 79;
     this.IInit.Name = "IInit";
     this.IInit.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IInward
     //
     this.IInward.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IInward.Caption = "Nhập Kho";
     this.IInward.Id = 257;
     this.IInward.ImageIndex = 28;
     this.IInward.LargeImageIndex = 28;
     this.IInward.Name = "IInward";
     this.IInward.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IOutward
     //
     this.IOutward.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IOutward.Caption = "Xuất Kho";
     this.IOutward.Id = 258;
     this.IOutward.ImageIndex = 31;
     this.IOutward.LargeImageIndex = 31;
     this.IOutward.Name = "IOutward";
     this.IOutward.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // ITransfer
     //
     this.ITransfer.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.ITransfer.Caption = "Chuyển Kho";
     this.ITransfer.Id = 259;
     this.ITransfer.ImageIndex = 25;
     this.ITransfer.LargeImageIndex = 25;
     this.ITransfer.Name = "ITransfer";
     this.ITransfer.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IAdjustment
     //
     this.IAdjustment.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IAdjustment.Caption = "Kiểm Kê";
     this.IAdjustment.Id = 260;
     this.IAdjustment.ImageIndex = 27;
     this.IAdjustment.LargeImageIndex = 27;
     this.IAdjustment.Name = "IAdjustment";
     this.IAdjustment.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IInventory
     //
     this.IInventory.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IInventory.Caption = "Tồn Kho";
     this.IInventory.Id = 261;
     this.IInventory.ImageIndex = 30;
     this.IInventory.LargeImageIndex = 30;
     this.IInventory.Name = "IInventory";
     this.IInventory.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     //
     // IPacket
     //
     this.IPacket.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.IPacket.Caption = "Đóng Gói";
     this.IPacket.Id = 264;
     this.IPacket.ImageIndex = 26;
     this.IPacket.LargeImageIndex = 26;
     this.IPacket.Name = "IPacket";
     //
     // bbiClose
     //
     this.bbiClose.Caption = "Kết Thúc";
     this.bbiClose.Description = "Kết thúc";
     this.bbiClose.Hint = "Kết thúc";
     this.bbiClose.Id = 132;
     this.bbiClose.ImageIndex = 0;
     this.bbiClose.LargeImageIndex = 20;
     this.bbiClose.Name = "bbiClose";
     this.bbiClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BbiCloseItemClick);
     //
     // bbiUserGroup
     //
     this.bbiUserGroup.Caption = "Vai Trò && Quyền Hạn";
     this.bbiUserGroup.Id = 295;
     this.bbiUserGroup.ImageIndex = 2;
     this.bbiUserGroup.LargeImageIndex = 2;
     this.bbiUserGroup.Name = "bbiUserGroup";
     this.bbiUserGroup.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     //
     // bbiUsers
     //
     this.bbiUsers.Caption = "Người Dùng";
     this.bbiUsers.Id = 296;
     this.bbiUsers.ImageIndex = 1;
     this.bbiUsers.LargeImageIndex = 1;
     this.bbiUsers.Name = "bbiUsers";
     this.bbiUsers.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     //
     // bbiUpdateOnline
     //
     this.bbiUpdateOnline.Caption = "Cập Nhật Trực Tuyến";
     this.bbiUpdateOnline.Id = 300;
     this.bbiUpdateOnline.ImageIndex = 86;
     this.bbiUpdateOnline.Name = "bbiUpdateOnline";
     //
     // bbiUpdateOffline
     //
     this.bbiUpdateOffline.Caption = "Cập Nhật Thông Thường";
     this.bbiUpdateOffline.Id = 301;
     this.bbiUpdateOffline.ImageIndex = 85;
     this.bbiUpdateOffline.Name = "bbiUpdateOffline";
     //
     // biiHelpNormal
     //
     this.biiHelpNormal.Caption = "Tài Liệu Hướng Dẫn";
     this.biiHelpNormal.Id = 306;
     this.biiHelpNormal.ImageIndex = 89;
     this.biiHelpNormal.LargeImageIndex = 89;
     this.biiHelpNormal.Name = "biiHelpNormal";
     //
     // biiHelpVideo
     //
     this.biiHelpVideo.Caption = "Video Hướng Dẫn";
     this.biiHelpVideo.Id = 307;
     this.biiHelpVideo.ImageIndex = 90;
     this.biiHelpVideo.LargeImageIndex = 90;
     this.biiHelpVideo.Name = "biiHelpVideo";
     //
     // bbIThuChi
     //
     this.bbIThuChi.Caption = "Thu Chi";
     this.bbIThuChi.Id = 315;
     this.bbIThuChi.ImageIndex = 33;
     this.bbIThuChi.LargeImageIndex = 48;
     this.bbIThuChi.Name = "bbIThuChi";
     this.bbIThuChi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbIThuChi_ItemClick);
     //
     // bbiSaoLuu
     //
     this.bbiSaoLuu.Caption = "Sao Lưu";
     this.bbiSaoLuu.Id = 316;
     this.bbiSaoLuu.LargeImageIndex = 40;
     this.bbiSaoLuu.Name = "bbiSaoLuu";
     this.bbiSaoLuu.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiSaoLuu_ItemClick);
     //
     // bbiPhucHoi
     //
     this.bbiPhucHoi.Caption = "Phục Hồi";
     this.bbiPhucHoi.Id = 317;
     this.bbiPhucHoi.LargeImageIndex = 41;
     this.bbiPhucHoi.Name = "bbiPhucHoi";
     this.bbiPhucHoi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiPhucHoi_ItemClick);
     //
     // bbiQuyTienMat
     //
     this.bbiQuyTienMat.Caption = "Quỹ Tiền Mặt";
     this.bbiQuyTienMat.Id = 318;
     this.bbiQuyTienMat.LargeImageIndex = 22;
     this.bbiQuyTienMat.Name = "bbiQuyTienMat";
     this.bbiQuyTienMat.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiQuyTienMat_ItemClick);
     //
     // bbiInMaVach
     //
     this.bbiInMaVach.Caption = "In Mã Vạch";
     this.bbiInMaVach.Id = 319;
     this.bbiInMaVach.ImageIndex = 6;
     this.bbiInMaVach.LargeImageIndex = 32;
     this.bbiInMaVach.Name = "bbiInMaVach";
     this.bbiInMaVach.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiInMaVach_ItemClick);
     //
     // rbpChucNang
     //
     this.rbpChucNang.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.rbpgQuanLy,
     this.rbpHeThong});
     this.rbpChucNang.Name = "rbpChucNang";
     this.rbpChucNang.Text = "Chức Năng";
     //
     // rbpgQuanLy
     //
     this.rbpgQuanLy.ItemLinks.Add(this.bbiCamDo);
     this.rbpgQuanLy.ItemLinks.Add(this.bbiChuocDo);
     this.rbpgQuanLy.ItemLinks.Add(this.bbIThuChi);
     this.rbpgQuanLy.ItemLinks.Add(this.bbiQuyTienMat);
     this.rbpgQuanLy.ItemLinks.Add(this.bbiInMaVach);
     this.rbpgQuanLy.Name = "rbpgQuanLy";
     this.rbpgQuanLy.ShowCaptionButton = false;
     this.rbpgQuanLy.Text = "Quản Lý";
     //
     // rbpHeThong
     //
     this.rbpHeThong.ItemLinks.Add(this.bbiPhucHoi);
     this.rbpHeThong.ItemLinks.Add(this.bbiSaoLuu);
     this.rbpHeThong.ItemLinks.Add(this.bbiClose);
     this.rbpHeThong.Name = "rbpHeThong";
     this.rbpHeThong.Text = "Hệ Thống";
     //
     // repositoryItemTextEdit1
     //
     this.repositoryItemTextEdit1.AutoHeight = false;
     this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
     //
     // rbsMain
     //
     this.rbsMain.Location = new System.Drawing.Point(0, 736);
     this.rbsMain.Name = "rbsMain";
     this.rbsMain.Ribbon = this.rbcMain;
     this.rbsMain.Size = new System.Drawing.Size(1016, 31);
     //
     // tabMdi
     //
     this.tabMdi.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPagesAndTabControlHeader;
     this.tabMdi.HeaderButtons = ((DevExpress.XtraTab.TabButtons)((((DevExpress.XtraTab.TabButtons.Prev | DevExpress.XtraTab.TabButtons.Next)
     | DevExpress.XtraTab.TabButtons.Close)
     | DevExpress.XtraTab.TabButtons.Default)));
     this.tabMdi.HeaderButtonsShowMode = DevExpress.XtraTab.TabButtonShowMode.Always;
     this.tabMdi.HeaderOrientation = DevExpress.XtraTab.TabOrientation.Horizontal;
     this.tabMdi.Images = this.img;
     this.tabMdi.MdiParent = this;
     this.tabMdi.SetNextMdiChildMode = DevExpress.XtraTabbedMdi.SetNextMdiChildMode.Windows;
     this.tabMdi.ShowHeaderFocus = DevExpress.Utils.DefaultBoolean.True;
     this.tabMdi.ShowToolTips = DevExpress.Utils.DefaultBoolean.True;
     //
     // DanhSachChucNang
     //
     this.ClientSize = new System.Drawing.Size(1016, 767);
     this.Controls.Add(this.rbsMain);
     this.Controls.Add(this.rbcMain);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer = true;
     this.Name = "DanhSachChucNang";
     this.Ribbon = this.rbcMain;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.StatusBar = this.rbsMain;
     this.Text = "Phần Mềm Quản Lý Cầm Đồ";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     ((System.ComponentModel.ISupportInitialize)(this.rbcMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.img)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabMdi)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }