Esempio n. 1
0
 //        internal override void InitModule(DevExpress.Utils.Menu.IDXMenuManager manager, object data) {
 //            base.InitModule(manager, data);
 //            schedulerControl1.MenuManager = manager;
 //            ribbon = manager as RibbonControl;
 //            appointmentCategory = FindAppointmentPage(ribbon);
 //
 //            if (calendarControls == null) {
 //                calendarControls = data as NavigateCalendar;
 //                calendarControls.InitDateNavigator(schedulerControl1);
 ////                this.calendarControls.InitResourcesTree(this.schedulerStorage1);
 //                calendarControls.InitBarController(schedulerControl1);
 //            }
 //        }
 private RibbonPageCategory FindAppointmentPage(RibbonControl ribbonControl)
 {
     foreach (RibbonPageCategory category in ribbonControl.PageCategories)
         if (category.Tag != null && category.Tag.ToString() == "CalendarTools")
             return category;
     return null;
 }
Esempio n. 2
0
        public static void UsingHomePage(RibbonControl RibbonCtrl)
        {
            HomePageIDItems = LoadItemIds();
            UpdateHomePage();
            //if (RemoveHomePageItem == null)
            {
                RemoveHomePageItem = new BarButtonItem();
                RemoveHomePageItem.Id = frmRibbonMain.IIII++;
                RemoveHomePageItem.Name = "REMOVE_HOMEPAGE";
                RemoveHomePageItem.Caption = "Loại bỏ khỏi trang Thường dùng";
                RemoveHomePageItem.ItemClick += new ItemClickEventHandler(RemoveHomePageItem_ItemClick);
            }

            //if (AddHomePageItem == null)
            {
                AddHomePageItem = new BarButtonItem();
                AddHomePageItem.Id = frmRibbonMain.IIII++;
                AddHomePageItem.Name = "ADD_HOMEPAGE";
                AddHomePageItem.Caption = "Thêm vào trang Thường dùng";
                AddHomePageItem.ItemClick += new ItemClickEventHandler(AddHomePageItem_ItemClick);
            }
            try { RibbonCtrl.ShowCustomizationMenu -= RibbonCtrl_ShowCustomizationMenu; }
            catch { }
            RibbonCtrl.ShowCustomizationMenu += new RibbonCustomizationMenuEventHandler(RibbonCtrl_ShowCustomizationMenu);
        }
 //internal static void ReLoadMenu(RibbonControl ribbon)
 //{
 //    menus = null;
 //    LoadMenu(ribbon);
 //}
 internal static void LoadMenu(RibbonControl ribbon)
 {
     if (isloadmenu)
         return;
     if (FixItems == null)
         FixItems = ribbon.Items.Cast<BarItem>().ToArray();
     if (menus == null)
         menus = ServiceProxyFactory.Create<IMenuService>().GetAllEntity();
     ribbon.Pages.Clear();
     for (int i = ribbon.Items.Count - 1; i >= 0; i--)
     {
         if (!FixItems.Contains(ribbon.Items[i]))
             ribbon.Items.Remove(ribbon.Items[i]);
     }
     //ribbon.Items.Clear();
     List<RibbonPageHolder> ribbonpageholders = new List<RibbonPageHolder>();
     var rpageEntitys = menus.Where(t => t.MenuControl.ToLower() == "ribbonpage").ToList();
     foreach (var rpageEntity in rpageEntitys)
     {
         RibbonPageHolder ribbonpageholder = ConvertMenuEntityToRibbonPage(rpageEntity);
         if (ribbonpageholder != null)
         {
             CreateRibbonPageGroupFromMenuEntity(ribbon, ribbonpageholder, rpageEntity);
         }
         ribbonpageholders.Add(ribbonpageholder);
     }
     var ribbonpages = ribbonpageholders.OrderBy(t => t.Order).Select(t => t.RibbonPage).ToArray();
     ribbon.Invoke(new Action(() =>
     {
         ribbon.Pages.AddRange(ribbonpages);
     }));
     isloadmenu = true;
 }
        public static Dictionary<string, PopupMenu> GetMenus(RibbonControl ribbon, XmlDocument doc, Dictionary<string, CtrlAction> ctrlActions)
        {
            Dictionary<string, PopupMenu> menus = new Dictionary<string, PopupMenu>();
            foreach (XmlNode popupMenus in doc.DocumentElement.ChildNodes)
            {
                if (XMLManager.GetNodeType(popupMenus) == XMLNodeType.PopupMenus)
                {
                    foreach (XmlNode popupItem in popupMenus.ChildNodes)
                    {
                        PopupMenu menu = XMLPopupMenu.CreatePopupMenu(popupItem);
                        if (!menus.ContainsKey(menu.Name))
                        {
                            menu.Ribbon = ribbon;
                            menus.Add(menu.Name, menu);
                            foreach (XmlNode item in popupItem.ChildNodes)
                            {
                                XMLItem xmlItem = XMLItem.GetXMLItem(item);
                                CtrlAction ctrlAction = null;
                                BarItem barItem = null;
                                if (ctrlActions.Keys.Contains(xmlItem.ItemBindClass))
                                {
                                    ctrlAction = ctrlActions[xmlItem.ItemBindClass];
                                    barItem = XMLItem.GetBarItem(xmlItem, ctrlAction, menu.ItemLinks);
                                }

                            }
                        }
                    }
                }

            }
            return menus;

        }
Esempio n. 5
0
        public static void Parse(RibbonControl ribbon, XmlDocument doc, Dictionary<string, CtrlAction> ctrlActions)
        {
            Ribbon = ribbon;
            m_doc = doc;
            m_ctrlActions = ctrlActions;

            CreatePageNoForm(m_doc.DocumentElement);
        }
 private static void GetAllBarButtonItem(RibbonControl ribbonControl, List<BarButtonItem> outList)
 {
     for (int x = 0; x < ribbonControl.Manager.Items.Count; x++)
     {
         if (ribbonControl.Manager.Items[x].GetType() == typeof(BarButtonItem))
         {
             BarButtonItem btn = ribbonControl.Manager.Items[x] as BarButtonItem;
             outList.Add(btn);
         }
     }
 }
        internal static void SetUserMenu(RibbonControl ribbonControl)
        {
            AuthIdentity authidentity = AuthPrincipal.CurrentAuthPrincipal.AuthIdentity;
            var usermenus = ServiceProxyFactory.Create<IMenuService>().GetUserMenuNos(authidentity.UserId);

            for (int i = ribbonControl.Items.Count - 1; i >= 0; i--)
            {
                var item = ribbonControl.Items[i];
                if (!FixItems.Contains(item))
                {
                    if (usermenus.Contains(item.Name))
                        item.Visibility = BarItemVisibility.Always;
                    else
                        item.Visibility = BarItemVisibility.Never;
                    foreach (BarItemLink barItemLink in item.Links)
                    {
                        barItemLink.Visible = item.Visibility == BarItemVisibility.Always;
                    }
                }
            }

            foreach (RibbonPage page in ribbonControl.Pages)
            {
                foreach (RibbonPageGroup group in page.Groups)
                {
                    int visiblecount = group.ItemLinks.Cast<DevExpress.XtraBars.BarButtonItemLink>().Count(t => t.Visible);
                    if (visiblecount > 0)
                    {
                        group.Visible = true;
                    }
                    else
                    {
                        group.Visible = false;
                    }
                }
            }

            foreach (RibbonPage page in ribbonControl.Pages)
            {
                int visiblecount = page.Groups.Cast<RibbonPageGroup>().Count(t => t.Visible);
                if (visiblecount > 0)
                {
                    page.Visible = true;
                }
                else
                {
                    page.Visible = false;
                }
            }
        }
        public static void SetVisibleBarButtonItem(RibbonControl iRibbonForm, string iFormName)
        {
            var ds = getDataPhanQuyen();

            List<BarButtonItem> listBarButtonItem = new List<BarButtonItem>();
            GetAllBarButtonItem(iRibbonForm, listBarButtonItem);

            foreach (var barBtn in listBarButtonItem)
            {
                if (!CanUseThisControl(ds, iFormName, barBtn.Name))
                {
                    barBtn.Visibility = BarItemVisibility.Never;
                }
            }
        }
Esempio n. 9
0
        public override void OnControlClick(RibbonControl control)
        {
            var application = DemoAddIn.Instance.Application;

            // Demonstrate how to handle commands without binding to a local variable.
            switch (control.CommandId)
            {
                case 0:
                    using (var dialog = new SaveFileDialog())
                    {
                        // The ShowDialog() extension method is exposed by:
                        // using SolidEdgeFramework.Extensions (SolidEdge.Community.dll)
                        if (application.ShowDialog(dialog) == DialogResult.OK)
                        {

                        }
                    }
                    break;
                case 1:
                    using (var dialog = new FolderBrowserDialog())
                    {
                        // The ShowDialog() extension method is exposed by:
                        // using SolidEdgeFramework.Extensions (SolidEdge.Community.dll)
                        if (application.ShowDialog(dialog) == DialogResult.OK)
                        {
                        }
                    }
                    break;
                case 2:
                    using (var dialog = new MyCustomDialog())
                    {
                        // The ShowDialog() extension method is exposed by:
                        // using SolidEdgeFramework.Extensions (SolidEdge.Community.dll)
                        if (application.ShowDialog(dialog) == DialogResult.OK)
                        {
                        }
                    }
                    break;
                case 8:
                    application.StartCommand(SolidEdgeConstants.PartCommandConstants.PartToolsOptions);
                    break;
                case 11:
                    application.StartCommand(SolidEdgeConstants.PartCommandConstants.PartHelpSolidEdgeontheWeb);
                    break;
            }
        }
Esempio n. 10
0
        public void Adapter(RibbonControl ribbon)
        {
            m_BarItems = new List<BarItem>();
            int itemCount = ribbon.Items.Count;
            for (int i = 0; i < itemCount; i++)
            {
                m_BarItems.Add(ribbon.Items[i]);

                // 将Tag作为Command解析出来
                //if (ribbon.Items[i].Tag == null)
                //    continue;

                //AddCommand(ribbon.Items[i].Tag as string);
            }
            ribbon.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(BarItemClick);
            System.Windows.Forms.Application.Idle += new EventHandler(Application_Idle);
        }
Esempio n. 11
0
        public void InitRbControl()
        {
            RibbonControl rbnCtrl = ComponentManager.Ribbon;

            rbnCtrl.ClearAllTabs();
            // Init Panel Source
            RibbonPanelSource srcPanel = new RibbonPanelSource();

            srcPanel.Title = "";
            srcPanel.Id    = "CustomPanel";

            RibbonPanel panel = new RibbonPanel();

            panel.Source = srcPanel;

            string      XMLName          = "//Data_UI.xml";
            string      CurrentDirectory = Path.GetDirectoryName(Path.GetDirectoryName(Directory.GetCurrentDirectory()));
            XmlDocument xmlDoc           = new XmlDocument();

            xmlDoc.Load(CurrentDirectory + XMLName);
            XmlNodeList = xmlDoc.DocumentElement.SelectNodes("/RadRibbonView/RadRibbonTab");
            ReadXml(XmlNodeList);


            StackPanel wrapPanel = new StackPanel();

            for (int i = 0; i < radRibbonTabs.Count; i++)
            {
                RibbonTab tab = new RibbonTab();
                tab.Title = radRibbonTabs[i].Header.ToString();
                tab.Id    = radRibbonTabs[i].Name;
                tab.Panels.Add(panel);
                tab.Name = radRibbonTabs[i].Name;
                rbnCtrl.Tabs.Add(tab);
                wrapPanel.Children.Add(radRibbonTabs[i]);
                wrapPanel.HorizontalAlignment = HorizontalAlignment.Stretch;

                panel.SetWPFControl(wrapPanel, "test");
            }
        }
Esempio n. 12
0
        public void CreateUI()
        {
            RibbonControl rc         = Autodesk.Windows.ComponentManager.Ribbon;
            RibbonTab     primaryTab = rc.FindTab(Jpp.Ironstone.Core.Constants.IRONSTONE_TAB_ID);

            RibbonPanel       Panel  = new RibbonPanel();
            RibbonPanelSource source = new RibbonPanelSource();

            source.Title = Properties.Resources.ExtensionApplication_UI_PanelTitle;

            RibbonRowPanel column1 = new RibbonRowPanel();

            column1.IsTopJustified = true;
            RibbonButton addRevision = UIHelper.CreateButton(Properties.Resources.ExtensionApplication_UI_RevisionButton,
                                                             Properties.Resources.Revise_Small, RibbonItemSize.Standard, String.Empty);

            RibbonButton finaliseRevisions = UIHelper.CreateButton(Properties.Resources.ExtensionApplication_UI_FinaliseRevisionButton,
                                                                   Properties.Resources.Revise_Small, RibbonItemSize.Standard, String.Empty);

            RibbonSplitButton revisionSplitButton = new RibbonSplitButton();

            /*revisionSplitButton.Text = "RibbonSplit";*/
            revisionSplitButton.ShowText = true;
            revisionSplitButton.Items.Add(addRevision);
            revisionSplitButton.Items.Add(finaliseRevisions);
            //TODO: Enable once the backing code is in place
            revisionSplitButton.IsEnabled = false;

            column1.Items.Add(revisionSplitButton);
            column1.Items.Add(new RibbonRowBreak());
            column1.Items.Add(UIHelper.CreateButton(Properties.Resources.ExtensionApplication_UI_ImportDrawing,
                                                    Properties.Resources.DocumentType, RibbonItemSize.Standard, "DM_ImportDrawing"));

            //Build the UI hierarchy
            source.Items.Add(column1);

            Panel.Source = source;

            primaryTab.Panels.Add(Panel);
        }
Esempio n. 13
0
        public Result OnStartup(UIControlledApplication application)
        {
            try
            {
                RibbonControl ribbon = ComponentManager.Ribbon;
                ImageSource   imgbg  = new BitmapImage(new Uri(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "maoria.jpg"), UriKind.Relative));

                ImageBrush picBrush = new ImageBrush();
                picBrush.ImageSource = imgbg;
                picBrush.AlignmentX  = AlignmentX.Left;
                picBrush.AlignmentY  = AlignmentY.Top;
                picBrush.Stretch     = Stretch.None;
                picBrush.TileMode    = TileMode.FlipXY;

                LinearGradientBrush gradientBrush = new LinearGradientBrush();

                gradientBrush.StartPoint = new System.Windows.Point(0, 0);

                gradientBrush.EndPoint = new System.Windows.Point(0, 1);

                gradientBrush.GradientStops.Add(new GradientStop(Colors.White, 0.0));

                gradientBrush.GradientStops.Add(new GradientStop(Colors.Red, 1));

                foreach (RibbonTab tab in ribbon.Tabs)
                {
                    foreach (Autodesk.Windows.RibbonPanel panel in tab.Panels)
                    {
                        panel.CustomPanelTitleBarBackground = gradientBrush;

                        //panel.CustomPanelBackground = gradientBrush;
                        panel.CustomPanelBackground = picBrush;
                    }
                }
            }
            catch (Exception)
            {
            }
            return(Result.Succeeded);
        }
Esempio n. 14
0
        /// <summary>
        /// 向插件窗口的RibbonControl控件加载插件
        /// </summary>
        /// <param name="ribbonCtrl">加载插件的RibbonControl控件</param>
        /// <param name="caller">调用插件的控件,一般是窗体、菜单栏、RibbonControl、XtraTabControl、DcokControl、各类容器控件等</param>
        /// <param name="view">加载的插件视图</param>
        /// <param name="cmdData">命令输入参数</param>
        /// <param name="imageDir"></param>
        /// <param name="bindingEvent"></param>
        public static void LoadPlugins <TCmdData>(this RibbonControl ribbonCtrl, IPluginView view, object caller, TCmdData cmdData, string imageDir, Action <ICommand> bindingEvent)
        {
            var container = view.QueryContainer(ribbonCtrl.DefaultPageCategory.Name, ribbonCtrl.DefaultPageCategory.Text);

            var sbErrorCmds     = new StringBuilder();
            var imageCollection = ribbonCtrl.LargeImages == null ? new ImageCollection() : (ImageCollection)ribbonCtrl.LargeImages;

            ribbonCtrl.LargeImages = imageCollection;
            foreach (var pageContainer in container.SubContainers)//菜单页
            {
                var page = new RibbonPage {
                    Text = pageContainer.Text, Name = pageContainer.Name, Visible = pageContainer.Visible, Tag = pageContainer
                };
                ribbonCtrl.DefaultPageCategory.Pages.Add(page);
                foreach (var groupContainer in pageContainer.SubContainers)//菜单组
                {
                    var group = new RibbonPageGroup {
                        Text = groupContainer.Text, Name = groupContainer.Name, Visible = groupContainer.Visible, Tag = groupContainer
                    };
                    page.Groups.Add(group);
                    var plugins = groupContainer.Plugins.OrderBy(v => v.Index);
                    foreach (var plugin in plugins)//菜单项(插件项)
                    {
                        try
                        {
                            var item = PluginToButtonItem(plugin, imageCollection, caller, imageDir, cmdData);
                            bindingEvent(plugin.Command);
                            group.ItemLinks.Add(item);
                        }
                        catch (Exception ex) { sbErrorCmds.AppendLine($"程序集:{ plugin.AssemblyPath}\r\n命令:{plugin.TypeName}"); }
                        Application.DoEvents();
                    }
                }
            }
            if (sbErrorCmds.Length > 0)
            {
                sbErrorCmds.Insert(0, "以下插件命令创建失败(找不到程序集或命令,或加载过程出错,请注意程序集路径、名称、后缀(dll、exe)、类名是否正确):");
                throw new Exception(sbErrorCmds.ToString());
            }
        }
Esempio n. 15
0
        private void ribbon_Merge(object sender,
                                  RibbonMergeEventArgs e)
        {
            RibbonPage page = null;

            if (e.MergedChild.PageCategories.Count > 0)
            {
                if (e.MergedChild.PageCategories[0]
                    .Pages.Count > 0)
                {
                    page = e.MergedChild.PageCategories[0]
                           .Pages[0];
                }
            }
            else
            {
                if (e.MergedChild.DefaultPageCategory.Pages.Count > 0)
                {
                    page = e.MergedChild.DefaultPageCategory.Pages[0];
                }
            }

            if (page != null)
            {
                ribbon.SelectedPage = page;
            }

            // merge status bar
            RibbonControl parentRRibbon = sender as RibbonControl;
            RibbonControl childRibbon   = e.MergedChild;

            if (childRibbon.StatusBar != null)
            {
                if (parentRRibbon != null)
                {
                    parentRRibbon.StatusBar.MergeStatusBar(childRibbon.StatusBar);
                }
            }
        }
Esempio n. 16
0
        private void frmSpreadsheetControl_ParentChanged(object sender, EventArgs e)
        {
            if (parent != null)
            {
                parent.Merge -= new RibbonMergeEventHandler(parent_Merge);
            }

            MdiClient parentClient = Parent as MdiClient;

            if (parentClient == null)
            {
                return;
            }
            RibbonForm form = parentClient.FindForm() as RibbonForm;

            if (form == null)
            {
                return;
            }
            parent        = form.Ribbon;
            parent.Merge += new RibbonMergeEventHandler(parent_Merge);
        }
Esempio n. 17
0
        private static object CreateItem(RibbonControl ribbonControl, XmlNode node)
        {
            if (node == null || node.NodeType == XmlNodeType.Comment)
            {
                return(null);
            }
            string type = XMLHelper.GetAttribute(node, "Type");

            if (string.IsNullOrEmpty(type))
            {
                return(null);
            }
            object obj = null;

            switch (type)
            {
            case "Ribbon.RibbonPage":
                obj = CreateItemRibbonPage(ribbonControl, node);
                break;

            case "Ribbon.RibbonPageGroup":
                obj = CreateItemRibbonPageGroup(ribbonControl, node);
                break;

            case "BarButtonItem":
                obj = CreateItemBarButtonItem(node);
                break;

            case "BarStaticItem":
                break;

            case "ApplicationMenu":
                break;

            case "BarSubItem":
                break;
            }
            return(obj);
        }
        /// <summary>
        /// handles the addition of <see cref="ExtendedRibbonPage" /> to the <see cref="RibbonControl" />
        /// </summary>
        /// <param name="ribbonPages">
        /// The <see cref="ExtendedRibbonPage" />s that need to be added to the <see cref="RibbonControl" />
        /// </param>
        private void ProcessRibbonPages(RibbonControl ribbon)
        {
            foreach (var ribbonPage in this.pages)
            {
                if (ribbonPage.IsInDefaultPageCategory)
                {
                    var defaultCategory = ribbon.SelfCategories.OfType <RibbonDefaultPageCategory>().SingleOrDefault();

                    if (defaultCategory != null)
                    {
                        var insertPosition = this.GetPositionForRibbonPage(defaultCategory.Pages, ribbonPage);
                        defaultCategory.Pages.Insert(insertPosition, ribbonPage);
                        logger.Debug("RibbonPage {0} added to the default Ribbon Category", ribbonPage.Name);
                    }
                    else
                    {
                        logger.Warn("The default Ribbon Category could not be found, the RibbonPage {0} was not added", ribbonPage.Name);
                    }
                }
                else
                {
                    var categoryName = ribbonPage.CustomPageCategoryName;

                    var customPageCategory = this.categories.FirstOrDefault(cat => cat.Name == categoryName);

                    if (customPageCategory != null)
                    {
                        var insertPosition = this.GetPositionForRibbonPage(customPageCategory.Pages, ribbonPage);
                        customPageCategory.Pages.Insert(insertPosition, ribbonPage);
                        logger.Debug("RibbonPage {0} added to Custom Ribbon Category {1}", ribbonPage.Name, categoryName);
                    }
                    else
                    {
                        logger.Warn("The Custom Ribbon Category {0} could not be found, the RibbonPage {1} was not added", categoryName, ribbonPage.Name);
                    }
                }
            }
        }
        /// <summary>
        /// Handles the addition of <see cref="ExtendedRibbonPageGroup" /> to the <see cref="ExtendedRibbonPage" /> in a
        /// <see cref="RibbonControl" />
        /// </summary>
        /// <param name="ribbon">
        /// The <see cref="ExtendedRibbonPage" />s that need to be added to the <see cref="ExtendedRibbonPageGroup" />.
        /// </param>
        /// <remarks>
        /// if the <see cref="ExtendedRibbonPageGroup.ContainerRegionName" /> matches the
        /// <see cref="ExtendedRibbonPage.RegionName" /> of an available
        /// <see cref="ExtendedRibbonPage" />, the <see cref="ExtendedRibbonPageGroup" /> will be added to that
        /// <see cref="ExtendedRibbonPage" />
        /// If the <see cref="ExtendedRibbonPageGroup" /> already exists, it appends to the existing group.
        /// </remarks>
        private void ProcessRibbonPageGroups(RibbonControl ribbon)
        {
            foreach (var ribbonPageGroup in this.groups)
            {
                var containerRegionName = ribbonPageGroup.ContainerRegionName;

                if (ribbon.SelfCategories.Select(
                        category => category.Pages.OfType <ExtendedRibbonPage>()
                        .FirstOrDefault(x => x.RegionName == containerRegionName)).FirstOrDefault() is ExtendedRibbonPage ribbonPage)
                {
                    var existingGroup = ribbonPage.Groups.FirstOrDefault(g => g.Caption == ribbonPageGroup.Caption);

                    if (existingGroup == null)
                    {
                        var insertPosition = this.GetPositionForRibbonPageGroup(ribbonPage.Groups, ribbonPageGroup);
                        ribbonPage.Groups.Insert(insertPosition, ribbonPageGroup);
                        logger.Debug("RibbonPageGroup {0} added to RibbonPage {1} in position {2}", ribbonPageGroup.Name, ribbonPage.Name, insertPosition);
                    }
                    else
                    {
                        var extractedItems = ribbonPageGroup.Items;

                        foreach (var extractedItem in extractedItems)
                        {
                            if (!existingGroup.Items.Contains(extractedItem))
                            {
                                var insertPosition = this.GetPositionInsideRibbonGroup(existingGroup.Items, extractedItem);
                                existingGroup.Items.Insert(insertPosition, extractedItem);
                            }
                        }
                    }
                }
                else
                {
                    logger.Warn("The default Ribbon Category could not be found, the RibbonPageGroup {0} was not added", ribbonPageGroup.Name);
                }
            }
        }
Esempio n. 20
0
        /// <summary>
        /// 作用:创建分页  并返回分页对象RibbonPage
        /// 作者:汪建龙
        /// 编写时间:2016年12月19日15:28:47
        ///
        /// </summary>
        /// <param name="ribbonControl"></param>
        /// <param name="xmlNode"></param>
        /// <returns></returns>
        private object CreateItemRibbonPage(RibbonControl ribbonControl, XmlNode xmlNode)
        {
            if (xmlNode == null || xmlNode.NodeType == XmlNodeType.Comment || xmlNode.Attributes == null)
            {
                return(null);
            }

            object obj = CreateInstance(AssemblyNameOfDevExpress, "Ribbon.RibbonPage") as RibbonPage;

            if (obj == null)
            {
                return(null);
            }
            RibbonPage ribbonPage = obj as RibbonPage;

            ribbonPage.Name = GetAttribute(xmlNode, "Name");
            ribbonPage.Text = GetAttribute(xmlNode, "Text");
            bool   visible    = true;
            string strVisible = GetAttribute(xmlNode, "Visiable");

            if (strVisible.ToUpper().IndexOf("F") > -1)
            {
                visible = false;
            }
            ribbonPage.Visible = visible;
            XmlNodeList nodeListSubPageItems = xmlNode.ChildNodes;

            foreach (XmlNode nodeSubPageItem in nodeListSubPageItems)
            {
                RibbonPageGroup group = CreateItem(ribbonControl, nodeSubPageItem) as RibbonPageGroup;
                if (group != null)
                {
                    ribbonPage.Groups.Add(group);
                }
            }

            return(obj);
        }
Esempio n. 21
0
        public static BarSubItem initComplexBtn(int strId, string strName, string strText,
                                                RibbonItemStyles eStyle, string strFilePathSvg,
                                                RibbonControl oParentSuper, RibbonPageGroup oParent4Group)
        {
            var oComplexBtn = new BarSubItem();

            //set props
            oComplexBtn.Id   = strId;
            oComplexBtn.Name = strName;
            var strLan = I18nUtilsEx.getStrFromApp(strName);

            oComplexBtn.Caption = String.IsNullOrEmpty(strLan)
                                                ? strText
                                                : strLan;
            oComplexBtn.RibbonStyle           = eStyle;
            oComplexBtn.ImageOptions.SvgImage = SvgImage.FromFile(strFilePathSvg);

            //add to parent
            oParentSuper.Items.Add(oComplexBtn);
            oParent4Group.ItemLinks.Add(oComplexBtn);

            return(oComplexBtn);
        }
Esempio n. 22
0
        private static bool CanChildStretch(UIElement child)
        {
            // Gets the content child of RibbonControl and
            // determines if its horizontal alignment is
            // center or stretch. It is considered to be so
            // by default.
            RibbonControl ribbonControl = child as RibbonControl;

            if (ribbonControl != null)
            {
                UIElement contentChild = ribbonControl.ContentChild;
                if (contentChild != null)
                {
                    HorizontalAlignment childAlignment = (HorizontalAlignment)contentChild.GetValue(HorizontalAlignmentProperty);
                    if (childAlignment == HorizontalAlignment.Left ||
                        childAlignment == HorizontalAlignment.Right)
                    {
                        return(false);
                    }
                }
            }
            return(true);
        }
Esempio n. 23
0
        private void CambioPagina_Principal(object sender, EventArgs e)
        {
            //  aca deberia haber un chequeo si la vista que esta activa DEJA que esto ocurra
            //  de no ser asi puede forzarse mediante reingreso de credenciales?
            //
            RibbonControl rib = sender as RibbonControl;
            ViewType      vtTag;

            //  se produce cuando cambio de pagina en ribbon => hay que cambiar de vista de trabajo
            string nombreVista = rib.SelectedPage.Tag as string;

            Debug.WriteLine(string.Format("Cambio de pagina MAIN destino --> {0}", rib.SelectedPage.Text));

            //  chequear si el tag no corresponde, tendriamos que avisar a la vista principal (no es necesario porque el evento tambien lo recibe
            //  la vista principal)
            //  TODO Validar que si ya es START, no se cambia de nuevo la vista...normalmente solamente una ribbon page estaria asociada a START pero quien dice
            if (nombreVista == "START")
            {
                _vm.SelectedViewType = ViewType.StartMenu;
            }

            //  _viewModel.SetCurrentWorkViewType((ViewType)Enum.Parse(typeof(ViewType), nombreVista));
        }
Esempio n. 24
0
        /// <summary>
        /// Builds the specified ribbon.
        /// </summary>
        /// <param name="ribbon">The ribbon.</param>
        /// <param name="items">The items.</param>
        /// <param name="doAppletItemClicked">The do applet item clicked.</param>
        public static void Build(RibbonControl control, MenuContainer items, Action <object, RunMode> doAppletItemClicked)
        {
            ClearDynamicPages(control);
            _appletClickedAction = doAppletItemClicked;
            if (items == null)
            {
                return;
            }
            var c = items.Parts.OfType <PageCategory>().Count();
            var s = String.Format(c.ToString());

            foreach (var cat in items.Parts.OfType <PageCategory>())
            {
                var currentCategory = new RibbonPageCategory()
                {
                    Tag     = "CanDelete",
                    ToolTip = cat.ToolTip,
                    Caption = cat.DisplayName
                };
                control.Categories.Add(currentCategory);
                BuildCategory(currentCategory, cat);
            }
        }
Esempio n. 25
0
        /// <summary>
        /// Setup tasks associated with this plug-in.
        /// </summary>
        /// <param name="application">Revit Controlled Application to associate this plug-in with.</param>
        /// <returns>Result of the actions performed OnStartup.</returns>
        public Result OnStartup(UIControlledApplication application)
        {
            try
            {
                RibbonControl _ribbon = ComponentManager.Ribbon;

                string    _tabName = "BIM 365";
                RibbonTab _tab     = Helpers.CreateTab(application, _ribbon, _tabName);

                string _helpPanelName = "Help";
                Help.Panel.AddPanel(application, _tab, _helpPanelName);

                return(Result.Succeeded);
            }
            catch (Exception _ex)
            {
                Autodesk.Revit.UI.TaskDialog.Show(
                    "Error",
                    _ex.Message + _ex.StackTrace);

                return(Result.Failed);
            }
        }
Esempio n. 26
0
        void AddRibbonPageNew(RibbonControl MainControl)
        {
            MainControl.SuspendLayout();
            var menus = SystemAuthentication.SystemMenuList;

            var topMenu = menus.Where(s => s.MenuPid == "0").OrderBy(s => s.MenuSort).ToList();

            foreach (var menu in topMenu)
            {
                RibbonPage addgp = new RibbonPage();
                //菜单显示名称
                addgp.Text       = menu.MenuText;
                addgp.Tag        = menu.MenuText;
                addgp.Name       = menu.MenuText;
                addgp.Image      = Globals.LoadImage(menu.Icon, 16);
                addgp.MergeOrder = menu.MenuSort;
                //添加分组
                var childMenu = menus.Where(s => s.MenuPid == menu.MenuId).OrderBy(s => s.MenuSort).ToList();
                AddRibbonGroupNew(addgp, childMenu);
                //page添加在第一个后面进行倒叙插入
                MainControl.Pages.Insert(1, addgp);
            }
        }
        public void loadmanhinh(RibbonControl ribbon)
        {
            string    nhomnguoidung = Login.nhomng;
            ArrayList Pages         = ribbon.TotalPageCategory.GetVisiblePages();

            foreach (RibbonPage item in Pages)
            {
                if (item.Tag != null)
                {
                    if (pq.kiemtraquyenmanhinh(nhomnguoidung, item.Tag.ToString()))
                    {
                        item.Visible = true;
                    }
                    else
                    {
                        item.Visible = false;
                    }
                }
            }
            foreach (RibbonPage item in Pages)
            {
                foreach (RibbonPageGroup _group in item.Groups)
                {
                    if (_group.Tag != null)
                    {
                        if (pq.kiemtraquyenmanhinh(nhomnguoidung, _group.Tag.ToString()))
                        {
                            _group.Enabled = true;
                        }
                        else
                        {
                            _group.Enabled = false;
                        }
                    }
                }
            }
        }
Esempio n. 28
0
        public static void InitRibbonMenu()
        {
            Editor   ed  = null;
            Document dwg = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument;

            if (dwg != null)
            {
                ed = dwg.Editor;
            }

            try
            {
                RibbonControl rc = RibbonServices.RibbonPaletteSet.RibbonControl;
                RibbonTab     rt = GetExistingRibbonTab(rc);
                if (rt == null)
                {
                    rt = RibbonTab();
                    RibbonPanel  rp = RibbonPanel();
                    RibbonButton rb = RibbonButton("连续取点", "ModelessDialog ");

                    rp.Source.Items.Add(rb);
                    rt.Panels.Add(rp);
                    rc.Tabs.Add(rt);
                }
                if (ed != null)
                {
                    ed.WriteMessage("\n初始化CMCU自动拆图插件成功");
                }
            }
            catch (System.Exception ex)
            {
                if (ed != null)
                {
                    ed.WriteMessage("\n初始化CMCU自动拆图插件失败{0}.", ex.ToString());
                }
            }
        }
Esempio n. 29
0
 /// <summary>Gắn menu chọn Skin vào trong Ribbon Button QuickSet
 /// </summary>
 public static void AddSkinMenuToQuickShortcut(RibbonControl ribbonControl, DevExpress.LookAndFeel.DefaultLookAndFeel defaultLookAndFeel)
 {
     BarSubItem iPaintStyle = new BarSubItem();
     iPaintStyle.Id = frmRibbonMain.IIII++;
     iPaintStyle.Caption = "Paint style";
     iPaintStyle.Description = "Chọn skin cho giao diện";
     iPaintStyle.Hint = "Chọn skin cho giao diện";
     iPaintStyle.Name = "iPaintStyle";
     foreach (DevExpress.Skins.SkinContainer skin in DevExpress.Skins.SkinManager.Default.Skins)
     {
         BarCheckItem item = ribbonControl.Items.CreateCheckItem(skin.SkinName, false);
         item.Id = frmRibbonMain.IIII++;
         item.Tag = skin.SkinName;
         item.ItemClick += delegate(object sender, ItemClickEventArgs e)
         {
             if(FrameworkParams.currentSkin!=null){
                 for (int i = 0; i < FrameworkParams.currentSkin.arrSkinName.Length; i++)
                 {
                     if (FrameworkParams.currentSkin.arrSkinName[i].ToString() == e.Item.Tag.ToString())
                     {
                         FrameworkParams.option.Skin = "" + i;
                         FrameworkParams.option.update();
                         break;
                     }
                 }
             }
             defaultLookAndFeel.LookAndFeel.SetSkinStyle(e.Item.Tag.ToString());
         };
         iPaintStyle.ItemLinks.Add(item);
     }
     iPaintStyle.Popup += delegate(object sender, System.EventArgs e)
     {
         foreach (BarItemLink link in iPaintStyle.ItemLinks)
             ((BarCheckItem)link.Item).Checked = link.Item.Caption == defaultLookAndFeel.LookAndFeel.ActiveSkinName;
     };
     ribbonControl.Toolbar.ItemLinks.Add(iPaintStyle);
 }
Esempio n. 30
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         _popupMenu.Dispose();
         _popupMenu = null;
         GalleryInitDropDownGallery -= FilterGalleryBarItem_GalleryInitDropDownGallery;
         GalleryItemClick           -= FilterGalleryBarItem_GalleryItemClick;
         if (_ribbon != null)
         {
             _ribbon.MergeOwnerChanged     -= ribbonControl_MergeOwnerChanged;
             _ribbon.ShowCustomizationMenu -= Ribbon_ShowCustomizationMenu;
             if (_mergeOwner != null)
             {
                 _mergeOwner.ShowCustomizationMenu -= Ribbon_ShowCustomizationMenu;
             }
             _mergeOwner = null;
             _ribbon     = null;
         }
     }
     base.Dispose(disposing);
     GC.Collect();
     //GC.SuppressFinalize(this);
 }
Esempio n. 31
0
        /// <summary>
        /// 添加Ribbon的Page页面
        /// </summary>
        /// <param name="MainControl"></param>
        void AddRibbonPage(RibbonControl MainControl)
        {
            MainControl.SuspendLayout();
            //获得当前登录用户权限表
            DataView _PageView = new DataView(SystemAuthentication.UserAuthorities);

            //按照菜单排序进行重新排序
            _PageView.Sort = "MenuOrder DESC";
            //获取Page菜单
            _PageView.RowFilter = "MenuLevel = 1";
            foreach (DataRowView drv in _PageView)
            {
                RibbonPage addgp = new RibbonPage();
                //菜单显示名称
                addgp.Text       = drv.Row["MenuText"].ToString();
                addgp.Tag        = drv.Row["MenuNewID"].ToString();
                addgp.Name       = drv.Row["MenuName"].ToString();
                addgp.Image      = Globals.LoadImage(drv.Row["MenuIcon"].ToString(), 16);
                addgp.MergeOrder = Convertto.ToInt(drv.Row["MenuOrder"]);
                //添加分组
                AddRibbonGroup(addgp, drv.Row["MenuID"].ToString());
                //page添加在第一个后面进行倒叙插入
                MainControl.Pages.Insert(1, addgp);

                LogNHelper.Info(addgp.Text);
                LogNHelper.Info(drv.Row["MenuNewID"].ToString());
                LogNHelper.Info(addgp.Name);
                LogNHelper.Info(drv.Row["MenuIcon"].ToString());
                // LogNHelper.Info(drv.Row["MenuTips"].ToString());
                LogNHelper.Info(drv.Row["MenuID"].ToString());
                LogNHelper.Info("-------");
            }


            MainControl.ResumeLayout();
        }
Esempio n. 32
0
        /// <summary>
        /// 作用:鼠标在RibbonControl控件上移动时触发的事件
        /// 作者:汪建龙
        /// 编写时间:2016年12月19日12:56:44
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        public void ribbonControl_MouseMove(object sender, MouseEventArgs e)
        {
            try
            {
                RibbonControl ribbonControl = sender as RibbonControl;
                if (ribbonControl == null || e == null)
                {
                    return;
                }

                RibbonHitInfo hitInfo = ribbonControl.CalcHitInfo(new System.Drawing.Point(e.X, e.Y));
                if (hitInfo.InItem)
                {
                    BarButtonItem item = hitInfo.Item.Item as BarButtonItem;
                    if (item != null && item.Tag is IUICommand)
                    {
                        item.Hint = (item.Tag as IUICommand).Tooltip;
                    }
                }
            }catch (Exception ex)
            {
                //LogManager.Log.LogError(ex.ToString());
            }
        }
Esempio n. 33
0
        public Autodesk.Windows.RibbonItem GetRibbonItem(
            RibbonItem item)
        {
            RibbonControl ribbonControl
                = RevitRibbonControl.RibbonControl;

            foreach (var tab in ribbonControl.Tabs)
            {
                foreach (var panel in tab.Panels)
                {
                    foreach (var ribbonItem
                             in panel.Source.Items)
                    {
                        if (ribbonItem.AutomationName
                            == item.Name)
                        {
                            return(ribbonItem as
                                   Autodesk.Windows.RibbonItem);
                        }
                    }
                }
            }
            return(null);
        }
Esempio n. 34
0
        static RibbonControl FindRibbon(object sender)
        {
            Control ctrlMaster = sender as Control;

            if (ctrlMaster != null && ctrlMaster.Controls != null)
            {
                foreach (Control ctrl in ctrlMaster.Controls)
                {
                    if (ctrl is RibbonControl)
                    {
                        return(ctrl as RibbonControl);
                    }
                    if (ctrl.Controls != null)
                    {
                        RibbonControl ribbon = FindRibbon(ctrl);
                        if (ribbon != null)
                        {
                            return(ribbon);
                        }
                    }
                }
            }
            return(null);
        }
        public void Btn()
        {
            RibbonControl ribbonControl = ComponentManager.Ribbon;                                 //获取CAD的Ribbon界面
            RibbonTab     ribbonTab     = ribbonControl.AddTab("百福工具箱", "Acad.MyRibbonId1", true); //给Ribbon界面添加一个选项卡

            ribbonTab.Panels.Add(ribbonControl.Tabs[0].FindPanel("ID_PanelLayers"));
            ribbonTab.Panels.Add(ribbonControl.Tabs[2].FindPanel("ID_PanelDimensions"));
            //RibbonPanelSource ribbonPanelSource0 = ribbonControl.Tabs[2].FindPanel("ID_PanelDimensions").Source;

            RibbonPanelSource ribbonPanelSource1 = ribbonTab.AddPanel("设置");//给选项卡添加面板

            //添加**命令按钮
            ribbonPanelSource1.Items.Add(RibbonButtonInfos.PSet);
            ribbonPanelSource1.Items.Add(RibbonButtonInfos.Hthj);


            RibbonPanelSource ribbonPanelSource2 = ribbonTab.AddPanel("图层工具");//给选项卡添加面板

            ribbonPanelSource2.Items.Add(RibbonButtonInfos.CurLayer);

            RibbonPanelSource ribbonPanelSource3 = ribbonTab.AddPanel("绘图工具");//给选项卡添加面板

            ribbonPanelSource3.Items.Add(RibbonButtonInfos.Szc);
        }
Esempio n. 36
0
        public void AddRibbonBar(string tabName, RibbonBar ribbonBar)
        {
            RibbonControl ribbonCtrl = this.MainForm.Controls["ribbonControl1"] as RibbonControl;

            if (ribbonCtrl == null)
            {
                throw new Exception("无法找到RibbonContainer。");
            }

            RibbonPanel   ribbonPanel = null;
            RibbonTabItem tabItem;

            foreach (BaseItem item in ribbonCtrl.Items)
            {
                if ((tabItem = item as RibbonTabItem) != null &&
                    string.Equals(Convert.ToString(tabItem.Tag), tabName, StringComparison.OrdinalIgnoreCase))
                {
                    ribbonPanel = tabItem.Panel;
                    break;
                }
            }

            if (ribbonPanel == null)
            {
                throw new Exception("无法找到RibbonPanel。");
            }

            Control lastBar = ribbonPanel.Controls[0];

            ribbonBar.Location = new System.Drawing.Point(lastBar.Location.X + lastBar.Width, lastBar.Location.Y);
            ribbonBar.Size     = new System.Drawing.Size(Math.Max(1, ribbonBar.Width), lastBar.Height);
            ribbonPanel.SuspendLayout();
            ribbonPanel.Controls.Add(ribbonBar);
            ribbonPanel.Controls.SetChildIndex(ribbonBar, 0);
            ribbonPanel.ResumeLayout(false);
        }
Esempio n. 37
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="DesiredFunctionCode"></param>
        /// <param name="type"></param>
        /// <param name="C"></param>
        public static void VerifyButton(string DesiredFunctionCode, string type, RibbonControl C)
        {
            string userName = WindowsIdentity.GetCurrent().Name;
            var    wUserID  = (from FT_user in db.rsUsers
                               where FT_user.WindowsUserID == userName
                               select FT_user.ft_id).First();
            var admin = (from FT_user in db.rsUsers
                         where FT_user.WindowsUserID == userName
                         select FT_user.LoginType).First();

            if (admin == 0)
            {
                C.Visible = true;
                return;
            }
            System.Collections.Generic.List <string> list = ft.GetUserGroups(wUserID.ToString());
            for (int i = 0; i < list.Count; i++)
            {
                string groupid      = list[i];
                bool   groupdisable = (bool)ft.GetGroupDisableByID(int.Parse(groupid));
                if (groupdisable)
                {
                    continue;
                }
                DataTable dt = ft.GetGroupPermissionsView(groupid);
                for (int j = 0; j < dt.Rows.Count; j++)
                {
                    if ((type == dt.Rows[j]["Per_Type"].ToString()) && (DesiredFunctionCode == dt.Rows[j]["PermissionName"].ToString()))
                    {
                        C.Visible = true;
                        return;
                    }
                }
            }
            C.Visible = false;
        }
        //void OnAllowCollapsingClick(object sender, ItemClickEventArgs e)
        //{
        //    ChartDashboardItem dashboardItem = dashboardDesigner.SelectedDashboardItem as ChartDashboardItem;
        //    MultiPaneSettings settings = MultiPaneSettings.FromJson(dashboardItem.CustomProperties[customPropertyName]);
        //    settings.AllowPaneCollapsing = !settings.AllowPaneCollapsing;
        //    string status = settings.AllowPaneCollapsing == true ? "enabled" : "disabled";
        //    CustomPropertyHistoryItem historyItem = new CustomPropertyHistoryItem(dashboardItem, customPropertyName, settings.ToJson(), $"Pane Collapsing for {dashboardItem.ComponentName} is {status}");
        //    dashboardDesigner.AddToHistory(historyItem);
        //    UpdateBarItems();
        //}


        void AddButtonToRibbon()
        {
            RibbonControl   ribbon = dashboardDesigner.Ribbon;
            RibbonPage      page   = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.ChartTools, DashboardRibbonPage.Design);
            RibbonPageGroup group  = page.GetGroupByName(ribonPageGroupName);

            if (group == null)
            {
                group = new RibbonPageGroup(ribonPageGroupName)
                {
                    Name = ribonPageGroupName
                };
                page.Groups.Add(group);
            }
            enableBarItem          = CreateEnableBarItem();
            showTitlesBarItem      = CreateShowTitlesBarItem();
            allowCollapsingBarItem = CreateAllowCollapsingBarItem();
            layoutModeBarItem      = CreateLayoutModeBarItem();

            group.ItemLinks.Add(enableBarItem);
            group.ItemLinks.Add(showTitlesBarItem);
            group.ItemLinks.Add(allowCollapsingBarItem);
            group.ItemLinks.Add(layoutModeBarItem);
        }
Esempio n. 39
0
        // Updates Width and other layout properties in the Visual tree from RibbonControl to InRibbonGallery wherever needed
        // when attains In Ribbon mode.
        private static void OnControlSizeDefinitionChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
        {
            InRibbonGallery me = (InRibbonGallery)d;

            me.CoerceValue(IsCollapsedProperty);
            if (me.IsInInRibbonMode)
            {
                if (me._ribbonControl == null)
                {
                    me._ribbonControl = TreeHelper.FindAncestor(me, delegate(DependencyObject element)
                    {
                        RibbonControl rc = (element as RibbonControl);
                        if (rc != null)
                        {
                            return(me == rc.ContentChild);
                        }

                        return(false);
                    }) as RibbonControl;
                }
            }

            me.UpdateInRibbonGalleryModeProperties();
        }
Esempio n. 40
0
        public static RibbonForm CreateRibbonContainer(this BaseView ctl, Form owner = null)
        {
            RibbonForm container = new RibbonForm();

            var ribbon = new RibbonControl();
            ribbon.RibbonStyle = RibbonControlStyle.Office2013;
            container.Controls.Add(ribbon);
            container.Ribbon = ribbon;
            container.Ribbon.MdiMergeStyle = RibbonMdiMergeStyle.Always;

            container.Width = (int)(SystemInformation.WorkingArea.Width * 0.9);
            container.Height = (int)(SystemInformation.WorkingArea.Height * 0.9);

            if (container.Owner == null)
                container.StartPosition = FormStartPosition.CenterScreen;
            else
            {
                container.Owner = owner;
                container.StartPosition = FormStartPosition.CenterParent;
            }

            if (ctl != null)
            {
                container.Text = ctl.Text;
                container.Controls.Add(ctl);
                ctl.Dock = DockStyle.Fill;

                if (ctl.Ribbon != null)
                    container.Ribbon.MergeRibbon(ctl.Ribbon);

                ctl.TextChanged += (sender, args) =>
                {
                    container.Text = ctl.Text;
                };

                if (ctl.ViewModel != null)
                {
                    ctl.ViewModel.EditStatusChanged += (sender, args) =>
                        {
                            container.Text = ctl.Text + (ctl.IsDirty ? " *" : string.Empty);
                        };
                }

                container.Shown += (sender, args) =>
                {
                    ctl.OnShown();
                };

                container.FormClosing += (sender, args) =>
                {
                    args.Cancel = false;
                    ctl.OnClosing(args);
                };

                container.FormClosed += (sender, args) =>
                {
                    ctl.OnClosed(args);
                };
            }

            return container;
        }
Esempio n. 41
0
        void _buttonOpenGlBoxes_Click(RibbonControl control)
        {
            var overlay = GetActiveOverlay();

            // Toggle the button check state.
            _buttonOpenGlBoxes.Checked = !_buttonOpenGlBoxes.Checked;
            overlay.ShowOpenGlBoxes = _buttonOpenGlBoxes.Checked;
        }
Esempio n. 42
0
		public static void SaveState(RibbonControl ribbon)
		{
			using (var ms = new MemoryStream())
			{
				ribbon.Toolbar.SaveLayoutToStream(ms);
				ms.Seek(0, SeekOrigin.Begin);

				string s;
				using (var sr = new StreamReader(ms, Encoding.UTF8))
				{
					s = sr.ReadToEnd();
				}

				PersistanceHelper.SaveValue(ribbon.Name + @".Toolbar", s);
			}
		}
Esempio n. 43
0
		public static void RestoreState(RibbonControl ribbon)
		{
			var s = ConvertHelper.ToString(PersistanceHelper.RestoreValue(ribbon.Name+@".Toolbar"));

			if (!string.IsNullOrEmpty(s))
			{
				using (var ms =
					new MemoryStream(Encoding.UTF8.GetBytes(s)))
				{
					ribbon.Toolbar.RestoreLayoutFromStream(ms);
				}
			}
		}
Esempio n. 44
0
        private void LoadByRibbonBar(RibbonControl rc)
        {
            // Loop through all RibbonBars and add the items
            foreach (Control panel in rc.Controls)
            {
                LoadByRibbonBar(panel);
            }

            BaseItem startButton = rc.GetApplicationButton();
            if (startButton!=null)
            {
                LoadByRibbonBar(startButton, GetRibbonBarCategory(startButton.Text));
            }
        }
Esempio n. 45
0
        void _buttonBoundingBox_Click(RibbonControl control)
        {
            var overlay = GetActiveOverlay();

            // Toggle the button check state.
            _buttonBoundingBox.Checked = !_buttonBoundingBox.Checked;
            overlay.ShowBoundingBox = _buttonBoundingBox.Checked;
        }
Esempio n. 46
0
        void _buttonGdiPlus_Click(RibbonControl control)
        {
            var overlay = GetActiveOverlay();

            // Toggle the button check state.
            _buttonGdiPlus.Checked = !_buttonGdiPlus.Checked;
            overlay.ShowGDIPlus = _buttonGdiPlus.Checked;
        }
Esempio n. 47
0
        internal override void InitModule(DevExpress.Utils.Menu.IDXMenuManager manager, object data)
        {
            base.InitModule(manager, data);
            schedulerControl1.MenuManager = manager;
            this.ribbon = manager as RibbonControl;
            this.appointmentCategory = FindAppointmentPage(this.ribbon);

            if (calendarControls == null) {
                this.calendarControls = data as ucCalendar;
                this.calendarControls.InitDateNavigator(this.schedulerControl1);
                this.calendarControls.InitResourcesTree(this.schedulerStorage1);
                this.calendarControls.InitBarController(this.schedulerControl1);
            }
        }
Esempio n. 48
0
 private void drawRibbonButton()
 {
     ribbonControl = ((frmRibbonMain)this.mainForm).RibbonCtrl;
     appMenu.BottomPaneControlContainer = null;
     appMenu.RightPaneControlContainer = null;
     //appMenu.RightPaneWidth = 240;
     ribbonControl.ApplicationButtonDropDownControl = appMenu;
     appMenu.MenuDrawMode = MenuDrawMode.LargeImagesText;
     appMenu.Ribbon = ribbonControl;
     SetButton();
     foreach (DataRow dr in ds.Tables[0].Select("Parents='1'"))
     {
         string strID = dr[0].ToString();
         createItem(strID);
     }
 }
Esempio n. 49
0
        public XtraTabPage AddNewTab(ref XtraTabControl tab_control, int width, int height, string text, int curTabIndex, RibbonControl ribbonControl)
        {
            XtraTabPage newTab = new XtraTabPage();
            //TreeList newTree = new TreeList();
            GridControl newGrid = new GridControl();

            GridView newGridView = new GridView();

            if (tab_control != null)
            {
                try
                {
                    tab_control.SuspendLayout();

                    tab_control.TabPages.Add(newTab);

                    newTab.Controls.Add(newGrid);
                    //newTab.Name = name;
                    newTab.Size = new System.Drawing.Size(width, height);
                    newTab.Text = text;

                    newGrid.Dock = DockStyle.Fill;
                    newGrid.Location = new System.Drawing.Point(0, 0);
                    newGrid.MainView = newGridView;
                    newGrid.MenuManager = ribbonControl;
                    newGrid.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { newGridView });
                    //newTree.Name = "tab_" + noOfTab;
                    newGrid.TabIndex = curTabIndex++;
                    noOfTab++;
                    newGrid.Click += new EventHandler(newTree_Click);
                    newGridView.GridControl = newGrid;
                    tab_control.ResumeLayout(false);

                }
                catch (Exception e1) { MessageBox.Show(e1.ToString()); }
                return newTab;
            }
            else
            {
                return null;
            }
        }
Esempio n. 50
0
 public override void OnControlClick(RibbonControl control)
 {
 }
Esempio n. 51
0
        /// <summary>
        /// Loads the items for the customization into the ribbon control. All Ribbon Bars on the ribbon are enumerated and items
        /// are added if they have CanCustomize=true.
        /// </summary>
        /// <param name="rc">Ribbon control to enumerate.</param>
        public void LoadItems(RibbonControl rc)
        {
            m_Categories.Clear();
            itemPanelCommands.Items.Clear();
            itemPanelQat.Items.Clear();

            LoadQatItems(rc);

            if (rc.CategorizeMode == eCategorizeMode.Categories)
                LoadByCategory(rc);
            else
                LoadByRibbonBar(rc);

            LoadCategories();

            checkQatBelowRibbon.Checked = rc.QatPositionedBelowRibbon;
            checkQatBelowRibbon.Visible = rc.EnableQatPlacement;
            m_DataChanged = false;
        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.ribbonBar = new Genetibase.UI.RibbonControl();
            this.blankTab = new Genetibase.UI.RibbonTab();
            this.actionsTab = new Genetibase.UI.RibbonTab();
            this.fileButtonsGroup = new Genetibase.UI.RibbonGroup();
            this.importButton = new Genetibase.UI.RibbonButton();
            this.exportButton = new Genetibase.UI.RibbonButton();
            this.openButton = new Genetibase.UI.RibbonButton();
            this.saveButton = new Genetibase.UI.RibbonButton();
            this.editButtonsGroup = new Genetibase.UI.RibbonGroup();
            this.cutButton = new Genetibase.UI.RibbonButton();
            this.copyButton = new Genetibase.UI.RibbonButton();
            this.pasteButton = new Genetibase.UI.RibbonButton();
            this.pasteAsButton = new Genetibase.UI.RibbonButton();
            this.selectTab = new Genetibase.UI.RibbonTab();
            this.selectButtonsGroup = new Genetibase.UI.RibbonGroup();
            this.selectButton = new Genetibase.UI.RibbonButton();
            this.curveButtonsGroup = new Genetibase.UI.RibbonGroup();
            this.curvePointButton = new Genetibase.UI.RibbonButton();
            this.segmentButton = new Genetibase.UI.RibbonButton();
            this.pointMatchButton = new Genetibase.UI.RibbonButton();
            this.curveCombo = new System.Windows.Forms.ComboBox();
            this.measureButtonsGroup = new Genetibase.UI.RibbonGroup();
            this.measureButton = new Genetibase.UI.RibbonButton();
            this.measureCombo = new System.Windows.Forms.ComboBox();
            this.scaleButtonsGroup = new Genetibase.UI.RibbonGroup();
            this.axisButton = new Genetibase.UI.RibbonButton();
            this.scaleButton = new Genetibase.UI.RibbonButton();
            this.normalStatus = new System.Windows.Forms.StatusBarPanel();
            this.permanentStatus = new System.Windows.Forms.StatusBarPanel();
            this.resStatus = new System.Windows.Forms.StatusBarPanel();
            this.coordsStatus = new System.Windows.Forms.StatusBarPanel();
            this.statusBar = new Genetibase.NuGenTransform.NuGenStatusBar();
            this.ribbonBar.SuspendLayout();
            this.actionsTab.SuspendLayout();
            this.fileButtonsGroup.SuspendLayout();
            this.editButtonsGroup.SuspendLayout();
            this.selectTab.SuspendLayout();
            this.selectButtonsGroup.SuspendLayout();
            this.curveButtonsGroup.SuspendLayout();
            this.measureButtonsGroup.SuspendLayout();
            this.scaleButtonsGroup.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.normalStatus)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.permanentStatus)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.resStatus)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.coordsStatus)).BeginInit();
            this.SuspendLayout();
            // 
            // ribbonBar
            // 
            this.ribbonBar.Controls.Add(this.blankTab);
            this.ribbonBar.Controls.Add(this.actionsTab);
            this.ribbonBar.Controls.Add(this.selectTab);
            this.ribbonBar.Dock = System.Windows.Forms.DockStyle.Top;
            this.ribbonBar.Location = new System.Drawing.Point(0, 0);
            this.ribbonBar.Name = "ribbonBar";
            this.ribbonBar.SelectedIndex = 1;
            this.ribbonBar.Size = new System.Drawing.Size(800, 116);
            this.ribbonBar.TabIndex = 0;
            this.ribbonBar.OnPopup += new Genetibase.UI.RibbonPopupEventHandler(this.ribbonBar_OnPopup);
            // 
            // blankTab
            // 
            this.blankTab.Location = new System.Drawing.Point(4, 25);
            this.blankTab.Name = "blankTab";
            this.blankTab.Size = new System.Drawing.Size(792, 87);
            this.blankTab.TabIndex = 0;
            this.blankTab.Text = "Menu";
            // 
            // actionsTab
            // 
            this.actionsTab.Controls.Add(this.fileButtonsGroup);
            this.actionsTab.Controls.Add(this.editButtonsGroup);
            this.actionsTab.Location = new System.Drawing.Point(4, 25);
            this.actionsTab.Name = "actionsTab";
            this.actionsTab.Padding = new System.Windows.Forms.Padding(3);
            this.actionsTab.Size = new System.Drawing.Size(792, 87);
            this.actionsTab.TabIndex = 0;
            this.actionsTab.Text = "Actions";
            this.actionsTab.UseVisualStyleBackColor = true;
            // 
            // fileButtonsGroup
            // 
            this.fileButtonsGroup.Controls.Add(this.importButton);
            this.fileButtonsGroup.Controls.Add(this.exportButton);
            this.fileButtonsGroup.Controls.Add(this.openButton);
            this.fileButtonsGroup.Controls.Add(this.saveButton);
            this.fileButtonsGroup.Location = new System.Drawing.Point(5, 5);
            this.fileButtonsGroup.Margin = new System.Windows.Forms.Padding(1);
            this.fileButtonsGroup.Name = "fileButtonsGroup";
            this.fileButtonsGroup.Size = new System.Drawing.Size(280, 79);
            this.fileButtonsGroup.TabIndex = 1;
            this.fileButtonsGroup.TabStop = false;
            this.fileButtonsGroup.Text = "File";
            // 
            // importButton
            // 
            this.importButton.Command = null;
            this.importButton.Image = global::Genetibase.NuGenTransform.Properties.Resources.fileimport;
            this.importButton.IsFlat = true;
            this.importButton.IsPressed = false;
            this.importButton.Location = new System.Drawing.Point(5, 5);
            this.importButton.Margin = new System.Windows.Forms.Padding(0);
            this.importButton.Name = "importButton";
            this.importButton.Padding = new System.Windows.Forms.Padding(2);
            this.importButton.Size = new System.Drawing.Size(64, 48);
            this.importButton.TabIndex = 0;
            this.importButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // exportButton
            // 
            this.exportButton.Command = null;
            this.exportButton.Image = global::Genetibase.NuGenTransform.Properties.Resources.fileexport;
            this.exportButton.IsFlat = true;
            this.exportButton.IsPressed = false;
            this.exportButton.Location = new System.Drawing.Point(74, 5);
            this.exportButton.Margin = new System.Windows.Forms.Padding(0);
            this.exportButton.Name = "exportButton";
            this.exportButton.Padding = new System.Windows.Forms.Padding(2);
            this.exportButton.Size = new System.Drawing.Size(64, 48);
            this.exportButton.TabIndex = 1;
            this.exportButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // openButton
            // 
            this.openButton.Command = null;
            this.openButton.Image = global::Genetibase.NuGenTransform.Properties.Resources.fileopen;
            this.openButton.IsFlat = true;
            this.openButton.IsPressed = false;
            this.openButton.Location = new System.Drawing.Point(143, 5);
            this.openButton.Margin = new System.Windows.Forms.Padding(0);
            this.openButton.Name = "openButton";
            this.openButton.Padding = new System.Windows.Forms.Padding(2);
            this.openButton.Size = new System.Drawing.Size(64, 48);
            this.openButton.TabIndex = 2;
            this.openButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // saveButton
            // 
            this.saveButton.Command = null;
            this.saveButton.Image = global::Genetibase.NuGenTransform.Properties.Resources.filesave;
            this.saveButton.IsFlat = true;
            this.saveButton.IsPressed = false;
            this.saveButton.Location = new System.Drawing.Point(210, 5);
            this.saveButton.Margin = new System.Windows.Forms.Padding(0);
            this.saveButton.Name = "saveButton";
            this.saveButton.Padding = new System.Windows.Forms.Padding(2);
            this.saveButton.Size = new System.Drawing.Size(64, 48);
            this.saveButton.TabIndex = 3;
            this.saveButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // editButtonsGroup
            // 
            this.editButtonsGroup.Controls.Add(this.cutButton);
            this.editButtonsGroup.Controls.Add(this.copyButton);
            this.editButtonsGroup.Controls.Add(this.pasteButton);
            this.editButtonsGroup.Controls.Add(this.pasteAsButton);
            this.editButtonsGroup.Location = new System.Drawing.Point(290, 5);
            this.editButtonsGroup.Margin = new System.Windows.Forms.Padding(1);
            this.editButtonsGroup.Name = "editButtonsGroup";
            this.editButtonsGroup.Size = new System.Drawing.Size(280, 79);
            this.editButtonsGroup.TabIndex = 1;
            this.editButtonsGroup.TabStop = false;
            this.editButtonsGroup.Text = "Edit";
            // 
            // cutButton
            // 
            this.cutButton.Command = null;
            this.cutButton.IsFlat = true;
            this.cutButton.IsPressed = false;
            this.cutButton.Location = new System.Drawing.Point(5, 5);
            this.cutButton.Margin = new System.Windows.Forms.Padding(0);
            this.cutButton.Name = "cutButton";
            this.cutButton.Padding = new System.Windows.Forms.Padding(2);
            this.cutButton.Size = new System.Drawing.Size(64, 48);
            this.cutButton.TabIndex = 0;
            this.cutButton.Text = "Cut";
            this.cutButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // copyButton
            // 
            this.copyButton.Command = null;
            this.copyButton.IsFlat = true;
            this.copyButton.IsPressed = false;
            this.copyButton.Location = new System.Drawing.Point(74, 5);
            this.copyButton.Margin = new System.Windows.Forms.Padding(0);
            this.copyButton.Name = "copyButton";
            this.copyButton.Padding = new System.Windows.Forms.Padding(2);
            this.copyButton.Size = new System.Drawing.Size(64, 48);
            this.copyButton.TabIndex = 1;
            this.copyButton.Text = "Copy";
            this.copyButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // pasteButton
            // 
            this.pasteButton.Command = null;
            this.pasteButton.IsFlat = true;
            this.pasteButton.IsPressed = false;
            this.pasteButton.Location = new System.Drawing.Point(143, 5);
            this.pasteButton.Margin = new System.Windows.Forms.Padding(0);
            this.pasteButton.Name = "pasteButton";
            this.pasteButton.Padding = new System.Windows.Forms.Padding(2);
            this.pasteButton.Size = new System.Drawing.Size(64, 48);
            this.pasteButton.TabIndex = 2;
            this.pasteButton.Text = "Paste";
            this.pasteButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // pasteAsButton
            // 
            this.pasteAsButton.Command = null;
            this.pasteAsButton.IsFlat = true;
            this.pasteAsButton.IsPressed = false;
            this.pasteAsButton.Location = new System.Drawing.Point(210, 5);
            this.pasteAsButton.Margin = new System.Windows.Forms.Padding(0);
            this.pasteAsButton.Name = "pasteAsButton";
            this.pasteAsButton.Padding = new System.Windows.Forms.Padding(2);
            this.pasteAsButton.Size = new System.Drawing.Size(64, 48);
            this.pasteAsButton.TabIndex = 3;
            this.pasteAsButton.Text = "Paste As";
            this.pasteAsButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // selectTab
            // 
            this.selectTab.Controls.Add(this.selectButtonsGroup);
            this.selectTab.Controls.Add(this.curveButtonsGroup);
            this.selectTab.Controls.Add(this.measureButtonsGroup);
            this.selectTab.Controls.Add(this.scaleButtonsGroup);
            this.selectTab.Location = new System.Drawing.Point(4, 25);
            this.selectTab.Name = "selectTab";
            this.selectTab.Padding = new System.Windows.Forms.Padding(3);
            this.selectTab.Size = new System.Drawing.Size(792, 87);
            this.selectTab.TabIndex = 1;
            this.selectTab.Text = "Mode";
            this.selectTab.UseVisualStyleBackColor = true;
            // 
            // selectButtonsGroup
            // 
            this.selectButtonsGroup.Controls.Add(this.selectButton);
            this.selectButtonsGroup.Location = new System.Drawing.Point(5, 5);
            this.selectButtonsGroup.Margin = new System.Windows.Forms.Padding(1);
            this.selectButtonsGroup.Name = "selectButtonsGroup";
            this.selectButtonsGroup.Size = new System.Drawing.Size(74, 79);
            this.selectButtonsGroup.TabIndex = 1;
            this.selectButtonsGroup.TabStop = false;
            this.selectButtonsGroup.Text = "Select";
            // 
            // selectButton
            // 
            this.selectButton.Command = null;
            this.selectButton.Image = global::Genetibase.NuGenTransform.Properties.Resources.digitselectlarge;
            this.selectButton.IsFlat = true;
            this.selectButton.IsPressed = false;
            this.selectButton.Location = new System.Drawing.Point(5, 5);
            this.selectButton.Margin = new System.Windows.Forms.Padding(0);
            this.selectButton.Name = "selectButton";
            this.selectButton.Padding = new System.Windows.Forms.Padding(2);
            this.selectButton.Size = new System.Drawing.Size(64, 48);
            this.selectButton.TabIndex = 0;
            this.selectButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // curveButtonsGroup
            // 
            this.curveButtonsGroup.Controls.Add(this.curvePointButton);
            this.curveButtonsGroup.Controls.Add(this.segmentButton);
            this.curveButtonsGroup.Controls.Add(this.pointMatchButton);
            this.curveButtonsGroup.Controls.Add(this.curveCombo);
            this.curveButtonsGroup.Location = new System.Drawing.Point(232, 5);
            this.curveButtonsGroup.Margin = new System.Windows.Forms.Padding(1);
            this.curveButtonsGroup.Name = "curveButtonsGroup";
            this.curveButtonsGroup.Size = new System.Drawing.Size(345, 79);
            this.curveButtonsGroup.TabIndex = 2;
            this.curveButtonsGroup.TabStop = false;
            this.curveButtonsGroup.Text = "Curve Mode";
            // 
            // curvePointButton
            // 
            this.curvePointButton.Command = null;
            this.curvePointButton.Image = global::Genetibase.NuGenTransform.Properties.Resources.digitcurvelarge;
            this.curvePointButton.IsFlat = true;
            this.curvePointButton.IsPressed = false;
            this.curvePointButton.Location = new System.Drawing.Point(5, 5);
            this.curvePointButton.Margin = new System.Windows.Forms.Padding(0);
            this.curvePointButton.Name = "curvePointButton";
            this.curvePointButton.Padding = new System.Windows.Forms.Padding(2);
            this.curvePointButton.Size = new System.Drawing.Size(64, 48);
            this.curvePointButton.TabIndex = 0;
            this.curvePointButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // segmentButton
            // 
            this.segmentButton.Command = null;
            this.segmentButton.Image = global::Genetibase.NuGenTransform.Properties.Resources.digitsegmentlarge;
            this.segmentButton.IsFlat = true;
            this.segmentButton.IsPressed = false;
            this.segmentButton.Location = new System.Drawing.Point(74, 5);
            this.segmentButton.Margin = new System.Windows.Forms.Padding(0);
            this.segmentButton.Name = "segmentButton";
            this.segmentButton.Padding = new System.Windows.Forms.Padding(2);
            this.segmentButton.Size = new System.Drawing.Size(64, 48);
            this.segmentButton.TabIndex = 1;
            this.segmentButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // pointMatchButton
            // 
            this.pointMatchButton.Command = null;
            this.pointMatchButton.Image = global::Genetibase.NuGenTransform.Properties.Resources.digitmatchlarge;
            this.pointMatchButton.IsFlat = true;
            this.pointMatchButton.IsPressed = false;
            this.pointMatchButton.Location = new System.Drawing.Point(143, 5);
            this.pointMatchButton.Margin = new System.Windows.Forms.Padding(0);
            this.pointMatchButton.Name = "pointMatchButton";
            this.pointMatchButton.Padding = new System.Windows.Forms.Padding(2);
            this.pointMatchButton.Size = new System.Drawing.Size(64, 48);
            this.pointMatchButton.TabIndex = 2;
            this.pointMatchButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // curveCombo
            // 
            this.curveCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.curveCombo.Location = new System.Drawing.Point(210, 30);
            this.curveCombo.Name = "curveCombo";
            this.curveCombo.Size = new System.Drawing.Size(121, 21);
            this.curveCombo.TabIndex = 3;
            // 
            // measureButtonsGroup
            // 
            this.measureButtonsGroup.Controls.Add(this.measureButton);
            this.measureButtonsGroup.Controls.Add(this.measureCombo);
            this.measureButtonsGroup.Location = new System.Drawing.Point(582, 5);
            this.measureButtonsGroup.Margin = new System.Windows.Forms.Padding(1);
            this.measureButtonsGroup.Name = "measureButtonsGroup";
            this.measureButtonsGroup.Size = new System.Drawing.Size(200, 79);
            this.measureButtonsGroup.TabIndex = 3;
            this.measureButtonsGroup.TabStop = false;
            this.measureButtonsGroup.Text = "Measure Mode";
            // 
            // measureButton
            // 
            this.measureButton.Command = null;
            this.measureButton.Image = global::Genetibase.NuGenTransform.Properties.Resources.digitmeasurelarge;
            this.measureButton.IsFlat = true;
            this.measureButton.IsPressed = false;
            this.measureButton.Location = new System.Drawing.Point(5, 5);
            this.measureButton.Margin = new System.Windows.Forms.Padding(0);
            this.measureButton.Name = "measureButton";
            this.measureButton.Padding = new System.Windows.Forms.Padding(2);
            this.measureButton.Size = new System.Drawing.Size(64, 48);
            this.measureButton.TabIndex = 0;
            this.measureButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // measureCombo
            // 
            this.measureCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.measureCombo.Location = new System.Drawing.Point(74, 30);
            this.measureCombo.Name = "measureCombo";
            this.measureCombo.Size = new System.Drawing.Size(121, 21);
            this.measureCombo.TabIndex = 1;
            // 
            // scaleButtonsGroup
            // 
            this.scaleButtonsGroup.Controls.Add(this.axisButton);
            this.scaleButtonsGroup.Controls.Add(this.scaleButton);
            this.scaleButtonsGroup.Location = new System.Drawing.Point(84, 5);
            this.scaleButtonsGroup.Margin = new System.Windows.Forms.Padding(1);
            this.scaleButtonsGroup.Name = "scaleButtonsGroup";
            this.scaleButtonsGroup.Size = new System.Drawing.Size(143, 79);
            this.scaleButtonsGroup.TabIndex = 1;
            this.scaleButtonsGroup.TabStop = false;
            this.scaleButtonsGroup.Text = "Graph Scale";
            // 
            // axisButton
            // 
            this.axisButton.Command = null;
            this.axisButton.Image = global::Genetibase.NuGenTransform.Properties.Resources.digitaxissmall;
            this.axisButton.IsFlat = true;
            this.axisButton.IsPressed = false;
            this.axisButton.Location = new System.Drawing.Point(5, 5);
            this.axisButton.Margin = new System.Windows.Forms.Padding(0);
            this.axisButton.Name = "axisButton";
            this.axisButton.Padding = new System.Windows.Forms.Padding(2);
            this.axisButton.Size = new System.Drawing.Size(64, 48);
            this.axisButton.TabIndex = 0;
            this.axisButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // scaleButton
            // 
            this.scaleButton.Command = null;
            this.scaleButton.Image = global::Genetibase.NuGenTransform.Properties.Resources.digitscalelarge;
            this.scaleButton.IsFlat = true;
            this.scaleButton.IsPressed = false;
            this.scaleButton.Location = new System.Drawing.Point(74, 5);
            this.scaleButton.Margin = new System.Windows.Forms.Padding(0);
            this.scaleButton.Name = "scaleButton";
            this.scaleButton.Padding = new System.Windows.Forms.Padding(2);
            this.scaleButton.Size = new System.Drawing.Size(64, 48);
            this.scaleButton.TabIndex = 1;
            this.scaleButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // normalStatus
            // 
            this.normalStatus.Name = "normalStatus";
            this.normalStatus.Width = 320;
            // 
            // permanentStatus
            // 
            this.permanentStatus.Name = "permanentStatus";
            this.permanentStatus.Width = 320;
            // 
            // resStatus
            // 
            this.resStatus.Name = "resStatus";
            this.resStatus.Width = 80;
            // 
            // coordsStatus
            // 
            this.coordsStatus.Name = "coordsStatus";
            this.coordsStatus.Width = 80;
            // 
            // statusBar
            // 
            this.statusBar.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.statusBar.Font = new System.Drawing.Font("Helvetica", 8.25F);
            this.statusBar.Location = new System.Drawing.Point(0, 575);
            this.statusBar.Name = "statusBar";
            this.statusBar.ShowPanels = true;
            this.statusBar.Size = new System.Drawing.Size(800, 25);
            this.statusBar.TabIndex = 1;
            // 
            // NuGenForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
            this.ClientSize = new System.Drawing.Size(800, 600);
            this.Controls.Add(this.ribbonBar);
            this.Controls.Add(this.statusBar);
            this.MinimumSize = new System.Drawing.Size(565, 200);
            this.Name = "NuGenForm";
            this.Text = "Form1";
            this.ribbonBar.ResumeLayout(false);
            this.actionsTab.ResumeLayout(false);
            this.fileButtonsGroup.ResumeLayout(false);
            this.editButtonsGroup.ResumeLayout(false);
            this.selectTab.ResumeLayout(false);
            this.selectButtonsGroup.ResumeLayout(false);
            this.curveButtonsGroup.ResumeLayout(false);
            this.measureButtonsGroup.ResumeLayout(false);
            this.scaleButtonsGroup.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.normalStatus)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.permanentStatus)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.resStatus)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.coordsStatus)).EndInit();
            this.ResumeLayout(false);

        }
Esempio n. 53
0
        private void LoadQatItems(RibbonControl rc)
        {
            int count = rc.QuickToolbarItems.Count;
            int start = 0;

            BaseItem startButton = rc.GetApplicationButton();
            if (startButton != null)
                start = rc.QuickToolbarItems.IndexOf(startButton) + 1;

            for (int i = start; i < count; i++)
            {
                BaseItem item = rc.QuickToolbarItems[i];
                if (IsSystemItem(item))
                    continue;
                BaseItem custItem = GetCustomizeRepresentation(item);
                custItem.Tag = null;
                if (!item.CanCustomize) custItem.Visible = false;
                itemPanelQat.Items.Add(custItem);
            }
        }
 RibbonPage AddPage(RibbonControl ribbon, string pageName) {
     var page = new RibbonPage(pageName) { Name = pageName };
     ribbon.Pages.Add(page);
     return page;
 }
Esempio n. 55
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Manager" /> class.
 /// </summary>
 /// <param name="region">The region.</param>
 /// <param name="regionTarget">The region target.</param>
 public Manager(IRegion region, RibbonControl regionTarget)
 {
     this.region       = region;
     this.regionTarget = regionTarget;
     this.region.Views.CollectionChanged += this.ViewsCollectionChanged;
 }
 /// <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(CommonParentForm));
     this.rbnMain = new DevExpress.XtraBars.Ribbon.RibbonControl();
     this.appMenu = new DevExpress.XtraBars.Ribbon.ApplicationMenu(this.components);
     this.bbiSettings = new DevExpress.XtraBars.BarButtonItem();
     this.bbiExitUser = new DevExpress.XtraBars.BarButtonItem();
     this.siVersion = new DevExpress.XtraBars.BarStaticItem();
     this.alignButtonGroup = new DevExpress.XtraBars.BarButtonGroup();
     this.bbiAdd = new DevExpress.XtraBars.BarButtonItem();
     this.bbiRemove = new DevExpress.XtraBars.BarButtonItem();
     this.bbiRefresh = new DevExpress.XtraBars.BarButtonItem();
     this.bbiExel = new DevExpress.XtraBars.BarButtonItem();
     this.bbiAdmin = new DevExpress.XtraBars.BarButtonItem();
     this.bbiSave = new DevExpress.XtraBars.BarButtonItem();
     this.bbiRoleEdit = new DevExpress.XtraBars.BarButtonItem();
     this.brDockMenuItem = new DevExpress.XtraBars.BarDockingMenuItem();
     this.brEdItControlsStates = new DevExpress.XtraBars.BarEditItem();
     this.ripceControlsStates = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
     this.rpMain = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.rpgMain = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.rpDictionaries = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.rpgCommonDictionaries = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.rpReports = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.rpSettings = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.rpAdmin = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.rpgAdmin = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.riceStates = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.rsbMain = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
     this.defaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
     this.dxErrorProvider = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
     this.documentMng = new DevExpress.XtraBars.Docking2010.DocumentManager(this.components);
     this.MDIViewNative = new DevExpress.XtraBars.Docking2010.Views.NativeMdi.NativeMdiView(this.components);
     this.MDIViewTabbed = new DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView(this.components);
     this.bbiChangeUser = new DevExpress.XtraBars.BarButtonItem();
     ((System.ComponentModel.ISupportInitialize)(this.rbnMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.appMenu)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ripceControlsStates)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.riceStates)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.documentMng)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.MDIViewNative)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.MDIViewTabbed)).BeginInit();
     this.SuspendLayout();
     //
     // rbnMain
     //
     this.rbnMain.ApplicationButtonDropDownControl = this.appMenu;
     this.rbnMain.ApplicationButtonText = "Меню";
     this.rbnMain.AutoSizeItems = true;
     this.rbnMain.Categories.AddRange(new DevExpress.XtraBars.BarManagerCategory[] {
     new DevExpress.XtraBars.BarManagerCategory("Dictionaries", new System.Guid("bfb17616-73d9-42e6-8028-a10ce19e5160"))});
     this.rbnMain.ExpandCollapseItem.Id = 0;
     this.rbnMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.rbnMain.ExpandCollapseItem,
     this.siVersion,
     this.alignButtonGroup,
     this.bbiAdd,
     this.bbiRemove,
     this.bbiRefresh,
     this.bbiExel,
     this.bbiAdmin,
     this.bbiSave,
     this.bbiRoleEdit,
     this.brDockMenuItem,
     this.bbiSettings,
     this.brEdItControlsStates,
     this.bbiExitUser,
     this.bbiChangeUser});
     this.rbnMain.Location = new System.Drawing.Point(0, 0);
     this.rbnMain.MaxItemId = 162;
     this.rbnMain.Name = "rbnMain";
     this.rbnMain.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
     this.rpMain,
     this.rpDictionaries,
     this.rpReports,
     this.rpSettings,
     this.rpAdmin});
     this.rbnMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.ripceControlsStates,
     this.riceStates});
     this.rbnMain.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2013;
     this.rbnMain.ShowToolbarCustomizeItem = false;
     this.rbnMain.Size = new System.Drawing.Size(1210, 173);
     this.rbnMain.StatusBar = this.rsbMain;
     this.rbnMain.Toolbar.ItemLinks.Add(this.bbiAdd);
     this.rbnMain.Toolbar.ItemLinks.Add(this.bbiRemove);
     this.rbnMain.Toolbar.ItemLinks.Add(this.bbiRefresh);
     this.rbnMain.Toolbar.ItemLinks.Add(this.bbiSave);
     this.rbnMain.Toolbar.ItemLinks.Add(this.bbiExel);
     this.rbnMain.Toolbar.ItemLinks.Add(this.brDockMenuItem);
     this.rbnMain.Toolbar.ShowCustomizeItem = false;
     this.rbnMain.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Below;
     this.rbnMain.ShowCustomizationMenu += new DevExpress.XtraBars.Ribbon.RibbonCustomizationMenuEventHandler(this.RibbonShowCustomizationMenu);
     this.rbnMain.Merge += new DevExpress.XtraBars.Ribbon.RibbonMergeEventHandler(this.MainMerge);
     //
     // appMenu
     //
     this.appMenu.ItemLinks.Add(this.bbiSettings, true);
     this.appMenu.ItemLinks.Add(this.bbiChangeUser);
     this.appMenu.ItemLinks.Add(this.bbiExitUser);
     this.appMenu.Name = "appMenu";
     this.appMenu.Ribbon = this.rbnMain;
     //
     // bbiSettings
     //
     this.bbiSettings.Caption = "Настройки";
     this.bbiSettings.Description = "Настройки программы";
     this.bbiSettings.Hint = "Настройки программы";
     this.bbiSettings.Id = 76;
     this.bbiSettings.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiSettings.LargeGlyph")));
     this.bbiSettings.Name = "bbiSettings";
     //
     // bbiExitUser
     //
     this.bbiExitUser.Caption = "Выход";
     this.bbiExitUser.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537");
     this.bbiExitUser.Id = 160;
     this.bbiExitUser.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiExitUser.LargeGlyph")));
     this.bbiExitUser.Name = "bbiExitUser";
     //
     // siVersion
     //
     this.siVersion.Caption = "Версия:";
     this.siVersion.Id = 31;
     this.siVersion.Name = "siVersion";
     this.siVersion.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // alignButtonGroup
     //
     this.alignButtonGroup.Caption = "Align Commands";
     this.alignButtonGroup.Id = 52;
     this.alignButtonGroup.Name = "alignButtonGroup";
     //
     // bbiAdd
     //
     this.bbiAdd.Caption = "Добавить данные";
     this.bbiAdd.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiAdd.Glyph")));
     this.bbiAdd.Hint = "Добавить новую запись в текущий элемент интерфейса";
     this.bbiAdd.Id = 62;
     this.bbiAdd.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N));
     this.bbiAdd.Name = "bbiAdd";
     this.bbiAdd.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.AddItemClick);
     //
     // bbiRemove
     //
     this.bbiRemove.Caption = "Удалить данные";
     this.bbiRemove.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiRemove.Glyph")));
     this.bbiRemove.Hint = "Удалить текущие данные";
     this.bbiRemove.Id = 63;
     this.bbiRemove.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete));
     this.bbiRemove.Name = "bbiRemove";
     this.bbiRemove.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.RemoveItemClick);
     //
     // bbiRefresh
     //
     this.bbiRefresh.Caption = "Обновить данные";
     this.bbiRefresh.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiRefresh.Glyph")));
     this.bbiRefresh.Hint = "Обновить записи из базы данных";
     this.bbiRefresh.Id = 65;
     this.bbiRefresh.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F5);
     this.bbiRefresh.Name = "bbiRefresh";
     this.bbiRefresh.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.RefreshItemClick);
     //
     // bbiExel
     //
     this.bbiExel.Caption = "Сохранить в Exel";
     this.bbiExel.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiExel.Glyph")));
     this.bbiExel.Hint = "Сохранить данные в виде Excel";
     this.bbiExel.Id = 66;
     this.bbiExel.Name = "bbiExel";
     this.bbiExel.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ExelItemClick);
     //
     // bbiAdmin
     //
     this.bbiAdmin.Caption = "Настройка интерфейсов";
     this.bbiAdmin.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiAdmin.Glyph")));
     this.bbiAdmin.Hint = "Администрирование внешнего вида форм";
     this.bbiAdmin.Id = 69;
     this.bbiAdmin.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiAdmin.LargeGlyph")));
     this.bbiAdmin.Name = "bbiAdmin";
     this.bbiAdmin.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.AdminItemClick);
     //
     // bbiSave
     //
     this.bbiSave.Caption = "Сохранить в базу";
     this.bbiSave.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiSave.Glyph")));
     this.bbiSave.Hint = "Сохранить изменения текущего элемента на сервер";
     this.bbiSave.Id = 70;
     this.bbiSave.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S));
     this.bbiSave.Name = "bbiSave";
     this.bbiSave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.CommitItemClick);
     //
     // bbiRoleEdit
     //
     this.bbiRoleEdit.Caption = "Настройка ролей и сотрудников";
     this.bbiRoleEdit.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiRoleEdit.Glyph")));
     this.bbiRoleEdit.Id = 71;
     this.bbiRoleEdit.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiRoleEdit.LargeGlyph")));
     this.bbiRoleEdit.Name = "bbiRoleEdit";
     this.bbiRoleEdit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.RoleEditItemClick);
     //
     // brDockMenuItem
     //
     this.brDockMenuItem.Caption = "Расположение форм";
     this.brDockMenuItem.Glyph = ((System.Drawing.Image)(resources.GetObject("brDockMenuItem.Glyph")));
     this.brDockMenuItem.Hint = "Настройка расположения форм";
     this.brDockMenuItem.Id = 78;
     this.brDockMenuItem.Name = "brDockMenuItem";
     //
     // brEdItControlsStates
     //
     this.brEdItControlsStates.Edit = this.ripceControlsStates;
     this.brEdItControlsStates.Id = 89;
     this.brEdItControlsStates.Name = "brEdItControlsStates";
     //
     // ripceControlsStates
     //
     this.ripceControlsStates.AutoHeight = false;
     this.ripceControlsStates.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.ripceControlsStates.Name = "ripceControlsStates";
     //
     // rpMain
     //
     this.rpMain.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.rpgMain});
     this.rpMain.Name = "rpMain";
     this.rpMain.Text = "Главная";
     //
     // rpgMain
     //
     this.rpgMain.Name = "rpgMain";
     this.rpgMain.Text = "Главное";
     //
     // rpDictionaries
     //
     this.rpDictionaries.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.rpgCommonDictionaries});
     this.rpDictionaries.Name = "rpDictionaries";
     this.rpDictionaries.Text = "Справочники";
     //
     // rpgCommonDictionaries
     //
     this.rpgCommonDictionaries.Name = "rpgCommonDictionaries";
     this.rpgCommonDictionaries.Text = "Общие";
     //
     // rpReports
     //
     this.rpReports.Name = "rpReports";
     this.rpReports.Text = "Отчёты";
     //
     // rpSettings
     //
     this.rpSettings.Name = "rpSettings";
     this.rpSettings.Text = "Настройки системы";
     //
     // rpAdmin
     //
     this.rpAdmin.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.rpgAdmin});
     this.rpAdmin.Name = "rpAdmin";
     this.rpAdmin.Text = "Администрирование";
     this.rpAdmin.Visible = false;
     //
     // rpgAdmin
     //
     this.rpgAdmin.ItemLinks.Add(this.bbiAdmin);
     this.rpgAdmin.ItemLinks.Add(this.bbiRoleEdit);
     this.rpgAdmin.Name = "rpgAdmin";
     this.rpgAdmin.Text = "Администратор";
     //
     // riceStates
     //
     this.riceStates.Name = "riceStates";
     this.riceStates.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
     //
     // rsbMain
     //
     this.rsbMain.ItemLinks.Add(this.siVersion);
     this.rsbMain.Location = new System.Drawing.Point(0, 669);
     this.rsbMain.Name = "rsbMain";
     this.rsbMain.Ribbon = this.rbnMain;
     this.rsbMain.Size = new System.Drawing.Size(1210, 31);
     //
     // dxErrorProvider
     //
     this.dxErrorProvider.ContainerControl = this;
     //
     // documentMng
     //
     this.documentMng.MdiParent = this;
     this.documentMng.MenuManager = this.rbnMain;
     this.documentMng.ShowThumbnailsInTaskBar = DevExpress.Utils.DefaultBoolean.False;
     this.documentMng.View = this.MDIViewNative;
     this.documentMng.ViewCollection.AddRange(new DevExpress.XtraBars.Docking2010.Views.BaseView[] {
     this.MDIViewNative,
     this.MDIViewTabbed});
     //
     // bbiChangeUser
     //
     this.bbiChangeUser.Caption = "Сменить пользователя";
     this.bbiChangeUser.Id = 161;
     this.bbiChangeUser.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiChangeUser.LargeGlyph")));
     this.bbiChangeUser.Name = "bbiChangeUser";
     //
     // CommonParentForm
     //
     this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1210, 700);
     this.Controls.Add(this.rsbMain);
     this.Controls.Add(this.rbnMain);
     this.IsMdiContainer = true;
     this.Name = "CommonParentForm";
     this.Ribbon = this.rbnMain;
     this.StatusBar = this.rsbMain;
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Activated += new System.EventHandler(this.CommonParentFormActivated);
     this.Load += new System.EventHandler(this.CommonParentFormLoad);
     this.Shown += new System.EventHandler(this.CommonParentFormShown);
     ((System.ComponentModel.ISupportInitialize)(this.rbnMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.appMenu)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ripceControlsStates)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.riceStates)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.documentMng)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.MDIViewNative)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.MDIViewTabbed)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 public RibbonViewInfoEx(RibbonControl ribbon) : base(ribbon)
 {
 }
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.iNew = new DevExpress.XtraBars.BarButtonItem();
            this.iNew2 = new DevExpress.XtraBars.BarButtonItem();
            this.iNewR = new DevExpress.XtraBars.BarButtonItem();
            this.iNewR2IB = new DevExpress.XtraBars.BarButtonItem();
            this.iLoadStrategy = new DevExpress.XtraBars.BarButtonItem();
            this.pmNew = new DevExpress.XtraBars.PopupMenu(this.components);
            this.pmNewR = new DevExpress.XtraBars.PopupMenu(this.components);
            this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
            this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem3 = new DevExpress.XtraBars.BarStaticItem();
            this.btnSbobetGetInfo = new DevExpress.XtraBars.BarButtonItem();
            this.lblSbobetCurrentCredit = new DevExpress.XtraBars.BarStaticItem();
            this.lblSbobetTotalMatch = new DevExpress.XtraBars.BarStaticItem();
            this.lblSbobetLastUpdate = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem7 = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem8 = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem9 = new DevExpress.XtraBars.BarStaticItem();
            this.lblIbetCurrentCredit = new DevExpress.XtraBars.BarStaticItem();
            this.lblIbetTotalMatch = new DevExpress.XtraBars.BarStaticItem();
            this.lblIbetLastUpdate = new DevExpress.XtraBars.BarStaticItem();
            this.btnIbetGetInfo = new DevExpress.XtraBars.BarButtonItem();
            this.lblStatus = new DevExpress.XtraBars.BarStaticItem();
            this.lblSameMatch = new DevExpress.XtraBars.BarStaticItem();
            this.lblLastUpdate = new DevExpress.XtraBars.BarStaticItem();
            this.btnStart = new DevExpress.XtraBars.BarButtonItem();
            this.btnStop = new DevExpress.XtraBars.BarButtonItem();
            this.btnClear = new DevExpress.XtraBars.BarButtonItem();
            this.btnSnapShot = new DevExpress.XtraBars.BarButtonItem();
            this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.rpgIbet = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.rpgSbobet = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
            this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPageMatches = new DevExpress.XtraTab.XtraTabPage();
            this.grdSameMatch = new DevExpress.XtraGrid.GridControl();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.xtraTabPageBetList1 = new DevExpress.XtraTab.XtraTabPage();
            this.girdBetList1 = new DevExpress.XtraGrid.GridControl();
            this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn33 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn25 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn28 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn29 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn30 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn31 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn32 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.xtraTabPageBetList2 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabControl2 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage();
            this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
            this.checkEdit2 = new DevExpress.XtraEditors.CheckEdit();
            this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
            this.checkEdit18 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit17 = new DevExpress.XtraEditors.CheckEdit();
            this.spinEdit4 = new DevExpress.XtraEditors.SpinEdit();
            this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit();
            this.spinEdit3 = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
            this.spinEdit2 = new DevExpress.XtraEditors.SpinEdit();
            this.spinEdit1 = new DevExpress.XtraEditors.SpinEdit();
            this.txtTransactionTimeSpan = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
            this.txtMaxTimePerHalf = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
            this.chbAllowHalftime = new DevExpress.XtraEditors.CheckEdit();
            this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
            this.checkEdit15 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit14 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit13 = new DevExpress.XtraEditors.CheckEdit();
            this.btnSetUpdateInterval = new DevExpress.XtraEditors.SimpleButton();
            this.txtSBOBETUpdateInterval = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
            this.txtIBETUpdateInterval = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
            this.groupControl5 = new DevExpress.XtraEditors.GroupControl();
            this.chbHighRevenueBoost = new DevExpress.XtraEditors.CheckEdit();
            this.txtAddValue = new DevExpress.XtraEditors.SpinEdit();
            this.txtLowestOddValue = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
            this.txtOddValueDifferenet = new DevExpress.XtraEditors.SpinEdit();
            this.checkEdit6 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit5 = new DevExpress.XtraEditors.CheckEdit();
            this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
            this.checkEdit7 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit12 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit11 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit10 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit9 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit8 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit4 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit3 = new DevExpress.XtraEditors.CheckEdit();
            this.groupControl4 = new DevExpress.XtraEditors.GroupControl();
            this.txtSBOBETFixedStake = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
            this.txtStake = new DevExpress.XtraEditors.MemoEdit();
            this.chbRandomStake = new DevExpress.XtraEditors.CheckEdit();
            this.txtIBETFixedStake = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
            this.groupControl6 = new DevExpress.XtraEditors.GroupControl();
            this.chkListAllowedMatch = new DevExpress.XtraEditors.CheckedListBoxControl();
            this.xtraTabPage5 = new DevExpress.XtraTab.XtraTabPage();
            this.grdTransaction = new DevExpress.XtraGrid.GridControl();
            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.panelControl5 = new DevExpress.XtraEditors.PanelControl();
            this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
            this.label1 = new System.Windows.Forms.Label();
            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
            this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
            this.panelControl9 = new DevExpress.XtraEditors.PanelControl();
            this.panelControl10 = new DevExpress.XtraEditors.PanelControl();
            this.btnIBETGO2 = new DevExpress.XtraEditors.SimpleButton();
            this.txtIBETAddress2 = new DevExpress.XtraEditors.TextEdit();
            this.xtraTabPage9 = new DevExpress.XtraTab.XtraTabPage();
            ((System.ComponentModel.ISupportInitialize)(this.pmNew)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pmNewR)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
            this.splitContainerControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.xtraTabPageMatches.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdSameMatch)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            this.xtraTabPageBetList1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.girdBetList1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).BeginInit();
            this.xtraTabControl2.SuspendLayout();
            this.xtraTabPage4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
            this.groupControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit18.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit17.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit4.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit3.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTransactionTimeSpan.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtMaxTimePerHalf.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chbAllowHalftime.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
            this.groupControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit15.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit14.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit13.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETUpdateInterval.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETUpdateInterval.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).BeginInit();
            this.groupControl5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.chbHighRevenueBoost.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAddValue.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtLowestOddValue.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtOddValueDifferenet.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit6.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit5.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit7.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit12.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit11.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit10.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit9.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit8.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).BeginInit();
            this.groupControl4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETFixedStake.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtStake.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chbRandomStake.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETFixedStake.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).BeginInit();
            this.groupControl6.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.chkListAllowedMatch)).BeginInit();
            this.xtraTabPage5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl10)).BeginInit();
            this.panelControl10.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETAddress2.Properties)).BeginInit();
            this.xtraTabPage9.SuspendLayout();
            this.SuspendLayout();
            // 
            // gridColumn23
            // 
            this.gridColumn23.Caption = "Kick Off";
            this.gridColumn23.FieldName = "KickOffTime";
            this.gridColumn23.Name = "gridColumn23";
            this.gridColumn23.Visible = true;
            this.gridColumn23.VisibleIndex = 8;
            this.gridColumn23.Width = 150;
            // 
            // iNew
            // 
            this.iNew.Caption = "Open Website";
            this.iNew.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f");
            this.iNew.Description = "Open Website";
            this.iNew.Enabled = false;
            this.iNew.Hint = "Open main web";
            this.iNew.Id = 0;
            this.iNew.ImageIndex = 6;
            this.iNew.LargeImageIndex = 0;
            this.iNew.Name = "iNew";
            this.iNew.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnViewIbetWeb);
            // 
            // iNew2
            // 
            this.iNew2.Caption = "Open 2nd Website";
            this.iNew2.CategoryGuid = new System.Guid("1b511317-d784-42ba-b4ed-0d2a746d6c1f");
            this.iNew2.Description = "Open 2nd Website";
            this.iNew2.Enabled = false;
            this.iNew2.Hint = "Open main web";
            this.iNew2.Id = 0;
            this.iNew2.ImageIndex = 6;
            this.iNew2.LargeImageIndex = 0;
            this.iNew2.Name = "iNew2";
            this.iNew2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnViewIbet2Web);
            // 
            // iNewR
            // 
            this.iNewR.Caption = "Open Website";
            this.iNewR.CategoryGuid = new System.Guid("ab511317-d784-42ba-b4ed-0d2a746d6c1f");
            this.iNewR.Description = "Open Website";
            this.iNewR.Enabled = false;
            this.iNewR.Hint = "Open main web";
            this.iNewR.Id = 0;
            this.iNewR.ImageIndex = 6;
            this.iNewR.LargeImageIndex = 0;
            this.iNewR.Name = "iNewR";
            this.iNewR.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnViewSboWeb);
            // 
            // iNewR2IB
            // 
            this.iNewR2IB.Caption = "Login to 2nd IBET";
            this.iNewR2IB.CategoryGuid = new System.Guid("ab511317-d784-42ba-b4ed-0d2a746d6c1f");
            this.iNewR2IB.Description = "2nd IB";
            this.iNewR2IB.Enabled = false;
            this.iNewR2IB.Hint = "2nd IB";
            this.iNewR2IB.Id = 0;
            this.iNewR2IB.ImageIndex = 6;
            this.iNewR2IB.LargeImageIndex = 0;
            this.iNewR2IB.Name = "iNewR2IB";
            this.iNewR2IB.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLoginIbet2);
            // 
            // iLoadStrategy
            // 
            this.iLoadStrategy.Caption = "Load Strategy";
            this.iLoadStrategy.Description = "Load Strategy";
            this.iLoadStrategy.Enabled = false;
            this.iLoadStrategy.Hint = "Best Strategy";
            this.iLoadStrategy.Id = 0;
            this.iLoadStrategy.ImageIndex = 6;
            this.iLoadStrategy.LargeImageIndex = 0;
            this.iLoadStrategy.Name = "iLoadStrategy";
            this.iLoadStrategy.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLoadStrategy);
            // 
            // pmNew
            // 
            this.pmNew.ItemLinks.Add(this.iNew);
            this.pmNew.ItemLinks.Add(this.iLoadStrategy);
            this.pmNew.ItemLinks.Add(this.iNewR2IB);
            this.pmNew.ItemLinks.Add(this.iNew2);
            this.pmNew.Name = "pmNew";
            // 
            // pmNewR
            // 
            this.pmNewR.ItemLinks.Add(this.iNewR);

            this.pmNewR.Name = "pmNewR";
            // 
            // ribbonControl1
            // 
            this.ribbonControl1.ApplicationButtonText = null;
            // 
            // 
            // 
            this.ribbonControl1.ExpandCollapseItem.Id = 0;
            this.ribbonControl1.ExpandCollapseItem.Name = "";
            this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.ribbonControl1.ExpandCollapseItem,
            this.barStaticItem1,
            this.barStaticItem2,
            this.barStaticItem3,
            this.btnSbobetGetInfo,
            this.lblSbobetCurrentCredit,
            this.lblSbobetTotalMatch,
            this.lblSbobetLastUpdate,
            this.barStaticItem7,
            this.barStaticItem8,
            this.barStaticItem9,
            this.lblIbetCurrentCredit,
            this.lblIbetTotalMatch,
            this.lblIbetLastUpdate,
            this.btnIbetGetInfo,
            this.iNew,
            this.iNew2,
            this.iNewR,
            this.iNewR2IB,
            this.iLoadStrategy,
            this.lblStatus,
            this.lblSameMatch,
            this.lblLastUpdate,
            this.btnStart,
            this.btnStop,
            this.btnClear,
            this.btnSnapShot});
            this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
            this.ribbonControl1.MaxItemId = 23;
            this.ribbonControl1.Name = "ribbonControl1";
            this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
            this.ribbonPage1});
            this.ribbonControl1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010;
            this.ribbonControl1.SelectedPage = this.ribbonPage1;
            this.ribbonControl1.ShowCategoryInCaption = false;
            this.ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
            this.ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
            this.ribbonControl1.ShowToolbarCustomizeItem = false;
            this.ribbonControl1.Size = new System.Drawing.Size(1130, 125);
            this.ribbonControl1.Toolbar.ShowCustomizeItem = false;
            // 
            // barStaticItem1
            // 
            this.barStaticItem1.Caption = "Current Credit:";
            this.barStaticItem1.Id = 1;
            this.barStaticItem1.Name = "barStaticItem1";
            this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem2
            // 
            this.barStaticItem2.Caption = "Total Match:";
            this.barStaticItem2.Id = 2;
            this.barStaticItem2.Name = "barStaticItem2";
            this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem3
            // 
            this.barStaticItem3.Caption = "Last Update:";
            this.barStaticItem3.Id = 3;
            this.barStaticItem3.Name = "barStaticItem3";
            this.barStaticItem3.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // btnSbobetGetInfo
            // 
            this.btnSbobetGetInfo.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
            this.btnSbobetGetInfo.Caption = "Log In";
            this.btnSbobetGetInfo.DropDownControl = this.pmNewR;
            this.btnSbobetGetInfo.Id = 4;
            this.btnSbobetGetInfo.LargeGlyph = global::iBet.App.Properties.Resources.i8;
            this.btnSbobetGetInfo.Name = "btnSbobetGetInfo";
            this.btnSbobetGetInfo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnSbobetGetInfo_ItemClick);
            // 
            // lblSbobetCurrentCredit
            // 
            this.lblSbobetCurrentCredit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblSbobetCurrentCredit.Appearance.Options.UseFont = true;
            this.lblSbobetCurrentCredit.Caption = "-";
            this.lblSbobetCurrentCredit.Id = 5;
            this.lblSbobetCurrentCredit.Name = "lblSbobetCurrentCredit";
            this.lblSbobetCurrentCredit.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblSbobetCurrentCredit.Width = 135;
            // 
            // lblSbobetTotalMatch
            // 
            this.lblSbobetTotalMatch.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblSbobetTotalMatch.Appearance.Options.UseFont = true;
            this.lblSbobetTotalMatch.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
            this.lblSbobetTotalMatch.Caption = "-";
            this.lblSbobetTotalMatch.Id = 6;
            this.lblSbobetTotalMatch.Name = "lblSbobetTotalMatch";
            this.lblSbobetTotalMatch.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblSbobetTotalMatch.Width = 135;
            // 
            // lblSbobetLastUpdate
            // 
            this.lblSbobetLastUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblSbobetLastUpdate.Appearance.Options.UseFont = true;
            this.lblSbobetLastUpdate.Caption = "-";
            this.lblSbobetLastUpdate.Id = 8;
            this.lblSbobetLastUpdate.Name = "lblSbobetLastUpdate";
            this.lblSbobetLastUpdate.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblSbobetLastUpdate.Width = 135;
            // 
            // barStaticItem7
            // 
            this.barStaticItem7.Caption = "Current Credit:";
            this.barStaticItem7.Id = 9;
            this.barStaticItem7.Name = "barStaticItem7";
            this.barStaticItem7.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem8
            // 
            this.barStaticItem8.Caption = "Total Match:";
            this.barStaticItem8.Id = 10;
            this.barStaticItem8.Name = "barStaticItem8";
            this.barStaticItem8.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem9
            // 
            this.barStaticItem9.Caption = "Last Update:";
            this.barStaticItem9.Id = 11;
            this.barStaticItem9.Name = "barStaticItem9";
            this.barStaticItem9.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // lblIbetCurrentCredit
            // 
            this.lblIbetCurrentCredit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblIbetCurrentCredit.Appearance.Options.UseFont = true;
            this.lblIbetCurrentCredit.Caption = "-";
            this.lblIbetCurrentCredit.Id = 12;
            this.lblIbetCurrentCredit.Name = "lblIbetCurrentCredit";
            this.lblIbetCurrentCredit.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblIbetCurrentCredit.Width = 135;
            // 
            // lblIbetTotalMatch
            // 
            this.lblIbetTotalMatch.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblIbetTotalMatch.Appearance.Options.UseFont = true;
            this.lblIbetTotalMatch.Caption = "-";
            this.lblIbetTotalMatch.Id = 13;
            this.lblIbetTotalMatch.Name = "lblIbetTotalMatch";
            this.lblIbetTotalMatch.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblIbetTotalMatch.Width = 135;
            // 
            // lblIbetLastUpdate
            // 
            this.lblIbetLastUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblIbetLastUpdate.Appearance.Options.UseFont = true;
            this.lblIbetLastUpdate.Caption = "-";
            this.lblIbetLastUpdate.Id = 14;
            this.lblIbetLastUpdate.Name = "lblIbetLastUpdate";
            this.lblIbetLastUpdate.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblIbetLastUpdate.Width = 135;
            // 
            // btnIbetGetInfo
            // 
            this.btnIbetGetInfo.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
            this.btnIbetGetInfo.Caption = "Log In";
            this.btnIbetGetInfo.DropDownControl = this.pmNew;
            this.btnIbetGetInfo.Id = 15;
            this.btnIbetGetInfo.LargeGlyph = global::iBet.App.Properties.Resources.i8;
            this.btnIbetGetInfo.Name = "btnIbetGetInfo";
            this.btnIbetGetInfo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick);
            // 
            // lblStatus
            // 
            this.lblStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblStatus.Appearance.Options.UseFont = true;
            this.lblStatus.Caption = "STOPPED";
            this.lblStatus.Id = 16;
            this.lblStatus.Name = "lblStatus";
            this.lblStatus.TextAlignment = System.Drawing.StringAlignment.Center;
            this.lblStatus.Width = 135;
            // 
            // lblSameMatch
            // 
            this.lblSameMatch.Caption = "Total Same Match: -";
            this.lblSameMatch.Id = 17;
            this.lblSameMatch.Name = "lblSameMatch";
            this.lblSameMatch.TextAlignment = System.Drawing.StringAlignment.Center;
            this.lblSameMatch.Width = 135;
            // 
            // lblLastUpdate
            // 
            this.lblLastUpdate.Caption = "-";
            this.lblLastUpdate.Id = 18;
            this.lblLastUpdate.Name = "lblLastUpdate";
            this.lblLastUpdate.TextAlignment = System.Drawing.StringAlignment.Center;
            this.lblLastUpdate.Width = 135;
            // 
            // btnStart
            // 
            this.btnStart.Caption = "Start";
            this.btnStart.Enabled = false;
            this.btnStart.Id = 19;
            this.btnStart.LargeGlyph = global::iBet.App.Properties.Resources.i5;
            this.btnStart.Name = "btnStart";
            this.btnStart.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStart_ItemClick);
            // 
            // btnStop
            // 
            this.btnStop.Caption = "Stop";
            this.btnStop.Enabled = false;
            this.btnStop.Id = 20;
            this.btnStop.LargeGlyph = global::iBet.App.Properties.Resources.i6;
            this.btnStop.Name = "btnStop";
            this.btnStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStop_ItemClick);
            // 
            // btnClear
            // 
            this.btnClear.Caption = "Clear";
            this.btnClear.Enabled = false;
            this.btnClear.Id = 21;
            this.btnClear.LargeGlyph = global::iBet.App.Properties.Resources.i7;
            this.btnClear.Name = "btnClear";
            this.btnClear.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnClear_ItemClick);
            // 
            // btnSnapShot
            // 
            this.btnSnapShot.Caption = "Snap Shot";
            this.btnSnapShot.Enabled = false;
            this.btnSnapShot.Id = 21;
            this.btnSnapShot.LargeGlyph = global::iBet.App.Properties.Resources.i11;
            this.btnSnapShot.Name = "btnSnapShot";
            this.btnSnapShot.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnSnapShot_ItemClick);
            // 
            // ribbonPage1
            // 
            this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.rpgIbet,
            this.rpgSbobet,
            this.ribbonPageGroup3,
            this.ribbonPageGroup4,
            this.ribbonPageGroup5});
            this.ribbonPage1.Name = "ribbonPage1";
            this.ribbonPage1.Text = "ribbonPage1";
            // 
            // rpgIbet
            // 
            this.rpgIbet.ItemLinks.Add(this.barStaticItem7);
            this.rpgIbet.ItemLinks.Add(this.barStaticItem8);
            this.rpgIbet.ItemLinks.Add(this.barStaticItem9);
            this.rpgIbet.ItemLinks.Add(this.lblIbetCurrentCredit);
            this.rpgIbet.ItemLinks.Add(this.lblIbetTotalMatch);
            this.rpgIbet.ItemLinks.Add(this.lblIbetLastUpdate);
            this.rpgIbet.ItemLinks.Add(this.btnIbetGetInfo);
            this.rpgIbet.Name = "rpgIbet";
            this.rpgIbet.ShowCaptionButton = false;
            this.rpgIbet.Text = "IBET";
            // 
            // rpgSbobet
            // 
            this.rpgSbobet.ItemLinks.Add(this.barStaticItem1);
            this.rpgSbobet.ItemLinks.Add(this.barStaticItem2);
            this.rpgSbobet.ItemLinks.Add(this.barStaticItem3);
            this.rpgSbobet.ItemLinks.Add(this.lblSbobetCurrentCredit);
            this.rpgSbobet.ItemLinks.Add(this.lblSbobetTotalMatch);
            this.rpgSbobet.ItemLinks.Add(this.lblSbobetLastUpdate);
            this.rpgSbobet.ItemLinks.Add(this.btnSbobetGetInfo);
            this.rpgSbobet.Name = "rpgSbobet";
            this.rpgSbobet.ShowCaptionButton = false;
            this.rpgSbobet.Text = "SBOBET";
            // 
            // ribbonPageGroup3
            // 
            this.ribbonPageGroup3.ItemLinks.Add(this.lblStatus);
            this.ribbonPageGroup3.ItemLinks.Add(this.lblSameMatch);
            this.ribbonPageGroup3.ItemLinks.Add(this.lblLastUpdate);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnStart);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnStop);
            this.ribbonPageGroup3.Name = "ribbonPageGroup3";
            this.ribbonPageGroup3.ShowCaptionButton = false;
            this.ribbonPageGroup3.Text = "Status";
            // 
            // ribbonPageGroup4
            // 
            this.ribbonPageGroup4.ItemLinks.Add(this.btnClear);
            this.ribbonPageGroup4.Name = "ribbonPageGroup4";
            this.ribbonPageGroup4.ShowCaptionButton = false;
            this.ribbonPageGroup4.Text = "Transaction";
            // 
            // ribbonPageGroup5
            // 
            this.ribbonPageGroup5.ItemLinks.Add(this.btnSnapShot);
            this.ribbonPageGroup5.Name = "ribbonPageGroup5";
            this.ribbonPageGroup5.ShowCaptionButton = false;
            this.ribbonPageGroup5.Text = "Match Data";
            // 
            // splitContainerControl1
            // 
            this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;
            this.splitContainerControl1.Horizontal = false;
            this.splitContainerControl1.Location = new System.Drawing.Point(0, 125);
            this.splitContainerControl1.Name = "splitContainerControl1";
            this.splitContainerControl1.Panel1.Controls.Add(this.xtraTabControl1);
            this.splitContainerControl1.Panel1.Text = "Panel1";
            this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControl2);
            this.splitContainerControl1.Panel2.Text = "Panel2";
            this.splitContainerControl1.Size = new System.Drawing.Size(1130, 553);
            this.splitContainerControl1.SplitterPosition = 275;
            this.splitContainerControl1.TabIndex = 1;
            this.splitContainerControl1.Text = "splitContainerControl1";
            // 
            // 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.xtraTabPageMatches;
            this.xtraTabControl1.Size = new System.Drawing.Size(1130, 273);
            this.xtraTabControl1.TabIndex = 0;
            this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPageMatches,
            this.xtraTabPageBetList1,
            this.xtraTabPageBetList2});
            // 
            // xtraTabPageMatches
            // 
            this.xtraTabPageMatches.Controls.Add(this.grdSameMatch);
            this.xtraTabPageMatches.Name = "xtraTabPageMatches";
            this.xtraTabPageMatches.Size = new System.Drawing.Size(1124, 247);
            this.xtraTabPageMatches.Text = "Live Match";
            // 
            // grdSameMatch
            // 
            this.grdSameMatch.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdSameMatch.Location = new System.Drawing.Point(0, 0);
            this.grdSameMatch.MainView = this.gridView1;
            this.grdSameMatch.Name = "grdSameMatch";
            this.grdSameMatch.Size = new System.Drawing.Size(1124, 247);
            this.grdSameMatch.TabIndex = 3;
            this.grdSameMatch.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            // 
            // gridView1
            // 
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn15,
            this.gridColumn16,
            this.gridColumn21,
            this.gridColumn22,
            this.gridColumn14,
            this.gridColumn17,
            this.gridColumn18,
            this.gridColumn19,
            this.gridColumn23});
            this.gridView1.GridControl = this.grdSameMatch;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsBehavior.Editable = false;
            this.gridView1.OptionsCustomization.AllowGroup = false;
            this.gridView1.OptionsDetail.AllowZoomDetail = false;
            this.gridView1.OptionsDetail.EnableMasterViewMode = false;
            this.gridView1.OptionsDetail.ShowDetailTabs = false;
            this.gridView1.OptionsDetail.SmartDetailExpand = false;
            this.gridView1.OptionsView.ShowAutoFilterRow = true;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.gridView1.OptionsView.ShowPreview = true;
            this.gridView1.PreviewFieldName = "LeagueName";
            this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn23, DevExpress.Data.ColumnSortOrder.Ascending)});
            this.gridView1.RowCellStyle += new DevExpress.XtraGrid.Views.Grid.RowCellStyleEventHandler(this.gridView1_RowCellStyle);
            // 
            // gridColumn15
            // 
            this.gridColumn15.Caption = "Home Team";
            this.gridColumn15.FieldName = "HomeTeamName";
            this.gridColumn15.Name = "gridColumn15";
            this.gridColumn15.Visible = true;
            this.gridColumn15.VisibleIndex = 0;
            this.gridColumn15.Width = 367;
            // 
            // gridColumn16
            // 
            this.gridColumn16.Caption = "Away Team";
            this.gridColumn16.FieldName = "AwayTeamName";
            this.gridColumn16.Name = "gridColumn16";
            this.gridColumn16.Visible = true;
            this.gridColumn16.VisibleIndex = 1;
            this.gridColumn16.Width = 368;
            // 
            // gridColumn21
            // 
            this.gridColumn21.Caption = "HScore";
            this.gridColumn21.FieldName = "HomeScore";
            this.gridColumn21.Name = "gridColumn21";
            this.gridColumn21.Visible = true;
            this.gridColumn21.VisibleIndex = 2;
            // 
            // gridColumn22
            // 
            this.gridColumn22.Caption = "AScore";
            this.gridColumn22.FieldName = "AwayScore";
            this.gridColumn22.Name = "gridColumn22";
            this.gridColumn22.Visible = true;
            this.gridColumn22.VisibleIndex = 3;
            // 
            // gridColumn14
            // 
            this.gridColumn14.Caption = "Odd Count";
            this.gridColumn14.FieldName = "OddCount";
            this.gridColumn14.Name = "gridColumn14";
            this.gridColumn14.OptionsColumn.FixedWidth = true;
            this.gridColumn14.Visible = true;
            this.gridColumn14.VisibleIndex = 4;
            this.gridColumn14.Width = 70;
            // 
            // gridColumn17
            // 
            this.gridColumn17.Caption = "Half";
            this.gridColumn17.FieldName = "Half";
            this.gridColumn17.Name = "gridColumn17";
            this.gridColumn17.OptionsColumn.FixedWidth = true;
            this.gridColumn17.Visible = true;
            this.gridColumn17.VisibleIndex = 5;
            this.gridColumn17.Width = 40;
            // 
            // gridColumn18
            // 
            this.gridColumn18.Caption = "Min";
            this.gridColumn18.FieldName = "Minute";
            this.gridColumn18.Name = "gridColumn18";
            this.gridColumn18.OptionsColumn.FixedWidth = true;
            this.gridColumn18.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value;
            this.gridColumn18.Visible = true;
            this.gridColumn18.VisibleIndex = 6;
            this.gridColumn18.Width = 40;
            // 
            // gridColumn19
            // 
            this.gridColumn19.Caption = "HT";
            this.gridColumn19.FieldName = "IsHalfTime";
            this.gridColumn19.Name = "gridColumn19";
            this.gridColumn19.OptionsColumn.FixedWidth = true;
            this.gridColumn19.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn19.Visible = true;
            this.gridColumn19.VisibleIndex = 7;
            this.gridColumn19.Width = 40;
            // 
            // xtraTabPageBetList1
            // 
            this.xtraTabPageBetList1.Controls.Add(this.girdBetList1);
            this.xtraTabPageBetList1.Name = "xtraTabPageBetList1";
            this.xtraTabPageBetList1.Size = new System.Drawing.Size(1124, 247);
            this.xtraTabPageBetList1.Text = "Bet List 1";
            // 
            // girdBetList1
            // 
            this.girdBetList1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.girdBetList1.Location = new System.Drawing.Point(0, 0);
            this.girdBetList1.MainView = this.gridView3;
            this.girdBetList1.Name = "girdBetList1";
            this.girdBetList1.Size = new System.Drawing.Size(1124, 247);
            this.girdBetList1.TabIndex = 4;
            this.girdBetList1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView3});
            // 
            // gridView3
            // 
            this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn33,
            this.gridColumn24,
            this.gridColumn25,
            this.gridColumn28,
            this.gridColumn29,
            this.gridColumn30,
            this.gridColumn31,
            this.gridColumn32});
            this.gridView3.GridControl = this.girdBetList1;
            this.gridView3.Name = "gridView3";
            this.gridView3.OptionsBehavior.Editable = false;
            this.gridView3.OptionsCustomization.AllowGroup = false;
            this.gridView3.OptionsDetail.AllowZoomDetail = false;
            this.gridView3.OptionsDetail.EnableMasterViewMode = false;
            this.gridView3.OptionsDetail.ShowDetailTabs = false;
            this.gridView3.OptionsDetail.SmartDetailExpand = false;
            this.gridView3.OptionsView.ShowAutoFilterRow = true;
            this.gridView3.OptionsView.ShowGroupPanel = false;
            this.gridView3.OptionsView.ShowPreview = true;
            this.gridView3.PreviewFieldName = "LeagueName";
            this.gridView3.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn32, DevExpress.Data.ColumnSortOrder.Ascending)});
            // 
            // gridColumn33
            // 
            this.gridColumn33.Caption = "RefID";
            this.gridColumn33.FieldName = "ID";
            this.gridColumn33.Name = "gridColumn33";
            this.gridColumn33.Visible = true;
            this.gridColumn33.VisibleIndex = 0;
            this.gridColumn33.Width = 69;
            // 
            // gridColumn24
            // 
            this.gridColumn24.Caption = "Home Team";
            this.gridColumn24.FieldName = "Home";
            this.gridColumn24.Name = "gridColumn24";
            this.gridColumn24.Visible = true;
            this.gridColumn24.VisibleIndex = 1;
            this.gridColumn24.Width = 300;
            // 
            // gridColumn25
            // 
            this.gridColumn25.Caption = "Away Team";
            this.gridColumn25.FieldName = "Away";
            this.gridColumn25.Name = "gridColumn25";
            this.gridColumn25.Visible = true;
            this.gridColumn25.VisibleIndex = 2;
            this.gridColumn25.Width = 300;
            // 
            // gridColumn28
            // 
            this.gridColumn28.Caption = "Choose";
            this.gridColumn28.FieldName = "Choice";
            this.gridColumn28.Name = "gridColumn28";
            this.gridColumn28.OptionsColumn.FixedWidth = true;
            this.gridColumn28.Visible = true;
            this.gridColumn28.VisibleIndex = 3;
            this.gridColumn28.Width = 70;
            // 
            // gridColumn29
            // 
            this.gridColumn29.Caption = "Odd";
            this.gridColumn29.FieldName = "Handicap";
            this.gridColumn29.Name = "gridColumn29";
            this.gridColumn29.OptionsColumn.FixedWidth = true;
            this.gridColumn29.Visible = true;
            this.gridColumn29.VisibleIndex = 4;
            this.gridColumn29.Width = 40;
            // 
            // gridColumn30
            // 
            this.gridColumn30.Caption = "Odd Value";
            this.gridColumn30.FieldName = "OddsValue";
            this.gridColumn30.Name = "gridColumn30";
            this.gridColumn30.OptionsColumn.FixedWidth = true;
            this.gridColumn30.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value;
            this.gridColumn30.Visible = true;
            this.gridColumn30.VisibleIndex = 5;
            this.gridColumn30.Width = 60;
            // 
            // gridColumn31
            // 
            this.gridColumn31.Caption = "Stake";
            this.gridColumn31.FieldName = "Stake";
            this.gridColumn31.Name = "gridColumn31";
            this.gridColumn31.OptionsColumn.FixedWidth = true;
            this.gridColumn31.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn31.Visible = true;
            this.gridColumn31.VisibleIndex = 6;
            this.gridColumn31.Width = 40;
            // 
            // gridColumn32
            // 
            this.gridColumn32.Caption = "Bet Time";
            this.gridColumn32.FieldName = "BetTime";
            this.gridColumn32.Name = "gridColumn32";
            this.gridColumn32.Visible = true;
            this.gridColumn32.VisibleIndex = 7;
            this.gridColumn32.Width = 227;
            // 
            // xtraTabPageBetList2
            // 
            this.xtraTabPageBetList2.Name = "xtraTabPageBetList2";
            this.xtraTabPageBetList2.Size = new System.Drawing.Size(1124, 247);
            this.xtraTabPageBetList2.Text = "Bet List 2";
            // 
            // xtraTabControl2
            // 
            this.xtraTabControl2.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.xtraTabControl2.Appearance.Options.UseBackColor = true;
            this.xtraTabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl2.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl2.Name = "xtraTabControl2";
            this.xtraTabControl2.SelectedTabPage = this.xtraTabPage4;
            this.xtraTabControl2.Size = new System.Drawing.Size(1130, 275);
            this.xtraTabControl2.TabIndex = 1;
            this.xtraTabControl2.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage4,
            this.xtraTabPage5});
            // 
            // xtraTabPage4
            // 
            this.xtraTabPage4.Controls.Add(this.groupControl2);
            this.xtraTabPage4.Controls.Add(this.groupControl1);
            this.xtraTabPage4.Controls.Add(this.groupControl5);
            this.xtraTabPage4.Controls.Add(this.groupControl4);
            this.xtraTabPage4.Controls.Add(this.groupControl6);
            this.xtraTabPage4.Name = "xtraTabPage4";
            this.xtraTabPage4.Size = new System.Drawing.Size(1124, 249);
            this.xtraTabPage4.Text = "Settings";
            // 
            // groupControl2
            // 
            this.groupControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.groupControl2.Controls.Add(this.checkEdit2);
            this.groupControl2.Controls.Add(this.labelControl12);
            this.groupControl2.Controls.Add(this.labelControl11);
            this.groupControl2.Controls.Add(this.checkEdit18);
            this.groupControl2.Controls.Add(this.checkEdit17);
            this.groupControl2.Controls.Add(this.spinEdit4);
            this.groupControl2.Controls.Add(this.checkEdit1);
            this.groupControl2.Controls.Add(this.spinEdit3);
            this.groupControl2.Controls.Add(this.labelControl13);
            this.groupControl2.Controls.Add(this.spinEdit2);
            this.groupControl2.Controls.Add(this.spinEdit1);
            this.groupControl2.Controls.Add(this.txtTransactionTimeSpan);
            this.groupControl2.Controls.Add(this.labelControl10);
            this.groupControl2.Controls.Add(this.txtMaxTimePerHalf);
            this.groupControl2.Controls.Add(this.labelControl7);
            this.groupControl2.Controls.Add(this.chbAllowHalftime);
            this.groupControl2.Location = new System.Drawing.Point(209, 3);
            this.groupControl2.Name = "groupControl2";
            this.groupControl2.Size = new System.Drawing.Size(200, 243);
            this.groupControl2.TabIndex = 14;
            this.groupControl2.Text = "Time Settings";
            // 
            // checkEdit2
            // 
            this.checkEdit2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit2.Location = new System.Drawing.Point(135, 191);
            this.checkEdit2.Name = "checkEdit2";
            this.checkEdit2.Properties.Caption = "O/U";
            this.checkEdit2.Size = new System.Drawing.Size(60, 19);
            this.checkEdit2.TabIndex = 24;
            this.checkEdit2.CheckedChanged += new System.EventHandler(this.checkEdit2_CheckedChanged);
            // 
            // labelControl12
            // 
            this.labelControl12.Location = new System.Drawing.Point(7, 140);
            this.labelControl12.Name = "labelControl12";
            this.labelControl12.Size = new System.Drawing.Size(56, 13);
            this.labelControl12.TabIndex = 23;
            this.labelControl12.Text = "Flush Half 2";
            // 
            // labelControl11
            // 
            this.labelControl11.Location = new System.Drawing.Point(7, 112);
            this.labelControl11.Name = "labelControl11";
            this.labelControl11.Size = new System.Drawing.Size(56, 13);
            this.labelControl11.TabIndex = 22;
            this.labelControl11.Text = "Flush Half 1";
            // 
            // checkEdit18
            // 
            this.checkEdit18.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit18.EditValue = true;
            this.checkEdit18.Location = new System.Drawing.Point(69, 191);
            this.checkEdit18.Name = "checkEdit18";
            this.checkEdit18.Properties.Caption = "Half 2";
            this.checkEdit18.Size = new System.Drawing.Size(60, 19);
            this.checkEdit18.TabIndex = 21;
            // 
            // checkEdit17
            // 
            this.checkEdit17.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit17.EditValue = true;
            this.checkEdit17.Location = new System.Drawing.Point(5, 191);
            this.checkEdit17.Name = "checkEdit17";
            this.checkEdit17.Properties.Caption = "Half 1";
            this.checkEdit17.Size = new System.Drawing.Size(58, 19);
            this.checkEdit17.TabIndex = 20;
            // 
            // spinEdit4
            // 
            this.spinEdit4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.spinEdit4.EditValue = new decimal(new int[] {
            2,
            0,
            0,
            131072});
            this.spinEdit4.Location = new System.Drawing.Point(85, 166);
            this.spinEdit4.Name = "spinEdit4";
            this.spinEdit4.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.spinEdit4.Properties.Increment = new decimal(new int[] {
            1,
            0,
            0,
            131072});
            this.spinEdit4.Size = new System.Drawing.Size(52, 20);
            this.spinEdit4.TabIndex = 17;
            // 
            // checkEdit1
            // 
            this.checkEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit1.EditValue = true;
            this.checkEdit1.Location = new System.Drawing.Point(5, 166);
            this.checkEdit1.Name = "checkEdit1";
            this.checkEdit1.Properties.Caption = "Take Profit";
            this.checkEdit1.Size = new System.Drawing.Size(77, 19);
            this.checkEdit1.TabIndex = 16;
            // 
            // spinEdit3
            // 
            this.spinEdit3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.spinEdit3.EditValue = new decimal(new int[] {
            15,
            0,
            0,
            131072});
            this.spinEdit3.Location = new System.Drawing.Point(143, 166);
            this.spinEdit3.Name = "spinEdit3";
            this.spinEdit3.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.spinEdit3.Properties.Increment = new decimal(new int[] {
            1,
            0,
            0,
            -2147352576});
            this.spinEdit3.Properties.MinValue = new decimal(new int[] {
            2,
            0,
            0,
            -2147352576});
            this.spinEdit3.Size = new System.Drawing.Size(52, 20);
            this.spinEdit3.TabIndex = 15;
            // 
            // labelControl13
            // 
            this.labelControl13.Location = new System.Drawing.Point(5, 169);
            this.labelControl13.Name = "labelControl13";
            this.labelControl13.Size = new System.Drawing.Size(0, 13);
            this.labelControl13.TabIndex = 14;
            // 
            // spinEdit2
            // 
            this.spinEdit2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.spinEdit2.EditValue = new decimal(new int[] {
            32,
            0,
            0,
            0});
            this.spinEdit2.Location = new System.Drawing.Point(123, 137);
            this.spinEdit2.Name = "spinEdit2";
            this.spinEdit2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.spinEdit2.Properties.IsFloatValue = false;
            this.spinEdit2.Properties.Mask.EditMask = "N00";
            this.spinEdit2.Size = new System.Drawing.Size(72, 20);
            this.spinEdit2.TabIndex = 13;
            // 
            // spinEdit1
            // 
            this.spinEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.spinEdit1.EditValue = new decimal(new int[] {
            32,
            0,
            0,
            0});
            this.spinEdit1.Location = new System.Drawing.Point(123, 109);
            this.spinEdit1.Name = "spinEdit1";
            this.spinEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.spinEdit1.Properties.IsFloatValue = false;
            this.spinEdit1.Properties.Mask.EditMask = "N00";
            this.spinEdit1.Size = new System.Drawing.Size(72, 20);
            this.spinEdit1.TabIndex = 11;
            // 
            // txtTransactionTimeSpan
            // 
            this.txtTransactionTimeSpan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTransactionTimeSpan.EditValue = new decimal(new int[] {
            10,
            0,
            0,
            0});
            this.txtTransactionTimeSpan.Location = new System.Drawing.Point(123, 80);
            this.txtTransactionTimeSpan.Name = "txtTransactionTimeSpan";
            this.txtTransactionTimeSpan.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtTransactionTimeSpan.Properties.IsFloatValue = false;
            this.txtTransactionTimeSpan.Properties.Mask.EditMask = "N00";
            this.txtTransactionTimeSpan.Size = new System.Drawing.Size(72, 20);
            this.txtTransactionTimeSpan.TabIndex = 9;
            // 
            // labelControl10
            // 
            this.labelControl10.Location = new System.Drawing.Point(5, 81);
            this.labelControl10.Name = "labelControl10";
            this.labelControl10.Size = new System.Drawing.Size(112, 13);
            this.labelControl10.TabIndex = 8;
            this.labelControl10.Text = "Transaction Time Span:";
            // 
            // txtMaxTimePerHalf
            // 
            this.txtMaxTimePerHalf.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtMaxTimePerHalf.EditValue = new decimal(new int[] {
            40,
            0,
            0,
            0});
            this.txtMaxTimePerHalf.Location = new System.Drawing.Point(123, 50);
            this.txtMaxTimePerHalf.Name = "txtMaxTimePerHalf";
            this.txtMaxTimePerHalf.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtMaxTimePerHalf.Properties.IsFloatValue = false;
            this.txtMaxTimePerHalf.Properties.Mask.EditMask = "N00";
            this.txtMaxTimePerHalf.Size = new System.Drawing.Size(72, 20);
            this.txtMaxTimePerHalf.TabIndex = 7;
            // 
            // labelControl7
            // 
            this.labelControl7.Location = new System.Drawing.Point(5, 53);
            this.labelControl7.Name = "labelControl7";
            this.labelControl7.Size = new System.Drawing.Size(90, 13);
            this.labelControl7.TabIndex = 6;
            this.labelControl7.Text = "Max Time Per Half:";
            // 
            // chbAllowHalftime
            // 
            this.chbAllowHalftime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.chbAllowHalftime.EditValue = true;
            this.chbAllowHalftime.Location = new System.Drawing.Point(5, 26);
            this.chbAllowHalftime.Name = "chbAllowHalftime";
            this.chbAllowHalftime.Properties.Caption = "Allow Halftime";
            this.chbAllowHalftime.Size = new System.Drawing.Size(102, 19);
            this.chbAllowHalftime.TabIndex = 5;
            // 
            // groupControl1
            // 
            this.groupControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.groupControl1.Controls.Add(this.checkEdit15);
            this.groupControl1.Controls.Add(this.checkEdit14);
            this.groupControl1.Controls.Add(this.checkEdit13);
            this.groupControl1.Controls.Add(this.btnSetUpdateInterval);
            this.groupControl1.Controls.Add(this.txtSBOBETUpdateInterval);
            this.groupControl1.Controls.Add(this.labelControl3);
            this.groupControl1.Controls.Add(this.txtIBETUpdateInterval);
            this.groupControl1.Controls.Add(this.labelControl4);
            this.groupControl1.Location = new System.Drawing.Point(415, 3);
            this.groupControl1.Name = "groupControl1";
            this.groupControl1.Size = new System.Drawing.Size(200, 243);
            this.groupControl1.TabIndex = 13;
            this.groupControl1.Text = "Data Settings";
            // 
            // checkEdit15
            // 
            this.checkEdit15.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit15.Location = new System.Drawing.Point(5, 151);
            this.checkEdit15.Name = "checkEdit15";
            this.checkEdit15.Properties.Caption = "Scanner mode: Pure odd sms";
            this.checkEdit15.Size = new System.Drawing.Size(190, 19);
            this.checkEdit15.TabIndex = 30;
            // 
            // checkEdit14
            // 
            this.checkEdit14.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit14.EditValue = true;
            this.checkEdit14.Location = new System.Drawing.Point(5, 128);
            this.checkEdit14.Name = "checkEdit14";
            this.checkEdit14.Properties.Caption = "Receive odd from community";
            this.checkEdit14.Size = new System.Drawing.Size(190, 19);
            this.checkEdit14.TabIndex = 29;
            // 
            // checkEdit13
            // 
            this.checkEdit13.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit13.EditValue = true;
            this.checkEdit13.Location = new System.Drawing.Point(5, 104);
            this.checkEdit13.Name = "checkEdit13";
            this.checkEdit13.Properties.Caption = "Submit odd to community";
            this.checkEdit13.Size = new System.Drawing.Size(190, 19);
            this.checkEdit13.TabIndex = 28;
            // 
            // btnSetUpdateInterval
            // 
            this.btnSetUpdateInterval.Location = new System.Drawing.Point(59, 77);
            this.btnSetUpdateInterval.Name = "btnSetUpdateInterval";
            this.btnSetUpdateInterval.Size = new System.Drawing.Size(136, 23);
            this.btnSetUpdateInterval.TabIndex = 6;
            this.btnSetUpdateInterval.Text = "Set Update Interval";
            this.btnSetUpdateInterval.Click += new System.EventHandler(this.btnSetUpdateInterval_Click);
            // 
            // txtSBOBETUpdateInterval
            // 
            this.txtSBOBETUpdateInterval.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtSBOBETUpdateInterval.EditValue = new decimal(new int[] {
            12,
            0,
            0,
            0});
            this.txtSBOBETUpdateInterval.Location = new System.Drawing.Point(132, 51);
            this.txtSBOBETUpdateInterval.Name = "txtSBOBETUpdateInterval";
            this.txtSBOBETUpdateInterval.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtSBOBETUpdateInterval.Properties.IsFloatValue = false;
            this.txtSBOBETUpdateInterval.Properties.Mask.EditMask = "N00";
            this.txtSBOBETUpdateInterval.Size = new System.Drawing.Size(63, 20);
            this.txtSBOBETUpdateInterval.TabIndex = 5;
            this.txtSBOBETUpdateInterval.EditValueChanged += new System.EventHandler(this.txtSBOBETUpdateInterval_EditValueChanged);
            // 
            // labelControl3
            // 
            this.labelControl3.Location = new System.Drawing.Point(5, 54);
            this.labelControl3.Name = "labelControl3";
            this.labelControl3.Size = new System.Drawing.Size(121, 13);
            this.labelControl3.TabIndex = 4;
            this.labelControl3.Text = "SBOBET Update Interval:";
            // 
            // txtIBETUpdateInterval
            // 
            this.txtIBETUpdateInterval.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtIBETUpdateInterval.EditValue = new decimal(new int[] {
            12,
            0,
            0,
            0});
            this.txtIBETUpdateInterval.Location = new System.Drawing.Point(132, 25);
            this.txtIBETUpdateInterval.Name = "txtIBETUpdateInterval";
            this.txtIBETUpdateInterval.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtIBETUpdateInterval.Properties.IsFloatValue = false;
            this.txtIBETUpdateInterval.Properties.Mask.EditMask = "N00";
            this.txtIBETUpdateInterval.Size = new System.Drawing.Size(63, 20);
            this.txtIBETUpdateInterval.TabIndex = 1;
            this.txtIBETUpdateInterval.EditValueChanged += new System.EventHandler(this.txtIBETUpdateInterval_EditValueChanged);
            // 
            // labelControl4
            // 
            this.labelControl4.Location = new System.Drawing.Point(5, 28);
            this.labelControl4.Name = "labelControl4";
            this.labelControl4.Size = new System.Drawing.Size(105, 13);
            this.labelControl4.TabIndex = 0;
            this.labelControl4.Text = "IBET Update Interval:";
            // 
            // groupControl5
            // 
            this.groupControl5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.groupControl5.Controls.Add(this.chbHighRevenueBoost);
            this.groupControl5.Controls.Add(this.txtAddValue);
            this.groupControl5.Controls.Add(this.txtLowestOddValue);
            this.groupControl5.Controls.Add(this.labelControl9);
            this.groupControl5.Controls.Add(this.txtOddValueDifferenet);
            this.groupControl5.Controls.Add(this.checkEdit6);
            this.groupControl5.Controls.Add(this.checkEdit5);
            this.groupControl5.Controls.Add(this.labelControl18);
            this.groupControl5.Controls.Add(this.labelControl8);
            this.groupControl5.Controls.Add(this.checkEdit7);
            this.groupControl5.Controls.Add(this.checkEdit12);
            this.groupControl5.Controls.Add(this.checkEdit11);
            this.groupControl5.Controls.Add(this.checkEdit10);
            this.groupControl5.Controls.Add(this.checkEdit9);
            this.groupControl5.Controls.Add(this.checkEdit8);
            this.groupControl5.Controls.Add(this.checkEdit4);
            this.groupControl5.Controls.Add(this.checkEdit3);
            this.groupControl5.Location = new System.Drawing.Point(3, 3);
            this.groupControl5.Name = "groupControl5";
            this.groupControl5.Size = new System.Drawing.Size(200, 243);
            this.groupControl5.TabIndex = 13;
            this.groupControl5.Text = "Trading Settings";
            // 
            // chbHighRevenueBoost
            // 
            this.chbHighRevenueBoost.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.chbHighRevenueBoost.Location = new System.Drawing.Point(5, 172);
            this.chbHighRevenueBoost.Name = "chbHighRevenueBoost";
            this.chbHighRevenueBoost.Properties.Caption = "Top Class";
            this.chbHighRevenueBoost.Size = new System.Drawing.Size(90, 19);
            this.chbHighRevenueBoost.TabIndex = 13;
            // 
            // txtAddValue
            // 
            this.txtAddValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtAddValue.EditValue = new decimal(new int[] {
            4,
            0,
            0,
            0});
            this.txtAddValue.Location = new System.Drawing.Point(110, 148);
            this.txtAddValue.Name = "txtAddValue";
            this.txtAddValue.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtAddValue.Size = new System.Drawing.Size(85, 20);
            this.txtAddValue.TabIndex = 22;
            // 
            // txtLowestOddValue
            // 
            this.txtLowestOddValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtLowestOddValue.EditValue = new decimal(new int[] {
            5,
            0,
            0,
            65536});
            this.txtLowestOddValue.Location = new System.Drawing.Point(110, 121);
            this.txtLowestOddValue.Name = "txtLowestOddValue";
            this.txtLowestOddValue.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtLowestOddValue.Properties.Increment = new decimal(new int[] {
            1,
            0,
            0,
            65536});
            this.txtLowestOddValue.Properties.MaxValue = new decimal(new int[] {
            1,
            0,
            0,
            131072});
            this.txtLowestOddValue.Properties.MinValue = new decimal(new int[] {
            1,
            0,
            0,
            131072});
            this.txtLowestOddValue.Size = new System.Drawing.Size(85, 20);
            this.txtLowestOddValue.TabIndex = 12;
            // 
            // labelControl9
            // 
            this.labelControl9.Location = new System.Drawing.Point(5, 123);
            this.labelControl9.Name = "labelControl9";
            this.labelControl9.Size = new System.Drawing.Size(90, 13);
            this.labelControl9.TabIndex = 11;
            this.labelControl9.Text = "Lowest Odd Value:";
            // 
            // txtOddValueDifferenet
            // 
            this.txtOddValueDifferenet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtOddValueDifferenet.EditValue = new decimal(new int[] {
            1,
            0,
            0,
            -2147352576});
            this.txtOddValueDifferenet.Location = new System.Drawing.Point(110, 94);
            this.txtOddValueDifferenet.Name = "txtOddValueDifferenet";
            this.txtOddValueDifferenet.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtOddValueDifferenet.Properties.Increment = new decimal(new int[] {
            1,
            0,
            0,
            -2147352576});
            this.txtOddValueDifferenet.Properties.MinValue = new decimal(new int[] {
            2,
            0,
            0,
            -2147352576});
            this.txtOddValueDifferenet.Size = new System.Drawing.Size(85, 20);
            this.txtOddValueDifferenet.TabIndex = 10;
            // 
            // checkEdit6
            // 
            this.checkEdit6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit6.EditValue = true;
            this.checkEdit6.Location = new System.Drawing.Point(108, 51);
            this.checkEdit6.Name = "checkEdit6";
            this.checkEdit6.Properties.Caption = "Non-Live";
            this.checkEdit6.Size = new System.Drawing.Size(77, 19);
            this.checkEdit6.TabIndex = 8;
            // 
            // checkEdit5
            // 
            this.checkEdit5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit5.EditValue = true;
            this.checkEdit5.Location = new System.Drawing.Point(5, 72);
            this.checkEdit5.Name = "checkEdit5";
            this.checkEdit5.Properties.Caption = "Live";
            this.checkEdit5.Size = new System.Drawing.Size(52, 19);
            this.checkEdit5.TabIndex = 7;
            // 
            // labelControl18
            // 
            this.labelControl18.Location = new System.Drawing.Point(5, 150);
            this.labelControl18.Name = "labelControl18";
            this.labelControl18.Size = new System.Drawing.Size(95, 13);
            this.labelControl18.TabIndex = 29;
            this.labelControl18.Text = "Min of |Won-Lose|: ";
            // 
            // labelControl8
            // 
            this.labelControl8.Location = new System.Drawing.Point(5, 97);
            this.labelControl8.Name = "labelControl8";
            this.labelControl8.Size = new System.Drawing.Size(99, 13);
            this.labelControl8.TabIndex = 9;
            this.labelControl8.Text = "Odd Value Different:";
            // 
            // checkEdit7
            // 
            this.checkEdit7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit7.Location = new System.Drawing.Point(108, 221);
            this.checkEdit7.Name = "checkEdit7";
            this.checkEdit7.Properties.Caption = "Over 92/90";
            this.checkEdit7.Size = new System.Drawing.Size(83, 19);
            this.checkEdit7.TabIndex = 9;
            // 
            // checkEdit12
            // 
            this.checkEdit12.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit12.Location = new System.Drawing.Point(108, 196);
            this.checkEdit12.Name = "checkEdit12";
            this.checkEdit12.Properties.Caption = "Under Equal";
            this.checkEdit12.Size = new System.Drawing.Size(83, 19);
            this.checkEdit12.TabIndex = 23;
            // 
            // checkEdit11
            // 
            this.checkEdit11.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit11.Location = new System.Drawing.Point(5, 221);
            this.checkEdit11.Name = "checkEdit11";
            this.checkEdit11.Properties.Caption = "Over 1.75";
            this.checkEdit11.Size = new System.Drawing.Size(95, 19);
            this.checkEdit11.TabIndex = 19;
            // 
            // checkEdit10
            // 
            this.checkEdit10.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit10.Location = new System.Drawing.Point(5, 47);
            this.checkEdit10.Name = "checkEdit10";
            this.checkEdit10.Properties.Caption = "Matches List";
            this.checkEdit10.Size = new System.Drawing.Size(90, 19);
            this.checkEdit10.TabIndex = 19;
            // 
            // checkEdit9
            // 
            this.checkEdit9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit9.Location = new System.Drawing.Point(108, 172);
            this.checkEdit9.Name = "checkEdit9";
            this.checkEdit9.Properties.Caption = "Odd Down";
            this.checkEdit9.Size = new System.Drawing.Size(76, 19);
            this.checkEdit9.TabIndex = 19;
            // 
            // checkEdit8
            // 
            this.checkEdit8.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit8.Location = new System.Drawing.Point(5, 196);
            this.checkEdit8.Name = "checkEdit8";
            this.checkEdit8.Properties.Caption = "Over Equal";
            this.checkEdit8.Size = new System.Drawing.Size(95, 19);
            this.checkEdit8.TabIndex = 14;
            // 
            // checkEdit4
            // 
            this.checkEdit4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit4.EditValue = true;
            this.checkEdit4.Location = new System.Drawing.Point(108, 25);
            this.checkEdit4.Name = "checkEdit4";
            this.checkEdit4.Properties.Caption = "Over/Under";
            this.checkEdit4.Size = new System.Drawing.Size(87, 19);
            this.checkEdit4.TabIndex = 6;
            // 
            // checkEdit3
            // 
            this.checkEdit3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit3.EditValue = true;
            this.checkEdit3.Location = new System.Drawing.Point(5, 26);
            this.checkEdit3.Name = "checkEdit3";
            this.checkEdit3.Properties.Caption = "Handicap";
            this.checkEdit3.Size = new System.Drawing.Size(90, 19);
            this.checkEdit3.TabIndex = 5;
            // 
            // groupControl4
            // 
            this.groupControl4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.groupControl4.Controls.Add(this.txtSBOBETFixedStake);
            this.groupControl4.Controls.Add(this.labelControl2);
            this.groupControl4.Controls.Add(this.txtStake);
            this.groupControl4.Controls.Add(this.chbRandomStake);
            this.groupControl4.Controls.Add(this.txtIBETFixedStake);
            this.groupControl4.Controls.Add(this.labelControl6);
            this.groupControl4.Location = new System.Drawing.Point(621, 3);
            this.groupControl4.Name = "groupControl4";
            this.groupControl4.Size = new System.Drawing.Size(200, 243);
            this.groupControl4.TabIndex = 12;
            this.groupControl4.Text = "Stake Settings";
            // 
            // txtSBOBETFixedStake
            // 
            this.txtSBOBETFixedStake.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtSBOBETFixedStake.EditValue = new decimal(new int[] {
            25,
            0,
            0,
            0});
            this.txtSBOBETFixedStake.Location = new System.Drawing.Point(112, 51);
            this.txtSBOBETFixedStake.Name = "txtSBOBETFixedStake";
            this.txtSBOBETFixedStake.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtSBOBETFixedStake.Properties.IsFloatValue = false;
            this.txtSBOBETFixedStake.Properties.Mask.EditMask = "N00";
            this.txtSBOBETFixedStake.Size = new System.Drawing.Size(83, 20);
            this.txtSBOBETFixedStake.TabIndex = 5;
            // 
            // labelControl2
            // 
            this.labelControl2.Location = new System.Drawing.Point(5, 54);
            this.labelControl2.Name = "labelControl2";
            this.labelControl2.Size = new System.Drawing.Size(101, 13);
            this.labelControl2.TabIndex = 4;
            this.labelControl2.Text = "SBOBET Fixed Stake:";
            // 
            // txtStake
            // 
            this.txtStake.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtStake.EditValue = "10\r\n20\r\n15\r\n5";
            this.txtStake.Location = new System.Drawing.Point(5, 103);
            this.txtStake.Name = "txtStake";
            this.txtStake.Size = new System.Drawing.Size(190, 135);
            this.txtStake.TabIndex = 3;
            // 
            // chbRandomStake
            // 
            this.chbRandomStake.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.chbRandomStake.EditValue = true;
            this.chbRandomStake.Location = new System.Drawing.Point(3, 78);
            this.chbRandomStake.Name = "chbRandomStake";
            this.chbRandomStake.Properties.Caption = "Random Stake";
            this.chbRandomStake.Size = new System.Drawing.Size(192, 19);
            this.chbRandomStake.TabIndex = 2;
            this.chbRandomStake.CheckedChanged += new System.EventHandler(this.chbRandomStake_CheckedChanged);
            // 
            // txtIBETFixedStake
            // 
            this.txtIBETFixedStake.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtIBETFixedStake.EditValue = new decimal(new int[] {
            25,
            0,
            0,
            0});
            this.txtIBETFixedStake.Location = new System.Drawing.Point(112, 25);
            this.txtIBETFixedStake.Name = "txtIBETFixedStake";
            this.txtIBETFixedStake.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtIBETFixedStake.Properties.IsFloatValue = false;
            this.txtIBETFixedStake.Properties.Mask.EditMask = "N00";
            this.txtIBETFixedStake.Size = new System.Drawing.Size(83, 20);
            this.txtIBETFixedStake.TabIndex = 1;
            // 
            // labelControl6
            // 
            this.labelControl6.Location = new System.Drawing.Point(5, 28);
            this.labelControl6.Name = "labelControl6";
            this.labelControl6.Size = new System.Drawing.Size(85, 13);
            this.labelControl6.TabIndex = 0;
            this.labelControl6.Text = "IBET Fixed Stake:";
            // 
            // groupControl6
            // 
            this.groupControl6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.groupControl6.Controls.Add(this.chkListAllowedMatch);
            this.groupControl6.Location = new System.Drawing.Point(827, 3);
            this.groupControl6.Name = "groupControl6";
            this.groupControl6.Size = new System.Drawing.Size(293, 243);
            this.groupControl6.TabIndex = 19;
            this.groupControl6.Text = "Allowed Betting Matches";
            // 
            // chkListAllowedMatch
            // 
            this.chkListAllowedMatch.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.chkListAllowedMatch.CheckOnClick = true;
            this.chkListAllowedMatch.HighlightedItemStyle = DevExpress.XtraEditors.HighlightStyle.Skinned;
            this.chkListAllowedMatch.ItemHeight = 16;
            this.chkListAllowedMatch.Location = new System.Drawing.Point(5, 25);
            this.chkListAllowedMatch.Name = "chkListAllowedMatch";
            this.chkListAllowedMatch.Size = new System.Drawing.Size(283, 213);
            this.chkListAllowedMatch.TabIndex = 20;
            // 
            // xtraTabPage5
            // 
            this.xtraTabPage5.Controls.Add(this.grdTransaction);
            this.xtraTabPage5.Name = "xtraTabPage5";
            this.xtraTabPage5.Size = new System.Drawing.Size(1124, 249);
            this.xtraTabPage5.Text = "Live Transaction";
            // 
            // grdTransaction
            // 
            this.grdTransaction.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdTransaction.Location = new System.Drawing.Point(0, 0);
            this.grdTransaction.MainView = this.gridView2;
            this.grdTransaction.Name = "grdTransaction";
            this.grdTransaction.Size = new System.Drawing.Size(1124, 249);
            this.grdTransaction.TabIndex = 3;
            this.grdTransaction.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView2});
            // 
            // gridView2
            // 
            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn1,
            this.gridColumn2,
            this.gridColumn3,
            this.gridColumn6,
            this.gridColumn4,
            this.gridColumn5,
            this.gridColumn7,
            this.gridColumn8,
            this.gridColumn9,
            this.gridColumn10,
            this.gridColumn11,
            this.gridColumn12,
            this.gridColumn20,
            this.gridColumn13});
            this.gridView2.GridControl = this.grdTransaction;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsBehavior.Editable = false;
            this.gridView2.OptionsCustomization.AllowGroup = false;
            this.gridView2.OptionsView.AutoCalcPreviewLineCount = true;
            this.gridView2.OptionsView.ShowAutoFilterRow = true;
            this.gridView2.OptionsView.ShowFooter = true;
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.gridView2.OptionsView.ShowPreview = true;
            this.gridView2.PreviewFieldName = "Note";
            this.gridView2.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn13, DevExpress.Data.ColumnSortOrder.Descending)});
            // 
            // gridColumn1
            // 
            this.gridColumn1.Caption = "ID";
            this.gridColumn1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.gridColumn1.FieldName = "ID";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.OptionsColumn.FixedWidth = true;
            this.gridColumn1.UnboundType = DevExpress.Data.UnboundColumnType.Integer;
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn1.Width = 50;
            // 
            // gridColumn2
            // 
            this.gridColumn2.Caption = "Home Team";
            this.gridColumn2.FieldName = "HomeTeamName";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 1;
            this.gridColumn2.Width = 20;
            // 
            // gridColumn3
            // 
            this.gridColumn3.Caption = "Away Team";
            this.gridColumn3.FieldName = "AwayTeamName";
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 2;
            this.gridColumn3.Width = 20;
            // 
            // gridColumn6
            // 
            this.gridColumn6.Caption = "Type";
            this.gridColumn6.FieldName = "OddType";
            this.gridColumn6.Name = "gridColumn6";
            this.gridColumn6.OptionsColumn.FixedWidth = true;
            this.gridColumn6.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn6.Visible = true;
            this.gridColumn6.VisibleIndex = 3;
            this.gridColumn6.Width = 180;
            // 
            // gridColumn4
            // 
            this.gridColumn4.Caption = "Odd";
            this.gridColumn4.FieldName = "OddKindValue";
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.OptionsColumn.FixedWidth = true;
            this.gridColumn4.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 4;
            // 
            // gridColumn5
            // 
            this.gridColumn5.Caption = "Value";
            this.gridColumn5.FieldName = "OddValue";
            this.gridColumn5.Name = "gridColumn5";
            this.gridColumn5.OptionsColumn.FixedWidth = true;
            this.gridColumn5.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn5.Visible = true;
            this.gridColumn5.VisibleIndex = 5;
            this.gridColumn5.Width = 80;
            // 
            // gridColumn7
            // 
            this.gridColumn7.Caption = "Stake";
            this.gridColumn7.FieldName = "Stake";
            this.gridColumn7.Name = "gridColumn7";
            this.gridColumn7.OptionsColumn.FixedWidth = true;
            this.gridColumn7.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn7.Visible = true;
            this.gridColumn7.VisibleIndex = 6;
            this.gridColumn7.Width = 100;
            // 
            // gridColumn8
            // 
            this.gridColumn8.Caption = "I Allow";
            this.gridColumn8.FieldName = "IBETAllow";
            this.gridColumn8.Name = "gridColumn8";
            this.gridColumn8.OptionsColumn.FixedWidth = true;
            this.gridColumn8.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn8.Visible = true;
            this.gridColumn8.VisibleIndex = 7;
            this.gridColumn8.Width = 50;
            // 
            // gridColumn9
            // 
            this.gridColumn9.Caption = "B Allow";
            this.gridColumn9.FieldName = "SBOBETAllow";
            this.gridColumn9.Name = "gridColumn9";
            this.gridColumn9.OptionsColumn.FixedWidth = true;
            this.gridColumn9.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn9.Visible = true;
            this.gridColumn9.VisibleIndex = 8;
            this.gridColumn9.Width = 50;
            // 
            // gridColumn10
            // 
            this.gridColumn10.Caption = "I Trade";
            this.gridColumn10.FieldName = "IBETTrade";
            this.gridColumn10.Name = "gridColumn10";
            this.gridColumn10.OptionsColumn.FixedWidth = true;
            this.gridColumn10.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn10.Visible = true;
            this.gridColumn10.VisibleIndex = 9;
            this.gridColumn10.Width = 50;
            // 
            // gridColumn11
            // 
            this.gridColumn11.Caption = "B Trade";
            this.gridColumn11.FieldName = "SBOBETTrade";
            this.gridColumn11.Name = "gridColumn11";
            this.gridColumn11.OptionsColumn.FixedWidth = true;
            this.gridColumn11.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn11.Visible = true;
            this.gridColumn11.VisibleIndex = 10;
            this.gridColumn11.Width = 50;
            // 
            // gridColumn12
            // 
            this.gridColumn12.Caption = "B Retrade";
            this.gridColumn12.FieldName = "SBOBETReTrade";
            this.gridColumn12.Name = "gridColumn12";
            this.gridColumn12.OptionsColumn.FixedWidth = true;
            this.gridColumn12.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn12.Visible = true;
            this.gridColumn12.VisibleIndex = 11;
            this.gridColumn12.Width = 50;
            // 
            // gridColumn20
            // 
            this.gridColumn20.Caption = "I Retrade";
            this.gridColumn20.FieldName = "IBETReTrade";
            this.gridColumn20.Name = "gridColumn20";
            this.gridColumn20.OptionsColumn.FixedWidth = true;
            this.gridColumn20.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn20.Visible = true;
            this.gridColumn20.VisibleIndex = 12;
            this.gridColumn20.Width = 50;
            // 
            // gridColumn13
            // 
            this.gridColumn13.Caption = "DateTime";
            this.gridColumn13.DisplayFormat.FormatString = "dd/MM/yyyy hh:mm:ss";
            this.gridColumn13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.gridColumn13.FieldName = "DateTime";
            this.gridColumn13.Name = "gridColumn13";
            this.gridColumn13.OptionsColumn.FixedWidth = true;
            this.gridColumn13.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value;
            this.gridColumn13.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count)});
            this.gridColumn13.UnboundType = DevExpress.Data.UnboundColumnType.DateTime;
            this.gridColumn13.Visible = true;
            this.gridColumn13.VisibleIndex = 13;
            this.gridColumn13.Width = 130;
            // 
            // panelControl5
            // 
            this.panelControl5.Location = new System.Drawing.Point(0, 0);
            this.panelControl5.Name = "panelControl5";
            this.panelControl5.Size = new System.Drawing.Size(200, 100);
            this.panelControl5.TabIndex = 0;
            // 
            // panelControl4
            // 
            this.panelControl4.Location = new System.Drawing.Point(0, 0);
            this.panelControl4.Name = "panelControl4";
            this.panelControl4.Size = new System.Drawing.Size(200, 100);
            this.panelControl4.TabIndex = 0;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(2, 9);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(50, 13);
            this.label1.TabIndex = 9;
            this.label1.Text = "Address:";
            // 
            // xtraTabPage2
            // 
            this.xtraTabPage2.Name = "xtraTabPage2";
            this.xtraTabPage2.Size = new System.Drawing.Size(0, 0);
            // 
            // panelControl3
            // 
            this.panelControl3.Location = new System.Drawing.Point(0, 0);
            this.panelControl3.Name = "panelControl3";
            this.panelControl3.Size = new System.Drawing.Size(200, 100);
            this.panelControl3.TabIndex = 0;
            // 
            // panelControl2
            // 
            this.panelControl2.Location = new System.Drawing.Point(0, 0);
            this.panelControl2.Name = "panelControl2";
            this.panelControl2.Size = new System.Drawing.Size(200, 100);
            this.panelControl2.TabIndex = 0;
            // 
            // labelControl1
            // 
            this.labelControl1.Location = new System.Drawing.Point(0, 0);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(75, 14);
            this.labelControl1.TabIndex = 0;
            // 
            // labelControl5
            // 
            this.labelControl5.Location = new System.Drawing.Point(5, 9);
            this.labelControl5.Name = "labelControl5";
            this.labelControl5.Size = new System.Drawing.Size(43, 13);
            this.labelControl5.TabIndex = 6;
            this.labelControl5.Text = "Address:";
            // 
            // panelControl9
            // 
            this.panelControl9.Location = new System.Drawing.Point(0, 0);
            this.panelControl9.Name = "panelControl9";
            this.panelControl9.Size = new System.Drawing.Size(200, 100);
            this.panelControl9.TabIndex = 0;
            // 
            // panelControl10
            // 
            this.panelControl10.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.panelControl10.Controls.Add(this.btnIBETGO2);
            this.panelControl10.Controls.Add(this.txtIBETAddress2);
            this.panelControl10.Controls.Add(this.labelControl5);
            this.panelControl10.Location = new System.Drawing.Point(3, 3);
            this.panelControl10.Name = "panelControl10";
            this.panelControl10.Size = new System.Drawing.Size(987, 29);
            this.panelControl10.TabIndex = 2;
            // 
            // btnIBETGO2
            // 
            this.btnIBETGO2.Location = new System.Drawing.Point(0, 0);
            this.btnIBETGO2.Name = "btnIBETGO2";
            this.btnIBETGO2.Size = new System.Drawing.Size(75, 23);
            this.btnIBETGO2.TabIndex = 0;
            // 
            // txtIBETAddress2
            // 
            this.txtIBETAddress2.Location = new System.Drawing.Point(0, 0);
            this.txtIBETAddress2.Name = "txtIBETAddress2";
            this.txtIBETAddress2.Size = new System.Drawing.Size(100, 20);
            this.txtIBETAddress2.TabIndex = 1;
            // 
            // xtraTabPage9
            // 
            this.xtraTabPage9.Controls.Add(this.panelControl9);
            this.xtraTabPage9.Controls.Add(this.panelControl10);
            this.xtraTabPage9.Name = "xtraTabPage9";
            this.xtraTabPage9.Size = new System.Drawing.Size(993, 276);
            this.xtraTabPage9.Text = "ibet Test";
            // 
            // TerminalFormIBETSBO
            // 
            this.ClientSize = new System.Drawing.Size(1130, 678);
            this.Controls.Add(this.splitContainerControl1);
            this.Controls.Add(this.ribbonControl1);
            this.Icon = global::iBet.App.Properties.Resources._2;
            this.Name = "TerminalFormIBETSBO";
            this.Ribbon = this.ribbonControl1;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "IBET vs SBOBET";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TerminalFormIBETSBO_FormClosing);
            ((System.ComponentModel.ISupportInitialize)(this.pmNew)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pmNewR)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
            this.splitContainerControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.xtraTabPageMatches.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.grdSameMatch)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            this.xtraTabPageBetList1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.girdBetList1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).EndInit();
            this.xtraTabControl2.ResumeLayout(false);
            this.xtraTabPage4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
            this.groupControl2.ResumeLayout(false);
            this.groupControl2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit18.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit17.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit4.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit3.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTransactionTimeSpan.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtMaxTimePerHalf.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chbAllowHalftime.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
            this.groupControl1.ResumeLayout(false);
            this.groupControl1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit15.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit14.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit13.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETUpdateInterval.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETUpdateInterval.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).EndInit();
            this.groupControl5.ResumeLayout(false);
            this.groupControl5.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.chbHighRevenueBoost.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAddValue.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtLowestOddValue.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtOddValueDifferenet.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit6.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit5.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit7.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit12.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit11.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit10.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit9.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit8.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).EndInit();
            this.groupControl4.ResumeLayout(false);
            this.groupControl4.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETFixedStake.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtStake.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chbRandomStake.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETFixedStake.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).EndInit();
            this.groupControl6.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.chkListAllowedMatch)).EndInit();
            this.xtraTabPage5.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl10)).EndInit();
            this.panelControl10.ResumeLayout(false);
            this.panelControl10.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETAddress2.Properties)).EndInit();
            this.xtraTabPage9.ResumeLayout(false);
            this.ResumeLayout(false);

        }
Esempio n. 59
0
 internal override void InitModule(Utils.Menu.IDXMenuManager manager, object data)
 {
     base.InitModule(manager, data);
     ribbon = manager as RibbonControl;
     ShowAboutRow();
 }
		private void InitializeComponent()
		{
            DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup1 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
            DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup2 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
            DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup3 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
            this.btnNewTerminal = new DevExpress.XtraBars.BarButtonItem();
            this.btnNewTerminal2 = new DevExpress.XtraBars.BarButtonItem();
            this.btnNewTerminal3 = new DevExpress.XtraBars.BarButtonItem();
            this.btnStart = new DevExpress.XtraBars.BarButtonItem();
            this.btnStop = new DevExpress.XtraBars.BarButtonItem();
            this.btnClear = new DevExpress.XtraBars.BarButtonItem();
            this.txtUsername = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.txtPassword = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.btnLogin = new DevExpress.XtraBars.BarButtonItem();
            this.btnChangePassword = new DevExpress.XtraBars.BarButtonItem();
            this.btnLogout = new DevExpress.XtraBars.BarButtonItem();
            this.lblSystemTime = new DevExpress.XtraBars.BarStaticItem();
            this.lblTotalTransaction = new DevExpress.XtraBars.BarStaticItem();
            this.lblTotalTerminal = new DevExpress.XtraBars.BarStaticItem();
            this.barEditItem1 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemPopupContainerEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
            this.ribbonGalleryBarItem1 = new DevExpress.XtraBars.RibbonGalleryBarItem();
            this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup();
            this.barButtonGroup2 = new DevExpress.XtraBars.BarButtonGroup();
            this.skinGalleryBarItem = new DevExpress.XtraBars.RibbonGalleryBarItem();
            this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
            this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
            this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
            this.grdTransaction = new DevExpress.XtraGrid.GridControl();
            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
            this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
            this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
            this.btnStatement = new DevExpress.XtraEditors.SimpleButton();
            this.btnBetList = new DevExpress.XtraEditors.SimpleButton();
            this.cbeSignatureTemplate = new DevExpress.XtraEditors.ComboBoxEdit();
            this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
            this.webBrowser2 = new System.Windows.Forms.WebBrowser();
            this.splitter1 = new System.Windows.Forms.Splitter();
            this.webBrowser1 = new System.Windows.Forms.WebBrowser();
            this.xtraTabPage5 = new DevExpress.XtraTab.XtraTabPage();
            this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
            this.textEdit4 = new DevExpress.XtraEditors.MemoEdit();
            this.chkSCloud = new DevExpress.XtraEditors.CheckEdit();
            this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
            this.textEdit3 = new DevExpress.XtraEditors.TextEdit();
            this.textEdit2 = new DevExpress.XtraEditors.TextEdit();
            this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
            this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
            this.label4 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.chkRCloud = new DevExpress.XtraEditors.CheckEdit();
            this.btnSignMeIn = new DevExpress.XtraEditors.SimpleButton();
            this.txtServerIP = new DevExpress.XtraEditors.TextEdit();
            this.txtServerUserName = new DevExpress.XtraEditors.TextEdit();
            this.txtServerPassword = new DevExpress.XtraEditors.TextEdit();
            this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit();
            this.xtraTabControl2 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage();
            this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
            this.splitContainerControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.xtraTabPage1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
            this.xtraTabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cbeSignatureTemplate.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
            this.panelControl1.SuspendLayout();
            this.xtraTabPage5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
            this.panelControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkSCloud.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkRCloud.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerIP.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerUserName.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerPassword.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).BeginInit();
            this.xtraTabControl2.SuspendLayout();
            this.SuspendLayout();
            // 
            // ribbonControl1
            // 
            this.ribbonControl1.ApplicationButtonText = null;
            // 
            // 
            // 
            this.ribbonControl1.ExpandCollapseItem.Id = 0;
            this.ribbonControl1.ExpandCollapseItem.Name = "";
            this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.ribbonControl1.ExpandCollapseItem,
            this.btnNewTerminal,
            this.btnNewTerminal2,
            this.btnNewTerminal3,
            this.btnStart,
            this.btnStop,
            this.btnClear,
            this.txtUsername,
            this.txtPassword,
            this.btnLogin,
            this.btnChangePassword,
            this.btnLogout,
            this.lblSystemTime,
            this.lblTotalTransaction,
            this.lblTotalTerminal,
            this.barEditItem1,
            this.ribbonGalleryBarItem1,
            this.barButtonGroup1,
            this.barButtonGroup2,
            this.skinGalleryBarItem});
            this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
            this.ribbonControl1.MaxItemId = 22;
            this.ribbonControl1.Name = "ribbonControl1";
            this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
            this.ribbonPage1});
            this.ribbonControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemTextEdit1,
            this.repositoryItemTextEdit2,
            this.repositoryItemPopupContainerEdit1});
            this.ribbonControl1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010;
            this.ribbonControl1.SelectedPage = this.ribbonPage1;
            this.ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
            this.ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
            this.ribbonControl1.ShowToolbarCustomizeItem = false;
            this.ribbonControl1.Size = new System.Drawing.Size(1056, 125);
            this.ribbonControl1.StatusBar = this.ribbonStatusBar1;
            this.ribbonControl1.Toolbar.ShowCustomizeItem = false;
            // 
            // btnNewTerminal
            // 
            this.btnNewTerminal.Caption = "ibet-3in1";
            this.btnNewTerminal.Enabled = false;
            this.btnNewTerminal.Id = 1;
            this.btnNewTerminal.LargeGlyph = global::iBet.App.Properties.Resources.i4;
            this.btnNewTerminal.Name = "btnNewTerminal";
            this.btnNewTerminal.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal_ItemClick);
            // 
            // btnNewTerminal2
            // 
            this.btnNewTerminal2.Caption = "ibet-sbo";
            this.btnNewTerminal2.Enabled = false;
            this.btnNewTerminal2.Id = 13;
            this.btnNewTerminal2.LargeGlyph = global::iBet.App.Properties.Resources.i9;
            this.btnNewTerminal2.Name = "btnNewTerminal2";
            this.btnNewTerminal2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal2_ItemClick);
            // 
            // btnNewTerminal3
            // 
            this.btnNewTerminal3.Caption = "Follow Sub";
            this.btnNewTerminal3.Enabled = false;
            this.btnNewTerminal3.Id = 14;
            this.btnNewTerminal3.LargeGlyph = global::iBet.App.Properties.Resources.i10;
            this.btnNewTerminal3.Name = "btnNewTerminal3";
            this.btnNewTerminal3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal3_ItemClick);
            // 
            // btnStart
            // 
            this.btnStart.Caption = "Start";
            this.btnStart.Enabled = false;
            this.btnStart.Id = 2;
            this.btnStart.LargeGlyph = global::iBet.App.Properties.Resources.i5;
            this.btnStart.Name = "btnStart";
            this.btnStart.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStart_ItemClick);
            // 
            // btnStop
            // 
            this.btnStop.Caption = "Stop";
            this.btnStop.Enabled = false;
            this.btnStop.Id = 3;
            this.btnStop.LargeGlyph = global::iBet.App.Properties.Resources.i6;
            this.btnStop.Name = "btnStop";
            this.btnStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStop_ItemClick);
            // 
            // btnClear
            // 
            this.btnClear.Caption = "Clear";
            this.btnClear.Enabled = false;
            this.btnClear.Glyph = global::iBet.App.Properties.Resources.i7;
            this.btnClear.Id = 4;
            this.btnClear.LargeGlyph = global::iBet.App.Properties.Resources.i7;
            this.btnClear.Name = "btnClear";
            this.btnClear.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnClear_ItemClick);
            // 
            // txtUsername
            // 
            this.txtUsername.Caption = "Username";
            this.txtUsername.Edit = this.repositoryItemTextEdit1;
            this.txtUsername.Id = 5;
            this.txtUsername.Name = "txtUsername";
            this.txtUsername.Width = 150;
            // 
            // repositoryItemTextEdit1
            // 
            this.repositoryItemTextEdit1.AutoHeight = false;
            this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
            // 
            // txtPassword
            // 
            this.txtPassword.Caption = "Password ";
            this.txtPassword.Edit = this.repositoryItemTextEdit2;
            this.txtPassword.Id = 6;
            this.txtPassword.Name = "txtPassword";
            this.txtPassword.Width = 150;
            // 
            // repositoryItemTextEdit2
            // 
            this.repositoryItemTextEdit2.AutoHeight = false;
            this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2";
            this.repositoryItemTextEdit2.PasswordChar = '*';
            // 
            // btnLogin
            // 
            this.btnLogin.Caption = "Login";
            this.btnLogin.Id = 7;
            this.btnLogin.LargeGlyph = global::iBet.App.Properties.Resources.i1;
            this.btnLogin.Name = "btnLogin";
            this.btnLogin.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLogin_ItemClick);
            // 
            // btnChangePassword
            // 
            this.btnChangePassword.Caption = "Change Password";
            this.btnChangePassword.Enabled = false;
            this.btnChangePassword.Id = 8;
            this.btnChangePassword.LargeGlyph = global::iBet.App.Properties.Resources.i3;
            this.btnChangePassword.Name = "btnChangePassword";
            this.btnChangePassword.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnChangePassword_ItemClick);
            // 
            // btnLogout
            // 
            this.btnLogout.Caption = "Logout";
            this.btnLogout.Enabled = false;
            this.btnLogout.Id = 9;
            this.btnLogout.LargeGlyph = global::iBet.App.Properties.Resources.i2;
            this.btnLogout.Name = "btnLogout";
            this.btnLogout.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLogout_ItemClick);
            // 
            // lblSystemTime
            // 
            this.lblSystemTime.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.lblSystemTime.Id = 10;
            this.lblSystemTime.Name = "lblSystemTime";
            this.lblSystemTime.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // lblTotalTransaction
            // 
            this.lblTotalTransaction.Caption = "Total transaction(s): 0";
            this.lblTotalTransaction.Id = 11;
            this.lblTotalTransaction.Name = "lblTotalTransaction";
            this.lblTotalTransaction.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // lblTotalTerminal
            // 
            this.lblTotalTerminal.Caption = "Total Terminal(s): 0";
            this.lblTotalTerminal.Id = 12;
            this.lblTotalTerminal.Name = "lblTotalTerminal";
            this.lblTotalTerminal.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barEditItem1
            // 
            this.barEditItem1.Caption = "barEditItem1";
            this.barEditItem1.Edit = this.repositoryItemPopupContainerEdit1;
            this.barEditItem1.Id = 15;
            this.barEditItem1.Name = "barEditItem1";
            // 
            // repositoryItemPopupContainerEdit1
            // 
            this.repositoryItemPopupContainerEdit1.AutoHeight = false;
            this.repositoryItemPopupContainerEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemPopupContainerEdit1.Name = "repositoryItemPopupContainerEdit1";
            // 
            // ribbonGalleryBarItem1
            // 
            this.ribbonGalleryBarItem1.Caption = "ribbonGalleryBarItem1";
            this.ribbonGalleryBarItem1.Id = 17;
            this.ribbonGalleryBarItem1.Name = "ribbonGalleryBarItem1";
            // 
            // barButtonGroup1
            // 
            this.barButtonGroup1.Caption = "barButtonGroup1";
            this.barButtonGroup1.Id = 18;
            this.barButtonGroup1.Name = "barButtonGroup1";
            // 
            // barButtonGroup2
            // 
            this.barButtonGroup2.Caption = "barButtonGroup2";
            this.barButtonGroup2.Id = 19;
            this.barButtonGroup2.Name = "barButtonGroup2";
            // 
            // skinGalleryBarItem
            // 
            this.skinGalleryBarItem.Caption = "skinGalleryBarItem";
            // 
            // skinGalleryBarItem
            // 
            this.skinGalleryBarItem.Gallery.AllowHoverImages = true;
            this.skinGalleryBarItem.Gallery.FixedHoverImageSize = false;
            galleryItemGroup1.Caption = "Standard";
            galleryItemGroup2.Caption = "Bonus";
            galleryItemGroup2.Visible = false;
            galleryItemGroup3.Caption = "Office";
            galleryItemGroup3.Visible = false;
            this.skinGalleryBarItem.Gallery.Groups.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItemGroup[] {
            galleryItemGroup1,
            galleryItemGroup2,
            galleryItemGroup3});
            this.skinGalleryBarItem.Gallery.ImageSize = new System.Drawing.Size(58, 43);
            this.skinGalleryBarItem.Gallery.ItemCheckMode = DevExpress.XtraBars.Ribbon.Gallery.ItemCheckMode.SingleRadio;
            this.skinGalleryBarItem.Id = 1;
            this.skinGalleryBarItem.Name = "skinGalleryBarItem";
            // 
            // ribbonPage1
            // 
            this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup3,
            this.ribbonPageGroup1,
            this.ribbonPageGroup2,
            this.ribbonPageGroup5});
            this.ribbonPage1.Name = "ribbonPage1";
            this.ribbonPage1.Text = "Terminal";
            // 
            // ribbonPageGroup3
            // 
            this.ribbonPageGroup3.ItemLinks.Add(this.txtUsername);
            this.ribbonPageGroup3.ItemLinks.Add(this.txtPassword);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnLogin);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnChangePassword);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnLogout);
            this.ribbonPageGroup3.Name = "ribbonPageGroup3";
            this.ribbonPageGroup3.ShowCaptionButton = false;
            this.ribbonPageGroup3.Text = "Authentication";
            // 
            // ribbonPageGroup1
            // 
            this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal2);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal3);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnStart);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnStop);
            this.ribbonPageGroup1.Name = "ribbonPageGroup1";
            this.ribbonPageGroup1.ShowCaptionButton = false;
            this.ribbonPageGroup1.Text = "Terminal";
            // 
            // ribbonPageGroup2
            // 
            this.ribbonPageGroup2.ItemLinks.Add(this.btnClear);
            this.ribbonPageGroup2.Name = "ribbonPageGroup2";
            this.ribbonPageGroup2.ShowCaptionButton = false;
            this.ribbonPageGroup2.Text = "Tracking";
            // 
            // ribbonPageGroup5
            // 
            this.ribbonPageGroup5.ItemLinks.Add(this.skinGalleryBarItem);
            this.ribbonPageGroup5.Name = "ribbonPageGroup5";
            this.ribbonPageGroup5.Text = "Skins";
            // 
            // ribbonStatusBar1
            // 
            this.ribbonStatusBar1.ItemLinks.Add(this.lblSystemTime);
            this.ribbonStatusBar1.ItemLinks.Add(this.lblTotalTerminal);
            this.ribbonStatusBar1.ItemLinks.Add(this.lblTotalTransaction);
            this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 617);
            this.ribbonStatusBar1.Name = "ribbonStatusBar1";
            this.ribbonStatusBar1.Ribbon = this.ribbonControl1;
            this.ribbonStatusBar1.Size = new System.Drawing.Size(1056, 31);
            // 
            // splitContainerControl1
            // 
            this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;
            this.splitContainerControl1.Horizontal = false;
            this.splitContainerControl1.Location = new System.Drawing.Point(0, 125);
            this.splitContainerControl1.Name = "splitContainerControl1";
            this.splitContainerControl1.Panel1.Controls.Add(this.xtraTabControl1);
            this.splitContainerControl1.Panel1.Text = "Panel1";
            this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControl2);
            this.splitContainerControl1.Panel2.Text = "Panel2";
            this.splitContainerControl1.Size = new System.Drawing.Size(1056, 492);
            this.splitContainerControl1.SplitterPosition = 44;
            this.splitContainerControl1.TabIndex = 1;
            this.splitContainerControl1.Text = "splitContainerControl1";
            // 
            // 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.xtraTabPage1;
            this.xtraTabControl1.Size = new System.Drawing.Size(1056, 443);
            this.xtraTabControl1.TabIndex = 0;
            this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage1,
            this.xtraTabPage3,
            this.xtraTabPage5});
            // 
            // xtraTabPage1
            // 
            this.xtraTabPage1.Controls.Add(this.grdTransaction);
            this.xtraTabPage1.Controls.Add(this.panelControl3);
            this.xtraTabPage1.Controls.Add(this.panelControl4);
            this.xtraTabPage1.Name = "xtraTabPage1";
            this.xtraTabPage1.Size = new System.Drawing.Size(1050, 417);
            this.xtraTabPage1.Text = "Transactions";
            // 
            // grdTransaction
            // 
            this.grdTransaction.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdTransaction.EmbeddedNavigator.ShowToolTips = false;
            this.grdTransaction.Location = new System.Drawing.Point(0, 0);
            this.grdTransaction.MainView = this.gridView2;
            this.grdTransaction.Name = "grdTransaction";
            this.grdTransaction.Size = new System.Drawing.Size(1050, 417);
            this.grdTransaction.TabIndex = 7;
            this.grdTransaction.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView2});
            // 
            // gridView2
            // 
            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn1,
            this.gridColumn8,
            this.gridColumn2,
            this.gridColumn3,
            this.gridColumn6,
            this.gridColumn4,
            this.gridColumn5,
            this.gridColumn7,
            this.gridColumn10,
            this.gridColumn11,
            this.gridColumn12,
            this.gridColumn9,
            this.gridColumn14,
            this.gridColumn15,
            this.gridColumn13});
            this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
            this.gridView2.GridControl = this.grdTransaction;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsBehavior.Editable = false;
            this.gridView2.OptionsCustomization.AllowGroup = false;
            this.gridView2.OptionsMenu.EnableColumnMenu = false;
            this.gridView2.OptionsMenu.EnableFooterMenu = false;
            this.gridView2.OptionsMenu.EnableGroupPanelMenu = false;
            this.gridView2.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button;
            this.gridView2.OptionsView.ShowAutoFilterRow = true;
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.gridView2.OptionsView.ShowPreview = true;
            this.gridView2.PreviewFieldName = "Note";
            this.gridView2.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowForFocusedRow;
            this.gridView2.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn13, DevExpress.Data.ColumnSortOrder.Descending)});
            // 
            // gridColumn1
            // 
            this.gridColumn1.Caption = "ID";
            this.gridColumn1.FieldName = "ID";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.OptionsColumn.AllowFocus = false;
            this.gridColumn1.OptionsColumn.AllowMove = false;
            this.gridColumn1.OptionsColumn.AllowSize = false;
            this.gridColumn1.OptionsColumn.FixedWidth = true;
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn1.Width = 30;
            // 
            // gridColumn8
            // 
            this.gridColumn8.Caption = "Account Pair";
            this.gridColumn8.FieldName = "AccountPair";
            this.gridColumn8.Name = "gridColumn8";
            this.gridColumn8.OptionsColumn.AllowFocus = false;
            this.gridColumn8.OptionsColumn.FixedWidth = true;
            this.gridColumn8.Visible = true;
            this.gridColumn8.VisibleIndex = 1;
            this.gridColumn8.Width = 120;
            // 
            // gridColumn2
            // 
            this.gridColumn2.Caption = "Home Team";
            this.gridColumn2.FieldName = "HomeTeamName";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.OptionsColumn.AllowFocus = false;
            this.gridColumn2.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 2;
            this.gridColumn2.Width = 107;
            // 
            // gridColumn3
            // 
            this.gridColumn3.Caption = "Away Team";
            this.gridColumn3.FieldName = "AwayTeamName";
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.OptionsColumn.AllowFocus = false;
            this.gridColumn3.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 3;
            this.gridColumn3.Width = 119;
            // 
            // gridColumn6
            // 
            this.gridColumn6.Caption = "Type";
            this.gridColumn6.FieldName = "OddType";
            this.gridColumn6.Name = "gridColumn6";
            this.gridColumn6.OptionsColumn.AllowFocus = false;
            this.gridColumn6.OptionsColumn.FixedWidth = true;
            this.gridColumn6.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn6.Visible = true;
            this.gridColumn6.VisibleIndex = 4;
            this.gridColumn6.Width = 150;
            // 
            // gridColumn4
            // 
            this.gridColumn4.Caption = "Odd";
            this.gridColumn4.FieldName = "OddKindValue";
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.OptionsColumn.AllowFocus = false;
            this.gridColumn4.OptionsColumn.FixedWidth = true;
            this.gridColumn4.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 5;
            this.gridColumn4.Width = 60;
            // 
            // gridColumn5
            // 
            this.gridColumn5.Caption = "Value";
            this.gridColumn5.FieldName = "OddValue";
            this.gridColumn5.Name = "gridColumn5";
            this.gridColumn5.OptionsColumn.AllowFocus = false;
            this.gridColumn5.OptionsColumn.FixedWidth = true;
            this.gridColumn5.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn5.Visible = true;
            this.gridColumn5.VisibleIndex = 6;
            this.gridColumn5.Width = 60;
            // 
            // gridColumn7
            // 
            this.gridColumn7.Caption = "Stake";
            this.gridColumn7.FieldName = "Stake";
            this.gridColumn7.Name = "gridColumn7";
            this.gridColumn7.OptionsColumn.AllowFocus = false;
            this.gridColumn7.OptionsColumn.FixedWidth = true;
            this.gridColumn7.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn7.Visible = true;
            this.gridColumn7.VisibleIndex = 7;
            this.gridColumn7.Width = 60;
            // 
            // gridColumn10
            // 
            this.gridColumn10.Caption = "I";
            this.gridColumn10.FieldName = "IBETTrade";
            this.gridColumn10.Name = "gridColumn10";
            this.gridColumn10.OptionsColumn.AllowFocus = false;
            this.gridColumn10.OptionsColumn.FixedWidth = true;
            this.gridColumn10.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn10.Visible = true;
            this.gridColumn10.VisibleIndex = 8;
            this.gridColumn10.Width = 30;
            // 
            // gridColumn11
            // 
            this.gridColumn11.Caption = "3";
            this.gridColumn11.FieldName = "THREEIN1Trade";
            this.gridColumn11.Name = "gridColumn11";
            this.gridColumn11.OptionsColumn.AllowFocus = false;
            this.gridColumn11.OptionsColumn.FixedWidth = true;
            this.gridColumn11.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn11.Visible = true;
            this.gridColumn11.VisibleIndex = 9;
            this.gridColumn11.Width = 30;
            // 
            // gridColumn12
            // 
            this.gridColumn12.Caption = "3 Re";
            this.gridColumn12.FieldName = "THREEIN1ReTrade";
            this.gridColumn12.Name = "gridColumn12";
            this.gridColumn12.OptionsColumn.AllowFocus = false;
            this.gridColumn12.OptionsColumn.FixedWidth = true;
            this.gridColumn12.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn12.Visible = true;
            this.gridColumn12.VisibleIndex = 11;
            this.gridColumn12.Width = 30;
            // 
            // gridColumn9
            // 
            this.gridColumn9.Caption = "I Re";
            this.gridColumn9.FieldName = "IBETReTrade";
            this.gridColumn9.Name = "gridColumn9";
            this.gridColumn9.OptionsColumn.AllowFocus = false;
            this.gridColumn9.OptionsColumn.FixedWidth = true;
            this.gridColumn9.Visible = true;
            this.gridColumn9.VisibleIndex = 12;
            this.gridColumn9.Width = 30;
            // 
            // gridColumn14
            // 
            this.gridColumn14.Caption = "B";
            this.gridColumn14.FieldName = "SBOBETTrade";
            this.gridColumn14.Name = "gridColumn14";
            this.gridColumn14.OptionsColumn.AllowFocus = false;
            this.gridColumn14.OptionsColumn.FixedWidth = true;
            this.gridColumn14.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn14.Visible = true;
            this.gridColumn14.VisibleIndex = 10;
            this.gridColumn14.Width = 30;
            // 
            // gridColumn15
            // 
            this.gridColumn15.Caption = "B Re";
            this.gridColumn15.FieldName = "SBOBETReTrade";
            this.gridColumn15.Name = "gridColumn15";
            this.gridColumn15.OptionsColumn.AllowFocus = false;
            this.gridColumn15.OptionsColumn.FixedWidth = true;
            this.gridColumn15.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn15.Visible = true;
            this.gridColumn15.VisibleIndex = 13;
            this.gridColumn15.Width = 30;
            // 
            // gridColumn13
            // 
            this.gridColumn13.Caption = "DateTime";
            this.gridColumn13.DisplayFormat.FormatString = "dd/MM/yyyy hh:mm:ss";
            this.gridColumn13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.gridColumn13.FieldName = "DateTime";
            this.gridColumn13.Name = "gridColumn13";
            this.gridColumn13.OptionsColumn.AllowFocus = false;
            this.gridColumn13.OptionsColumn.FixedWidth = true;
            this.gridColumn13.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value;
            this.gridColumn13.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count)});
            this.gridColumn13.UnboundType = DevExpress.Data.UnboundColumnType.DateTime;
            this.gridColumn13.Visible = true;
            this.gridColumn13.VisibleIndex = 14;
            this.gridColumn13.Width = 150;
            // 
            // panelControl3
            // 
            this.panelControl3.Location = new System.Drawing.Point(0, 0);
            this.panelControl3.Name = "panelControl3";
            this.panelControl3.Size = new System.Drawing.Size(200, 100);
            this.panelControl3.TabIndex = 8;
            // 
            // panelControl4
            // 
            this.panelControl4.Location = new System.Drawing.Point(0, 0);
            this.panelControl4.Name = "panelControl4";
            this.panelControl4.Size = new System.Drawing.Size(200, 100);
            this.panelControl4.TabIndex = 9;
            // 
            // xtraTabPage3
            // 
            this.xtraTabPage3.Controls.Add(this.btnStatement);
            this.xtraTabPage3.Controls.Add(this.btnBetList);
            this.xtraTabPage3.Controls.Add(this.cbeSignatureTemplate);
            this.xtraTabPage3.Controls.Add(this.panelControl1);
            this.xtraTabPage3.Name = "xtraTabPage3";
            this.xtraTabPage3.Size = new System.Drawing.Size(1050, 417);
            this.xtraTabPage3.Text = "Bet List - Statement";
            // 
            // btnStatement
            // 
            this.btnStatement.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnStatement.Location = new System.Drawing.Point(295, 391);
            this.btnStatement.Name = "btnStatement";
            this.btnStatement.Size = new System.Drawing.Size(99, 23);
            this.btnStatement.TabIndex = 7;
            this.btnStatement.Text = "Statement";
            this.btnStatement.Click += new System.EventHandler(this.btnStatement_Click);
            // 
            // btnBetList
            // 
            this.btnBetList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnBetList.Location = new System.Drawing.Point(198, 391);
            this.btnBetList.Name = "btnBetList";
            this.btnBetList.Size = new System.Drawing.Size(91, 23);
            this.btnBetList.TabIndex = 6;
            this.btnBetList.Text = "Refresh";
            this.btnBetList.Click += new System.EventHandler(this.btnRefresh_Click);
            // 
            // cbeSignatureTemplate
            // 
            this.cbeSignatureTemplate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.cbeSignatureTemplate.EditValue = "Select account pair";
            this.cbeSignatureTemplate.Location = new System.Drawing.Point(3, 394);
            this.cbeSignatureTemplate.Name = "cbeSignatureTemplate";
            this.cbeSignatureTemplate.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
            this.cbeSignatureTemplate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbeSignatureTemplate.Properties.DropDownRows = 10;
            this.cbeSignatureTemplate.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            this.cbeSignatureTemplate.Size = new System.Drawing.Size(189, 20);
            this.cbeSignatureTemplate.TabIndex = 5;
            // 
            // panelControl1
            // 
            this.panelControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.panelControl1.Controls.Add(this.webBrowser2);
            this.panelControl1.Controls.Add(this.splitter1);
            this.panelControl1.Controls.Add(this.webBrowser1);
            this.panelControl1.Location = new System.Drawing.Point(2, 3);
            this.panelControl1.Name = "panelControl1";
            this.panelControl1.Size = new System.Drawing.Size(1044, 382);
            this.panelControl1.TabIndex = 3;
            // 
            // webBrowser2
            // 
            this.webBrowser2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.webBrowser2.Location = new System.Drawing.Point(364, 2);
            this.webBrowser2.MinimumSize = new System.Drawing.Size(20, 20);
            this.webBrowser2.Name = "webBrowser2";
            this.webBrowser2.Size = new System.Drawing.Size(678, 378);
            this.webBrowser2.TabIndex = 2;
            this.webBrowser2.Url = new System.Uri("", System.UriKind.Relative);
            // 
            // splitter1
            // 
            this.splitter1.Location = new System.Drawing.Point(361, 2);
            this.splitter1.Name = "splitter1";
            this.splitter1.Size = new System.Drawing.Size(3, 378);
            this.splitter1.TabIndex = 1;
            this.splitter1.TabStop = false;
            // 
            // webBrowser1
            // 
            this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Left;
            this.webBrowser1.Location = new System.Drawing.Point(2, 2);
            this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
            this.webBrowser1.Name = "webBrowser1";
            this.webBrowser1.Size = new System.Drawing.Size(359, 378);
            this.webBrowser1.TabIndex = 0;
            this.webBrowser1.Url = new System.Uri("", System.UriKind.Relative);
            // 
            // xtraTabPage5
            // 
            this.xtraTabPage5.Controls.Add(this.panelControl2);
            this.xtraTabPage5.Name = "xtraTabPage5";
            this.xtraTabPage5.Size = new System.Drawing.Size(1050, 417);
            this.xtraTabPage5.Text = "Settings";
            // 
            // panelControl2
            // 
            this.panelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.panelControl2.Controls.Add(this.textEdit4);
            this.panelControl2.Controls.Add(this.chkSCloud);
            this.panelControl2.Controls.Add(this.simpleButton2);
            this.panelControl2.Controls.Add(this.textEdit3);
            this.panelControl2.Controls.Add(this.textEdit2);
            this.panelControl2.Controls.Add(this.textEdit1);
            this.panelControl2.Controls.Add(this.simpleButton1);
            this.panelControl2.Controls.Add(this.label4);
            this.panelControl2.Controls.Add(this.label3);
            this.panelControl2.Controls.Add(this.label2);
            this.panelControl2.Controls.Add(this.label1);
            this.panelControl2.Controls.Add(this.chkRCloud);
            this.panelControl2.Controls.Add(this.btnSignMeIn);
            this.panelControl2.Controls.Add(this.txtServerIP);
            this.panelControl2.Controls.Add(this.txtServerUserName);
            this.panelControl2.Controls.Add(this.txtServerPassword);
            this.panelControl2.Controls.Add(this.pictureEdit1);
            this.panelControl2.Location = new System.Drawing.Point(3, 3);
            this.panelControl2.Name = "panelControl2";
            this.panelControl2.Size = new System.Drawing.Size(1044, 497);
            this.panelControl2.TabIndex = 0;
            // 
            // textEdit4
            // 
            this.textEdit4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.textEdit4.Location = new System.Drawing.Point(244, 5);
            this.textEdit4.Name = "textEdit4";
            this.textEdit4.Size = new System.Drawing.Size(408, 406);
            this.textEdit4.TabIndex = 18;
            // 
            // chkSCloud
            // 
            this.chkSCloud.EditValue = true;
            this.chkSCloud.Location = new System.Drawing.Point(13, 27);
            this.chkSCloud.Name = "chkSCloud";
            this.chkSCloud.Properties.Caption = "S cloud";
            this.chkSCloud.Size = new System.Drawing.Size(86, 19);
            this.chkSCloud.TabIndex = 17;
            // 
            // simpleButton2
            // 
            this.simpleButton2.Location = new System.Drawing.Point(130, 307);
            this.simpleButton2.Name = "simpleButton2";
            this.simpleButton2.Size = new System.Drawing.Size(97, 23);
            this.simpleButton2.TabIndex = 16;
            this.simpleButton2.Text = "Set";
            this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
            // 
            // textEdit3
            // 
            this.textEdit3.EditValue = "0";
            this.textEdit3.Location = new System.Drawing.Point(94, 216);
            this.textEdit3.Name = "textEdit3";
            this.textEdit3.Size = new System.Drawing.Size(142, 20);
            this.textEdit3.TabIndex = 15;
            // 
            // textEdit2
            // 
            this.textEdit2.Location = new System.Drawing.Point(94, 268);
            this.textEdit2.Name = "textEdit2";
            this.textEdit2.Size = new System.Drawing.Size(142, 20);
            this.textEdit2.TabIndex = 14;
            // 
            // textEdit1
            // 
            this.textEdit1.Location = new System.Drawing.Point(94, 241);
            this.textEdit1.Name = "textEdit1";
            this.textEdit1.Size = new System.Drawing.Size(142, 20);
            this.textEdit1.TabIndex = 13;
            // 
            // simpleButton1
            // 
            this.simpleButton1.Location = new System.Drawing.Point(18, 307);
            this.simpleButton1.Name = "simpleButton1";
            this.simpleButton1.Size = new System.Drawing.Size(97, 23);
            this.simpleButton1.TabIndex = 12;
            this.simpleButton1.Text = "Get";
            this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(12, 176);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(0, 13);
            this.label4.TabIndex = 11;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(11, 140);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(53, 13);
            this.label3.TabIndex = 10;
            this.label3.Text = "Password";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(11, 113);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(55, 13);
            this.label2.TabIndex = 9;
            this.label2.Text = "Username";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(11, 86);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(81, 13);
            this.label1.TabIndex = 8;
            this.label1.Text = "Server Address";
            // 
            // chkRCloud
            // 
            this.chkRCloud.EditValue = true;
            this.chkRCloud.Location = new System.Drawing.Point(12, 53);
            this.chkRCloud.Name = "chkRCloud";
            this.chkRCloud.Properties.Caption = "R cloud";
            this.chkRCloud.Size = new System.Drawing.Size(86, 19);
            this.chkRCloud.TabIndex = 7;
            this.chkRCloud.CheckedChanged += new System.EventHandler(this.chbCloud_CheckedChanged);
            // 
            // btnSignMeIn
            // 
            this.btnSignMeIn.Location = new System.Drawing.Point(154, 171);
            this.btnSignMeIn.Name = "btnSignMeIn";
            this.btnSignMeIn.Size = new System.Drawing.Size(75, 23);
            this.btnSignMeIn.TabIndex = 3;
            this.btnSignMeIn.Text = "Sign me in";
            this.btnSignMeIn.Click += new System.EventHandler(this.btnSignMeIn_Click);
            // 
            // txtServerIP
            // 
            this.txtServerIP.EditValue = "115.84.178.100";
            this.txtServerIP.Location = new System.Drawing.Point(95, 83);
            this.txtServerIP.Name = "txtServerIP";
            this.txtServerIP.Size = new System.Drawing.Size(142, 20);
            this.txtServerIP.TabIndex = 4;
            // 
            // txtServerUserName
            // 
            this.txtServerUserName.EditValue = "tuns";
            this.txtServerUserName.Location = new System.Drawing.Point(95, 110);
            this.txtServerUserName.Name = "txtServerUserName";
            this.txtServerUserName.Size = new System.Drawing.Size(142, 20);
            this.txtServerUserName.TabIndex = 5;
            // 
            // txtServerPassword
            // 
            this.txtServerPassword.EditValue = "anhkomuonradi";
            this.txtServerPassword.Location = new System.Drawing.Point(95, 137);
            this.txtServerPassword.Name = "txtServerPassword";
            this.txtServerPassword.Properties.UseSystemPasswordChar = true;
            this.txtServerPassword.Size = new System.Drawing.Size(142, 20);
            this.txtServerPassword.TabIndex = 6;
            // 
            // pictureEdit1
            // 
            this.pictureEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.pictureEdit1.EditValue = ((object)(resources.GetObject("pictureEdit1.EditValue")));
            this.pictureEdit1.Location = new System.Drawing.Point(658, 5);
            this.pictureEdit1.Name = "pictureEdit1";
            this.pictureEdit1.Properties.AllowFocused = false;
            this.pictureEdit1.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.pictureEdit1.Properties.Appearance.Options.UseBackColor = true;
            this.pictureEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.pictureEdit1.Properties.PictureAlignment = System.Drawing.ContentAlignment.TopLeft;
            this.pictureEdit1.Properties.ShowMenu = false;
            this.pictureEdit1.Size = new System.Drawing.Size(382, 448);
            this.pictureEdit1.TabIndex = 2;
            // 
            // xtraTabControl2
            // 
            this.xtraTabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl2.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl2.Name = "xtraTabControl2";
            this.xtraTabControl2.SelectedTabPage = this.xtraTabPage2;
            this.xtraTabControl2.Size = new System.Drawing.Size(1056, 44);
            this.xtraTabControl2.TabIndex = 1;
            this.xtraTabControl2.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage2,
            this.xtraTabPage4});
            // 
            // xtraTabPage2
            // 
            this.xtraTabPage2.Name = "xtraTabPage2";
            this.xtraTabPage2.Size = new System.Drawing.Size(1050, 18);
            this.xtraTabPage2.Text = "Waiting list";
            // 
            // xtraTabPage4
            // 
            this.xtraTabPage4.Name = "xtraTabPage4";
            this.xtraTabPage4.Size = new System.Drawing.Size(1050, 18);
            this.xtraTabPage4.Text = "Clones monitor";
            // 
            // ribbonPageGroup4
            // 
            this.ribbonPageGroup4.ItemLinks.Add(this.btnClear);
            this.ribbonPageGroup4.Name = "ribbonPageGroup4";
            this.ribbonPageGroup4.ShowCaptionButton = false;
            this.ribbonPageGroup4.Text = "Tracking";
            // 
            // MainForm
            // 
            this.AutoHideRibbon = false;
            this.ClientSize = new System.Drawing.Size(1056, 648);
            this.Controls.Add(this.splitContainerControl1);
            this.Controls.Add(this.ribbonStatusBar1);
            this.Controls.Add(this.ribbonControl1);
            this.Icon = global::iBet.App.Properties.Resources.BetBrokerLogo;
            this.Name = "MainForm";
            this.Ribbon = this.ribbonControl1;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.StatusBar = this.ribbonStatusBar1;
            this.Text = "Bet Broker";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
            this.splitContainerControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.xtraTabPage1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
            this.xtraTabPage3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.cbeSignatureTemplate.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
            this.panelControl1.ResumeLayout(false);
            this.xtraTabPage5.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
            this.panelControl2.ResumeLayout(false);
            this.panelControl2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkSCloud.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkRCloud.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerIP.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerUserName.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerPassword.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).EndInit();
            this.xtraTabControl2.ResumeLayout(false);
            this.ResumeLayout(false);

		}