RibbonPage DetachPage(RibbonControl rc) { RibbonPage page = rc.Categories[0].Pages[0]; page.PageCategory.Pages.Remove(page); return(page); }
public void BuildMenu() { var dtPage = new DataTable(); var dtGroupPage = new DataTable(); var dtItem = new DataTable(); int i, j, k; int IuserID = clsDTO.iUserId; try { dtPage = clsB.GET_MenuParent(IuserID); //RibbonPage page = new RibbonPage((IuserID - 1).ToString()); if (dtPage.Rows.Count > 0) { for (i = 0; i < dtPage.Rows.Count; i++) { RibbonPage page = new RibbonPage(dtPage.Rows[i]["Name"].ToString()); ribbonControl1.Pages.Add(page); } } } catch (Exception ex) { XtraMessageBox.Show(ex.ToString()); } }
/// <summary> /// Init skin gallery /// </summary> /// <param name="rp">RibbonPage</param> public void InitSkinGallery(RibbonPage rp, string skin = "DevExpress Style") { var rgbiSkins = new RibbonGalleryBarItem { Caption = "Skins" }; rgbiSkins.Gallery.AllowHoverImages = true; rgbiSkins.Gallery.Appearance.ItemCaptionAppearance.Normal.Options.UseFont = true; rgbiSkins.Gallery.Appearance.ItemCaptionAppearance.Normal.Options.UseTextOptions = true; rgbiSkins.Gallery.Appearance.ItemCaptionAppearance.Normal.TextOptions.HAlignment = HorzAlignment.Center; rgbiSkins.Gallery.ColumnCount = 4; rgbiSkins.Gallery.FixedHoverImageSize = false; rgbiSkins.Gallery.ImageSize = new System.Drawing.Size(32, 17); rgbiSkins.Gallery.ItemImageLocation = Locations.Top; rgbiSkins.Gallery.RowCount = 4; rgbiSkins.Id = 60; rgbiSkins.Name = "rgbiSkins"; var skinsRibbonPageGroup = new RibbonPageGroup(); skinsRibbonPageGroup.ItemLinks.Add(rgbiSkins); skinsRibbonPageGroup.Name = "skinsRibbonPageGroup"; skinsRibbonPageGroup.ShowCaptionButton = false; skinsRibbonPageGroup.Text = "GIAO DIỆN"; ribbon.Items.Add(rgbiSkins); rp.Groups.Add(skinsRibbonPageGroup); SkinHelper.InitSkinGallery(rgbiSkins, true); UserLookAndFeel.Default.SetSkinStyle(skin); }
public void AddMenuGroup(FrmMenuPage menuPage, FrmMenuGroup menuGroup) { RibbonControl mainMenu = application.MainRibbon; if (MainMenuPages[menuPage.PageName] == null) { return; } if (mainMenu != null) { if (menuPage.Tag is RibbonPage) { RibbonPage _rPage = menuPage.Tag as RibbonPage; RibbonPageGroup _menuGroup = new RibbonPageGroup(); _menuGroup.Name = menuGroup.GroupName; _menuGroup.Text = menuGroup.DisplayTitle; _rPage.Groups.Add(_menuGroup); menuGroup.Tag = _menuGroup; } else { MessageBox.Show(string.Format("菜单页{0}不存在!", menuPage.PageName)); } } }
public bool GetMenuGroup(RibbonPage MainPage) { List <RibbonPageGroup> _ret = new List <DevExpress.XtraBars.Ribbon.RibbonPageGroup>(); RibbonPageGroup _group = new RibbonPageGroup(); _group.Text = "硬盘空间监控"; BarButtonItem _bt = new BarButtonItem(); _bt.Caption = "导出全部日志"; _bt.Name = "SystemLog_Export_ALL"; _bt.Glyph = global::SinoSystemWatch.Properties.Resources.pro2; _bt.LargeGlyph = global::SinoSystemWatch.Properties.Resources.pro2; _bt.Tag = this; MainPage.Ribbon.Items.Add(_bt); _group.ItemLinks.Add(_bt); _bt = new BarButtonItem(); _bt.Caption = "仅导出错误日志"; _bt.Name = "SystemLog_Export_ERROR"; _bt.Glyph = global::SinoSystemWatch.Properties.Resources.pro2; _bt.LargeGlyph = global::SinoSystemWatch.Properties.Resources.pro2; _bt.Tag = this; MainPage.Ribbon.Items.Add(_bt); _group.ItemLinks.Add(_bt); _ret.Add(_group); MainPage.Groups.Add(_group); return(true); }
public void AddMainMenuPage(FrmMenuPage menuPage) { string pageName = menuPage.PageName; if (MainMenuPages.ContainsKey(pageName)) { MessageBox.Show(string.Format("菜单页{0}已经存在!", pageName)); } else { RibbonPage _rp = new RibbonPage(); _rp.Name = menuPage.PageName; _rp.Text = menuPage.PageTitle; MainMenuPages[pageName] = menuPage; RibbonControl mainMenu = application.MainRibbon; if (mainMenu != null) { if (!mainMenu.Pages.Contains(_rp)) { mainMenu.Pages.Add(_rp); menuPage.Tag = _rp; } } } }
private void Set(RibbonPage page, Item item) { page.Name = item.Name; page.Text = item.Text; if (item.ShowImage == true) { if (item.IsLarge == true) { page.Image = ImageConvert.ConvertToImage(item.LargeImage); if (page.Image == null) { page.Image = ImageConvert.ConvertToImage(item.Image); } } else { page.Image = ImageConvert.ConvertToImage(item.Image); if (page.Image == null) { page.Image = ImageConvert.ConvertToImage(item.LargeImage); } } } else { page.Image = null; } page.Tag = item; }
private RibbonPage CreateRibbonPage(XmlNode node) { if (node == null || node.NodeType == XmlNodeType.Comment || node.Attributes == null) { return(null); } string pName = GetXMLAttribute(node, "Key"); string pText = GetXMLAttribute(node, "Caption"); RibbonPage ribbonPage = _ribbonManager.Pages.GetPageByName(pName); if (ribbonPage == null) { ribbonPage = new RibbonPage(); ribbonPage.Name = GetXMLAttribute(node, "Key"); ribbonPage.Text = GetXMLAttribute(node, "Caption"); ribbonPage.Visible = GetXMLAttribute(node, "Visible").ToUpper().IndexOf("F") > -1 ? false : true; _ribbonManager.Pages.Add(ribbonPage); } XmlNodeList nodeListSubPageItem = node.ChildNodes; foreach (XmlNode nodeSubPageItem in nodeListSubPageItem) { RibbonPageGroup group = CreateRibbonPageGroup(ribbonPage, nodeSubPageItem) as RibbonPageGroup; if (group != null) { ribbonPage.Groups.Add(group); } } return(ribbonPage); }
private object CreateRibbonPageGroup(RibbonPage pPage, XmlNode nodePageGroup) { if (nodePageGroup == null || nodePageGroup.NodeType == XmlNodeType.Comment || nodePageGroup.Attributes == null) { return(null); } string grpName = GetXMLAttribute(nodePageGroup, "Key"); RibbonPageGroup ribbonPageGroup = pPage.Groups.GetGroupByName(grpName); if (ribbonPageGroup == null) { ribbonPageGroup = new RibbonPageGroup() { Name = GetXMLAttribute(nodePageGroup, "Key"), Text = GetXMLAttribute(nodePageGroup, "Caption"), Visible = GetXMLAttribute(nodePageGroup, "Visible").ToUpper().IndexOf("F") > -1 ? false : true, ShowCaptionButton = GetXMLAttribute(nodePageGroup, "ShowCaption").ToUpper().IndexOf("F") > -1 ? false : true }; pPage.Groups.Add(ribbonPageGroup); } XmlNodeList nodeListSubItem = nodePageGroup.SelectNodes("BarItem"); foreach (XmlNode nodeSubItem in nodeListSubItem) { CreateBarItem(ribbonPageGroup, nodeSubItem); //if (groupItem != null) //{ // ribbonPageGroup.ItemLinks.Add(groupItem); //} } return(ribbonPageGroup); }
/// <summary> /// 作用:创建RibbonPage /// 作者:汪建龙 /// 编写时间:2016年12月30日13:57:41 /// </summary> /// <param name="ribbonControl"></param> /// <param name="node"></param> /// <returns></returns> private static object CreateItemRibbonPage(RibbonControl ribbonControl, XmlNode node) { if (node == null || node.NodeType == XmlNodeType.Comment || node.Attributes == null) { return(null); } object obj = InstanceHelper.CreateInstance(AssemblyNameOfDevExpress, "Ribbon.RibbonPage") as RibbonPage; if (obj == null) { return(null); } RibbonPage ribbonPage = obj as RibbonPage; ribbonPage.Name = XMLHelper.GetAttribute(node, "Name"); ribbonPage.Text = XMLHelper.GetAttribute(node, "Text"); ribbonPage.Visible = XMLHelper.GetAttribute(node, "Visible").ToUpper().IndexOf("F") > -1 ? false : true; XmlNodeList nodeListSubPageItem = node.ChildNodes; foreach (XmlNode nodeSubPageItem in nodeListSubPageItem) { RibbonPageGroup group = CreateItem(ribbonControl, nodeSubPageItem) as RibbonPageGroup; if (group != null) { ribbonPage.Groups.Add(group); } } return(obj); }
public bool GetMenuGroup(RibbonPage MainPage) { RibbonPageGroup _group = new RibbonPageGroup(); _group.Text = "数据库监控"; BarButtonItem _bt = new BarButtonItem(); _bt.Caption = "导出数据连接状态"; _bt.Name = "DATABASE_Status"; _bt.Glyph = global::SinoSystemWatch.Properties.Resources.pro2; _bt.LargeGlyph = global::SinoSystemWatch.Properties.Resources.pro2; _bt.Tag = this; MainPage.Ribbon.Items.Add(_bt); _group.ItemLinks.Add(_bt); _bt = new BarButtonItem(); _bt.Caption = "添加数据库连接"; _bt.Name = "DBConn_Add"; _bt.Glyph = global::SinoSystemWatch.Properties.Resources.db_add; _bt.LargeGlyph = global::SinoSystemWatch.Properties.Resources.db_add; _bt.Tag = this; MainPage.Ribbon.Items.Add(_bt); _group.ItemLinks.Add(_bt); _bt = new BarButtonItem(); _bt.Caption = "删除数据库连接"; _bt.Name = "DBConn_Del"; _bt.Glyph = global::SinoSystemWatch.Properties.Resources.db_remove; _bt.LargeGlyph = global::SinoSystemWatch.Properties.Resources.db_remove; _bt.Tag = this; MainPage.Ribbon.Items.Add(_bt); _group.ItemLinks.Add(_bt); MainPage.Groups.Add(_group); return true; }
/// <summary> /// 作用:从RibbonControl中添加完善分页 /// 作者:汪建龙 /// 编写时间:2016年12月19日15:26:32 /// </summary> /// <param name="ribbonControl"></param> /// <param name="xmlDocument"></param> private void CreatePage(RibbonControl ribbonControl, XmlDocument xmlDocument) { XmlNode node = xmlDocument.SelectSingleNode("/Workbench/RibbonControl/Pages"); if (node == null) { return; } string load = GetAttribute(node, "Load"); if (string.IsNullOrEmpty(load) == false && load.ToUpper().IndexOf("F") > -1) { return; } XmlNodeList xmlNodeListPageItem = node.SelectNodes("PageItem"); if (xmlNodeListPageItem == null) { return; } for (var i = 0; i < xmlNodeListPageItem.Count; i++) { XmlNode xmlNodePageItem = xmlNodeListPageItem.Item(i); RibbonPage ribbonPage = CreateItem(ribbonControl, xmlNodePageItem) as RibbonPage; if (ribbonPage != null) { ribbonControl.Pages.Add(ribbonPage); } } }
private void InitMenu() { foreach (var item in Menus) { RibbonPage ribbonPage = new RibbonPage(); ribbonPage.Name = Groups[item.Key]; ribbonPage.Text = Groups[item.Key]; ribbonControl1.Pages.Add(ribbonPage); RibbonPageGroup ribbonPageGroup = new RibbonPageGroup(); ribbonPageGroup.Text = Groups[item.Key]; ribbonPage.Groups.Add(ribbonPageGroup); foreach (var menu in item.Value) { BarButtonItem menuItem = new BarButtonItem(); menuItem.Name = menu.Key; menuItem.Caption = menu.Key; menuItem.Tag = menu.Value.path; if (!String.IsNullOrEmpty(menu.Value.image_path)) { menuItem.LargeGlyph = DevExpress.Images.ImageResourceCache.Default.GetImage(menu.Value.image_path); menuItem.ImageOptions.Image = DevExpress.Images.ImageResourceCache.Default.GetImage(menu.Value.image_path.Replace("32", "16")); } ribbonPageGroup.ItemLinks.Add(menuItem); menuItem.ItemClick += MenuItem_ItemClick; } } }
/// <summary> /// 添加Page页面的Group分组 /// </summary> /// <param name="rbpage"></param> /// <param name="sParentNode"></param> void AddRibbonGroup(RibbonPage rbpage, string sParentNode) { string _sNode; //获得当前登录用户权限表 DataView _GroupView = new DataView(SystemAuthentication.UserAuthorities); //用于判断Group是否存在子项 DataView _NodeView = new DataView(SystemAuthentication.UserAuthorities); //按照菜单排序进行重新排序 _GroupView.Sort = "MenuOrder ASC"; //获取Group菜单 _GroupView.RowFilter = "MenuLevel = 2 AND ParentMenuID='" + sParentNode + "'"; foreach (DataRowView drv in _GroupView) { _sNode = drv.Row["MenuID"].ToString(); _NodeView.RowFilter = "MenuLevel = 3 AND ParentMenuID ='" + _sNode + "'"; //如果存在子项,则添加Group 不存在不添加 if (_NodeView.Count > 0) { RibbonPageGroup addgp = new RibbonPageGroup(); //菜单显示名称 addgp.Text = drv.Row["MenuText"].ToString(); addgp.Tag = drv.Row["MenuNewID"].ToString(); addgp.Name = drv.Row["MenuName"].ToString(); addgp.MergeOrder = Convertto.ToInt(drv.Row["MenuOrder"]); addgp.ShowCaptionButton = false; AddRibbonItem(addgp, drv.Row["MenuID"].ToString()); rbpage.Groups.Add(addgp); } } //AddNavItem(addgp, drv.Row["MenuID"].ToString()); }
public void RemoveMenuGroup(FrmMenuPage menuPage, FrmMenuGroup menuGroup) { RibbonControl mainMenu = application.MainRibbon; if (MainMenuPages[menuPage.PageName] == null) { return; } if (mainMenu != null) { if (menuPage.Tag is RibbonPage) { RibbonPage _rPage = menuPage.Tag as RibbonPage; RibbonPageGroup _mGroup = null; foreach (RibbonPageGroup _rg in _rPage.Groups) { if (_rg.Name == menuGroup.GroupName) { _mGroup = _rg; break; } } if (_mGroup != null) { _rPage.Groups.Remove(_mGroup); } } else { MessageBox.Show(string.Format("菜单页{0}不存在!", menuPage.PageName)); } } }
public frmEntity() : base() { StartPosition = FormStartPosition.Center; this.Text = "New Entity"; this.Size = new Vector2(545, 374); if (Helper.NotDesktop) { ShowMenu = true; Pages = new TileControl(); } else { Pages = new RibbonControl(); } var page = new RibbonPage("Entity"); page.AddRibbonGroups(new RibbonGroup("Actions", new RibbonButton[] { new RibbonButton("Save") { Icon = Images.x32x32Save }, new RibbonButton("Close") { Icon = Images.x32x32Close, ItemClick = (sender) => { this.Close(); } } })); Pages.AddRibbonPages(page); AppendChild((Control)Pages); }
public static RibbonPage Add(this RibbonPageCollection collection, string text) { var page = new RibbonPage(text); collection.Add(page); return(page); }
void CreateRibbon() { this.barManager = new BarManager(); BarButtonItem staticItem = new BarButtonItem() { Name = "StaticItem", Content = "StaticItem" }; this.barManager.Items.Add(staticItem); this.ribbonControl = new RibbonControl(); this.defaultCategory = new RibbonDefaultPageCategory(); RibbonPage staticPage = new RibbonPage() { Caption = "StaticPage" }; RibbonPageGroup staticItemLinkGroup = new RibbonPageGroup() { Caption = "StaticItemLinkGroup" }; staticItemLinkGroup.ItemLinks.Add(staticItem.CreateLink()); staticPage.Groups.Add(staticItemLinkGroup); this.defaultCategory.Pages.Add(staticPage); this.ribbonControl.Categories.Add(defaultCategory); this.barManager.Child = ribbonControl; this.window.Content = barManager; }
public TreeNode GetMenuRib() { TreeNode anode, anode1, anode2; anode = new TreeNode("Tất cả"); anode.Tag = "menuChucnang"; anode.Name = "menuChucnang"; anode.Text = "Tất cả"; foreach (RibbonPage mi in this.ribbon.Pages) { RibbonPage ribbon = (RibbonPage)(mi); if (this.ribbon.Pages.Count > 0) { anode1 = new TreeNode(ribbon.Text); anode1.Name = ribbon.Name; if (ribbon.Groups != null) { foreach (RibbonPageGroup pagegroup in ribbon.Groups) { anode2 = new TreeNode(pagegroup.Text); anode2.Name = pagegroup.Name; foreach (BarItemLink Item in pagegroup.ItemLinks) { GetPermisonInBarItemLink(anode2, Item); } anode1.Nodes.Add(anode2); } } anode.Nodes.Add(anode1); } } anode.ExpandAll(); return(anode); }
public void UnregisterRibbon(RibbonPage ribbonPage) { if (ribbon.Pages.Contains(ribbonPage)) { ribbon.Pages.Remove(ribbonPage); } }
internal static void Add(WorkItem workItem) { RibbonPage ribbonPage = new RibbonPage(ExtensionSiteNames.RibbonLookAndFeel); workItem.UIExtensionSites[ExtensionSiteNames.Ribbon].Add <RibbonPage>(ribbonPage); workItem.UIExtensionSites.RegisterSite(ExtensionSiteNames.RibbonLookAndFeel, ribbonPage); RibbonPageGroup ribbonGroup = new RibbonPageGroup(ExtensionSiteNames.RibbonSkins); workItem.UIExtensionSites[ExtensionSiteNames.RibbonLookAndFeel].Add <RibbonPageGroup>(ribbonGroup); workItem.UIExtensionSites.RegisterSite(ExtensionSiteNames.RibbonSkins, ribbonGroup); // Next create the Gallery within the Ribbon Group RibbonGalleryBarItem ribbonGallery = new RibbonGalleryBarItem(); ribbonGallery.Caption = ExtensionSiteNames.RibbonSkinGallery; ribbonGallery.Gallery.AllowHoverImages = true; ribbonGallery.Gallery.ColumnCount = 3; //ribbonGallery.Gallery.DistanceBetweenItems = 1; ribbonGallery.Gallery.ImageSize = new Size(imageWidth, imageHeight); ribbonGallery.Gallery.HoverImageSize = new Size(hoverWidth, hoverHeight); workItem.UIExtensionSites[ExtensionSiteNames.RibbonSkins].Add <BarItem>(ribbonGallery); // Pass the WorkItem which added the command into the RibbonGalleryUIAdapter. This allows the command to be fired. workItem.UIExtensionSites.RegisterSite(ExtensionSiteNames.RibbonSkinGallery, new RibbonGalleryDynamicUIAdapter(ribbonGallery, workItem)); // Then create the group within the gallery GalleryItemGroup galleryGroup = new GalleryItemGroup(); galleryGroup.Caption = ExtensionSiteNames.RibbonSkinGalleryGroup; workItem.UIExtensionSites[ExtensionSiteNames.RibbonSkinGallery].Add <GalleryItemGroup>(galleryGroup); workItem.UIExtensionSites.RegisterSite(ExtensionSiteNames.RibbonSkinGalleryGroup, new RibbonGalleryGroupDynamicUIAdapter(galleryGroup)); AddAllMenuItems(workItem); }
/// <summary> /// Get the page index for the page specified within the current collection /// </summary> public int GetItemIndex(RibbonPage page, BarItemLink barItem) { int rtv = 0; int count = 0; foreach (mgDevX_RibbonControlBarItem item in this) { if (item.Page == page) { if (item.BarItemLink == barItem) { rtv = item.PageIndex; break; } else { count++; } } } if (count > 0) { rtv = count; } return(rtv); }
public void SwitchToMenu(string[] addInTreePaths) { this.ribbon.SelectedPageChanged -= new EventHandler(ribbon_SelectedPageChanged); MenuService.SetToolBarsInvisible(this.ribbon.Toolbar.ItemLinks); MenuService.SwitchToMenu(this.ribbon.Pages, this.ribbon.Toolbar.ItemLinks, addInTreePaths); #region 初始化 RibbonPage firstVisiblePage = null; foreach (RibbonPage page in this.ribbon.Pages) { if (page.Visible == true) { firstVisiblePage = page; break; } } if (firstVisiblePage != null) { this.ribbon.SelectedPage = firstVisiblePage; } #endregion if (DFApplication.Application != null && DFApplication.Application.CurrentContent != null && DFApplication.Application.CurrentContent.CurrentRibbonPage != null) { this.ribbon.SelectedPage = DFApplication.Application.CurrentContent.CurrentRibbonPage as RibbonPage; } this.ribbon.SelectedPageChanged += new EventHandler(ribbon_SelectedPageChanged); }
/// <summary> /// 加载 /// </summary> /// <param name="ribbonPage"></param> /// <returns></returns> private string InitialRibbonPageGroup(RibbonPage ribbonPage) { if (ribbonPage == null) { return(string.Format("无父控件")); } string strFid = ribbonPage.Tag.ToString(); DataRow[] pSelectRows = _AppUser.UserRole.RoleFunDt.Select(string.Format("{0}='{1}' and {2}='{3}'", ColumnName.PID, strFid, ColumnName.ControlType, PluginControlType.RibbonPageGroup.ToString())); if (pSelectRows.Length <= 0) { return(string.Format("无权限")); } foreach (DataRow pRow in pSelectRows) { RibbonPageGroup ribbonPageGroup = new RibbonPageGroup(); string FName = pRow[ColumnName.FName].ToString(); ribbonPage.Groups.Add(ribbonPageGroup); if (AllPlugin.dicPlugins.ContainsKey(FName)) { PluginOnCreate(AllPlugin.dicPlugins[FName], _pIAppFrm); } ribbonPageGroup.Name = FName; ribbonPageGroup.Text = pRow[ColumnName.Caption].ToString(); ribbonPageGroup.Tag = pRow[ColumnName.FID]; //初始化PageGroup下的按钮以及其他控件 InitialBarItem(ribbonPageGroup); } return(string.Empty); }
private void InitRibbonPageGroupEnabled(RibbonPage rp, bool enabled) { foreach (RibbonPageGroup item in rp.Groups) { item.Enabled = enabled; } }
/// <summary>Removes the specified page.</summary> /// <param name="PageNumber">Index of the page to remove.</param> public void RemovePage(int PageNumber) { if (curPageIndex != -1) { if (PageNumber < curPageIndex) { --curPageIndex; } else if (PageNumber == curPageIndex) { curPageIndex = -1; } } RibbonPage p = pages[PageNumber]; if (curPageIndex == -1) { pages.RemoveAt(pages.Count - 1); } else { pages.RemoveAt(PageNumber); } OnPageRemoved(new PageEventArgs(p)); }
internal virtual void ShowModule(bool firstShow) { if (OwnerForm == null) { return; } if (AutoMergeRibbon && ChildRibbon != null) { OwnerForm.Ribbon.MergeRibbon(ChildRibbon); RibbonPage page = OwnerForm.Ribbon.Pages.GetPageByText("VIEW"); if (page != null) { OwnerForm.Ribbon.MergedPages.Remove(page); OwnerForm.Ribbon.MergedPages.Insert(OwnerForm.Ribbon.MergedPages.Count, page); } if (ChildRibbonStatusBar != null) { OwnerForm.RibbonStatusBar.MergeStatusBar(ChildRibbonStatusBar); OwnerForm.ShowInfo(false); } } OwnerForm.SaveAsMenuItem.Enabled = SaveAsEnable; OwnerForm.SaveAttachmentMenuItem.Enabled = SaveAttachmentEnable; ShowReminder(); ShowInfo(); OwnerForm.ZoomManager.ZoomFactor = (int)(ZoomFactor * 100); SetZoomCaption(); OwnerForm.EnableZoomControl(AllowZoomControl); OwnerForm.OnModuleShown(this); }
private void addButtonGroupToPage(IButtonGroup buttonGroup, RibbonPage page) { var pageGroup = _ribbonPageGroupMapper.MapFrom(buttonGroup); buttonGroup.Buttons.Each(btn => pageGroup.ItemLinks.Add(_ribbonItemMapper.MapFrom(btn), btn.BeginGroup)); page.Groups.Add(pageGroup); }
private void BuildRibbonMenu(RibbonDefaultPageCategory pageCategory) { pageCategory.Pages.Clear(); List <SysMenuItem> menu = ws.UseService(s => s.GetSysMenuItems("")).OrderBy(c => c.ITEM_SEQ).ToList(); var roots = menu.Where(s => s.PARENT_PKNO == "0").OrderBy(c => c.ITEM_SEQ).ToList(); foreach (var root in roots) //大类,根目录 { RibbonPage ribbonPage = new RibbonPage(); ribbonPage.Caption = root.ITEM_TITLE; List <string> groups = menu.Where(c => c.PARENT_PKNO == root.PKNO).Select(c => c.ITEM_TYPE).Distinct().ToList(); foreach (var group in groups) //增加组 { RibbonPageGroup ribbonGroup = new RibbonPageGroup(); ribbonGroup.Caption = group; var items = menu.Where(c => c.PARENT_PKNO == root.PKNO && c.ITEM_TYPE == group).ToList(); foreach (SysMenuItem item in items) { string path = ""; if (!string.IsNullOrEmpty(item.PAGE_ID)) { string[] count = item.PAGE_ID.Split('.'); path = count.Last(); } BarButtonItem newBtn = new BarButtonItem() { Content = item.ITEM_TITLE, RibbonStyle = RibbonItemStyles.Large, Description = item.PAGE_ID, Tag = item.ASSEMBLY_NAME, // Glyph = new BitmapImage(new Uri(@"dm.png", UriKind.Relative)), LargeGlyph = new BitmapImage(new Uri(@"images/icon/DocumentManageView.png", UriKind.Relative)), BarItemDisplayMode = BarItemDisplayMode.ContentAndGlyph, }; if (path != "") { string sFilePath = @"images/icon/" + path + ".png"; if (File.Exists(sFilePath)) { newBtn.Glyph = new BitmapImage(new Uri(sFilePath, UriKind.Relative)); newBtn.LargeGlyph = new BitmapImage(new Uri(sFilePath, UriKind.Relative)); } } newBtn.ItemClick += MainWindow_ItemClick; ribbonGroup.Items.Add(newBtn); } ribbonPage.Groups.Add(ribbonGroup); } pageCategory.Pages.Add(ribbonPage); } }
RibbonPageGroup AddPageGroup(RibbonPage page, string groupName) { RibbonPageGroup pageGroup = new ActionContainersRibbonPageGroup(groupName); pageGroup.MergeOrder = page.Groups.Count; page.Groups.Add(pageGroup); return(pageGroup); }
public mgDevX_RibbonControlBarItem(RibbonPage page, RibbonPageGroup group, BarItemLink barItemLink) { _page = page; _pageGroup = group; _barItemLink = barItemLink; }
void RemoveButtonFromRibbon() { RibbonControl ribbon = dashboardDesigner.Ribbon; RibbonPage page = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.PiesTools, DashboardRibbonPage.Design); RibbonPageGroup group = page.GetGroupByName(ribonPageGroupName); page.Groups.Remove(group); }
public void RegisterRibbon(RibbonPage ribbonPage) { if (!ribbon.Pages.Contains(ribbonPage) && ribbonPage != null) { ribbon.Pages.Add(ribbonPage); ribbon.SelectedPage = ribbonPage; } }
public void Adapter(RibbonPage ribbonPage) { m_BarItems = new List<BarItem>(); foreach (RibbonPageGroup rpg in ribbonPage.Groups) { BandItemLinks(rpg.ItemLinks, ref m_BarItems); } System.Windows.Forms.Application.Idle += new EventHandler(Application_Idle); }
//B3 // Add cac item vao trong group private void addItemIntoPageGroup(RibbonPage page,DataTable dt, string Caption) { RibbonPageGroup pageGroup = new RibbonPageGroup(); pageGroup.ShowCaptionButton = false; pageGroup.Text = Caption; page.Groups.Add(pageGroup); foreach (DataRow dr in dt.Rows) { string itemID = dr[0] as string; createItem(pageGroup, itemID); } }
/// <summary> /// 创建Page下面的内容 /// </summary> /// <param name="page"></param> /// <param name="pageNode"></param> /// <param name="form"></param> /// <param name="isRun"></param> private static void CreateGroupAndItems(RibbonPage page, XmlNode pageNode) { //每个page对应的插件 //2.pagegroup-item-dropdown foreach (XmlNode groupnode in pageNode.ChildNodes) { RibbonPageGroup group = XMLPageGroup.CreatePageGroup(groupnode); if (group == null) { continue; } page.Groups.Add(group); foreach (XmlNode itemNode in groupnode.ChildNodes) { //先解析此Item,如果标签名是Items,则转换为 XMLItem xmlItem = XMLItem.GetXMLItem(itemNode); CtrlAction ctrlAction = null; if (m_ctrlActions.Keys.Contains(xmlItem.ItemBindClass)) { ctrlAction = m_ctrlActions[xmlItem.ItemBindClass]; } BarItem barItem = XMLItem.GetBarItem(xmlItem, ctrlAction, group.ItemLinks); //下拉菜单 BarButtonItem barButtonItem = barItem as BarButtonItem; if (barButtonItem != null && barButtonItem.ButtonStyle == BarButtonStyle.DropDown) { PopupMenu popup = new PopupMenu(); popup.Ribbon = Ribbon; barButtonItem.DropDownControl = popup; foreach (XmlNode dropItemNode in itemNode.ChildNodes) { XMLItem xmlDropItem = XMLItem.GetXMLItem(dropItemNode); if (m_ctrlActions.Keys.Contains(xmlDropItem.ItemBindClass)) { ctrlAction = m_ctrlActions[xmlDropItem.ItemBindClass]; } BarItem barDropItem = XMLItem.GetBarItem(xmlDropItem, ctrlAction, popup.ItemLinks); } } } } }
//XMLPage xmlpage public static RibbonPage CreatePage(XmlNode xmlNode) { RibbonPage page = new RibbonPage(); if (XMLManager.GetNodeType(xmlNode) != XMLNodeType.Page) { page = null; } else { XMLPage xmlpage = GetXMLPage(xmlNode); page.Text = xmlpage.PageText; bool result = false; if (bool.TryParse(xmlpage.PageVisible, out result)) { page.Visible = result; } } return page; }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager componentResourceManager = new System.ComponentModel.ComponentResourceManager(typeof(TerminalFormIBET3IN1)); this.ribbonControl1 = new RibbonControl(); this.barStaticItem1 = new BarStaticItem(); this.barStaticItem2 = new BarStaticItem(); this.barStaticItem3 = new BarStaticItem(); this.btn3in1betGetInfo = new BarButtonItem(); this.lbl3in1betCurrentCredit = new BarStaticItem(); this.lbl3in1betTotalMatch = new BarStaticItem(); this.lbl3in1betLastUpdate = new BarStaticItem(); this.barStaticItem7 = new BarStaticItem(); this.barStaticItem8 = new BarStaticItem(); this.barStaticItem9 = new BarStaticItem(); this.lblIbetCurrentCredit = new BarStaticItem(); this.lblIbetTotalMatch = new BarStaticItem(); this.lblIbetLastUpdate = new BarStaticItem(); this.btnIbetGetInfo = new BarButtonItem(); this.lblStatus = new BarStaticItem(); this.lblSameMatch = new BarStaticItem(); this.lblLastUpdate = new BarStaticItem(); this.btnStart = new BarButtonItem(); this.btnStop = new BarButtonItem(); this.btnClear = new BarButtonItem(); this.ribbonPage1 = new RibbonPage(); this.rpgIbet = new RibbonPageGroup(); this.rpg3in1bet = new RibbonPageGroup(); this.ribbonPageGroup3 = new RibbonPageGroup(); this.ribbonPageGroup4 = new RibbonPageGroup(); this.splitContainerControl1 = new SplitContainerControl(); this.xtraTabControl1 = new XtraTabControl(); this.xtraTabPage1 = new XtraTabPage(); this.panelControl5 = new PanelControl(); this.webIBET = new WebBrowser(); this.panelControl4 = new PanelControl(); this.btnIBETGO = new SimpleButton(); this.txtIBETAddress = new TextEdit(); this.labelControl5 = new LabelControl(); this.xtraTabPage2 = new XtraTabPage(); this.panelControl3 = new PanelControl(); this.web3IN1BET = new WebBrowser(); this.panelControl2 = new PanelControl(); this.btn3IN1BETGO = new SimpleButton(); this.txt1IN1BETAddress = new TextEdit(); this.labelControl1 = new LabelControl(); this.xtraTabPage3 = new XtraTabPage(); this.xtraTabPage9 = new XtraTabPage(); this.grdSameMatch = new GridControl(); this.gridView1 = new GridView(); this.gridColumn15 = new GridColumn(); this.gridColumn16 = new GridColumn(); this.gridColumn14 = new GridColumn(); this.gridColumn17 = new GridColumn(); this.gridColumn18 = new GridColumn(); this.gridColumn19 = new GridColumn(); this.xtraTabControl2 = new XtraTabControl(); this.xtraTabPage4 = new XtraTabPage(); this.groupControl2 = new GroupControl(); this.txtTransactionTimeSpan = new SpinEdit(); this.labelControl10 = new LabelControl(); this.txtMaxTimePerHalf = new SpinEdit(); this.labelControl7 = new LabelControl(); this.chbAllowHalftime = new CheckEdit(); this.groupControl1 = new GroupControl(); this.btnSetUpdateInterval = new SimpleButton(); this.txt3IN1BETUpdateInterval = new SpinEdit(); this.labelControl3 = new LabelControl(); this.txtIBETUpdateInterval = new SpinEdit(); this.labelControl4 = new LabelControl(); this.groupControl5 = new GroupControl(); this.chbHighRevenueBoost = new CheckEdit(); this.txtLowestOddValue = new SpinEdit(); this.labelControl9 = new LabelControl(); this.txtOddValueDifferenet = new SpinEdit(); this.labelControl8 = new LabelControl(); this.checkEdit9 = new CheckEdit(); this.checkEdit8 = new CheckEdit(); this.checkEdit7 = new CheckEdit(); this.checkEdit6 = new CheckEdit(); this.checkEdit5 = new CheckEdit(); this.checkEdit4 = new CheckEdit(); this.checkEdit3 = new CheckEdit(); this.groupControl4 = new GroupControl(); this.groupControl6 = new GroupControl(); this.txt3in1BETFixedStake = new SpinEdit(); this.labelControl2 = new LabelControl(); this.txtStake = new MemoEdit(); this.chbRandomStake = new CheckEdit(); this.txtIBETFixedStake = new SpinEdit(); this.labelControl6 = new LabelControl(); this.xtraTabPage5 = new XtraTabPage(); this.grdTransaction = new GridControl(); this.gridView2 = new GridView(); this.gridColumn1 = new GridColumn(); this.gridColumn2 = new GridColumn(); this.gridColumn3 = new GridColumn(); this.gridColumn6 = new GridColumn(); this.gridColumn4 = new GridColumn(); this.gridColumn5 = new GridColumn(); this.gridColumn7 = new GridColumn(); this.gridColumn8 = new GridColumn(); this.gridColumn9 = new GridColumn(); this.gridColumn10 = new GridColumn(); this.gridColumn11 = new GridColumn(); this.gridColumn12 = new GridColumn(); this.gridColumn20 = new GridColumn(); this.gridColumn13 = new GridColumn(); this.chkListAllowedMatch = new CheckedListBoxControl(); ((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.xtraTabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)this.panelControl5).BeginInit(); this.panelControl5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)this.panelControl4).BeginInit(); this.panelControl4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)this.txtIBETAddress.Properties).BeginInit(); this.xtraTabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)this.panelControl3).BeginInit(); this.panelControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)this.panelControl2).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)this.txt1IN1BETAddress.Properties).BeginInit(); this.xtraTabPage3.SuspendLayout(); this.xtraTabPage9.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)this.grdSameMatch).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.gridView1).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.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.txt3IN1BETUpdateInterval.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.txtIBETUpdateInterval.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.groupControl5).BeginInit(); this.groupControl5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)this.groupControl6).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chkListAllowedMatch)).BeginInit(); this.groupControl6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)this.chbHighRevenueBoost.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.txtLowestOddValue.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.txtOddValueDifferenet.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.checkEdit9.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.checkEdit8.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.checkEdit7.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.checkEdit6.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.checkEdit5.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.txt3in1BETFixedStake.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.txtStake.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.chbRandomStake.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.txtIBETFixedStake.Properties).BeginInit(); this.xtraTabPage5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)this.grdTransaction).BeginInit(); ((System.ComponentModel.ISupportInitialize)this.gridView2).BeginInit(); base.SuspendLayout(); this.ribbonControl1.ApplicationButtonText = null; this.ribbonControl1.ExpandCollapseItem.Id = 0; this.ribbonControl1.ExpandCollapseItem.Name = string.Empty; this.ribbonControl1.Items.AddRange(new BarItem[] { this.ribbonControl1.ExpandCollapseItem, this.barStaticItem1, this.barStaticItem2, this.barStaticItem3, this.btn3in1betGetInfo, this.lbl3in1betCurrentCredit, this.lbl3in1betTotalMatch, this.lbl3in1betLastUpdate, this.barStaticItem7, this.barStaticItem8, this.barStaticItem9, this.lblIbetCurrentCredit, this.lblIbetTotalMatch, this.lblIbetLastUpdate, this.btnIbetGetInfo, this.lblStatus, this.lblSameMatch, this.lblLastUpdate, this.btnStart, this.btnStop, this.btnClear }); this.ribbonControl1.Location = new System.Drawing.Point(0, 0); this.ribbonControl1.MaxItemId = 22; this.ribbonControl1.Name = "ribbonControl1"; this.ribbonControl1.Pages.AddRange(new RibbonPage[] { this.ribbonPage1 }); this.ribbonControl1.RibbonStyle = RibbonControlStyle.Office2010; this.ribbonControl1.SelectedPage = this.ribbonPage1; this.ribbonControl1.ShowCategoryInCaption = false; this.ribbonControl1.ShowExpandCollapseButton = DefaultBoolean.False; this.ribbonControl1.ShowPageHeadersMode = ShowPageHeadersMode.Hide; this.ribbonControl1.ShowToolbarCustomizeItem = false; this.ribbonControl1.Size = new System.Drawing.Size(999, 123); this.ribbonControl1.Toolbar.ShowCustomizeItem = false; this.barStaticItem1.Caption = "Current Credit:"; this.barStaticItem1.Id = 1; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem2.Caption = "Total Match:"; this.barStaticItem2.Id = 2; this.barStaticItem2.Name = "barStaticItem2"; this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem3.Caption = "Last Update:"; this.barStaticItem3.Id = 3; this.barStaticItem3.Name = "barStaticItem3"; this.barStaticItem3.TextAlignment = System.Drawing.StringAlignment.Near; this.btn3in1betGetInfo.Caption = "Get Info"; this.btn3in1betGetInfo.Id = 4; //Bitmap bmp = (Bitmap)Image.FromFile("C:\\1.jpg"); this.btn3in1betGetInfo.LargeGlyph = iBet.App.Properties.Resources.i8; this.btn3in1betGetInfo.Name = "btn3in1betGetInfo"; this.btn3in1betGetInfo.ItemClick += new ItemClickEventHandler(this.btn3in1betGetInfo_ItemClick); this.lbl3in1betCurrentCredit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); this.lbl3in1betCurrentCredit.Appearance.Options.UseFont = true; this.lbl3in1betCurrentCredit.Caption = "-"; this.lbl3in1betCurrentCredit.Id = 5; this.lbl3in1betCurrentCredit.Name = "lbl3in1betCurrentCredit"; this.lbl3in1betCurrentCredit.TextAlignment = System.Drawing.StringAlignment.Far; this.lbl3in1betCurrentCredit.Width = 135; this.lbl3in1betTotalMatch.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); this.lbl3in1betTotalMatch.Appearance.Options.UseFont = true; this.lbl3in1betTotalMatch.AutoSize = BarStaticItemSize.None; this.lbl3in1betTotalMatch.Caption = "-"; this.lbl3in1betTotalMatch.Id = 6; this.lbl3in1betTotalMatch.Name = "lbl3in1betTotalMatch"; this.lbl3in1betTotalMatch.TextAlignment = System.Drawing.StringAlignment.Far; this.lbl3in1betTotalMatch.Width = 135; this.lbl3in1betLastUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); this.lbl3in1betLastUpdate.Appearance.Options.UseFont = true; this.lbl3in1betLastUpdate.Caption = "-"; this.lbl3in1betLastUpdate.Id = 8; this.lbl3in1betLastUpdate.Name = "lbl3in1betLastUpdate"; this.lbl3in1betLastUpdate.TextAlignment = System.Drawing.StringAlignment.Far; this.lbl3in1betLastUpdate.Width = 135; this.barStaticItem7.Caption = "Current Credit:"; this.barStaticItem7.Id = 9; this.barStaticItem7.Name = "barStaticItem7"; this.barStaticItem7.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem8.Caption = "Total Match:"; this.barStaticItem8.Id = 10; this.barStaticItem8.Name = "barStaticItem8"; this.barStaticItem8.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem9.Caption = "Last Update:"; this.barStaticItem9.Id = 11; this.barStaticItem9.Name = "barStaticItem9"; this.barStaticItem9.TextAlignment = System.Drawing.StringAlignment.Near; this.lblIbetCurrentCredit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 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; this.lblIbetTotalMatch.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 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; this.lblIbetLastUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 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; this.btnIbetGetInfo.Caption = "Get Info"; this.btnIbetGetInfo.Id = 15; this.btnIbetGetInfo.LargeGlyph = iBet.App.Properties.Resources.i8; this.btnIbetGetInfo.Name = "btnIbetGetInfo"; this.btnIbetGetInfo.ItemClick += new ItemClickEventHandler(this.barButtonItem2_ItemClick); this.lblStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 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; 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; this.lblLastUpdate.Caption = "-"; this.lblLastUpdate.Id = 18; this.lblLastUpdate.Name = "lblLastUpdate"; this.lblLastUpdate.TextAlignment = System.Drawing.StringAlignment.Center; this.lblLastUpdate.Width = 135; this.btnStart.Caption = "Start"; this.btnStart.Id = 19; this.btnStart.LargeGlyph = iBet.App.Properties.Resources.i5; this.btnStart.Name = "btnStart"; this.btnStart.ItemClick += new ItemClickEventHandler(this.btnStart_ItemClick); this.btnStart.Enabled = false; this.btnStop.Caption = "Stop"; this.btnStop.Enabled = false; this.btnStop.Id = 20; this.btnStop.LargeGlyph = iBet.App.Properties.Resources.i6; this.btnStop.Name = "btnStop"; this.btnStop.ItemClick += new ItemClickEventHandler(this.btnStop_ItemClick); this.btnClear.Caption = "Clear"; this.btnClear.Enabled = false; this.btnClear.Id = 21; this.btnClear.LargeGlyph = iBet.App.Properties.Resources.i7; this.btnClear.Name = "btnClear"; this.btnClear.ItemClick += new ItemClickEventHandler(this.btnClear_ItemClick); this.ribbonPage1.Groups.AddRange(new RibbonPageGroup[] { this.rpgIbet, this.rpg3in1bet, this.ribbonPageGroup3, this.ribbonPageGroup4 }); this.ribbonPage1.Name = "ribbonPage1"; this.ribbonPage1.Text = "ribbonPage1"; 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"; this.rpg3in1bet.ItemLinks.Add(this.barStaticItem1); this.rpg3in1bet.ItemLinks.Add(this.barStaticItem2); this.rpg3in1bet.ItemLinks.Add(this.barStaticItem3); this.rpg3in1bet.ItemLinks.Add(this.lbl3in1betCurrentCredit); this.rpg3in1bet.ItemLinks.Add(this.lbl3in1betTotalMatch); this.rpg3in1bet.ItemLinks.Add(this.lbl3in1betLastUpdate); this.rpg3in1bet.ItemLinks.Add(this.btn3in1betGetInfo); this.rpg3in1bet.Name = "rpg3in1bet"; this.rpg3in1bet.ShowCaptionButton = false; this.rpg3in1bet.Text = "3IN1BET"; 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"; this.ribbonPageGroup4.ItemLinks.Add(this.btnClear); this.ribbonPageGroup4.Name = "ribbonPageGroup4"; this.ribbonPageGroup4.ShowCaptionButton = false; this.ribbonPageGroup4.Text = "Transaction"; this.splitContainerControl1.Dock = DockStyle.Fill; this.splitContainerControl1.FixedPanel = SplitFixedPanel.Panel2; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 123); 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(999, 575); this.splitContainerControl1.SplitterPosition = 285; this.splitContainerControl1.TabIndex = 1; this.splitContainerControl1.Text = "splitContainerControl1"; this.xtraTabControl1.Dock = 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(999, 302); this.xtraTabControl1.TabIndex = 0; this.xtraTabControl1.TabPages.AddRange(new XtraTabPage[] { this.xtraTabPage1, this.xtraTabPage2, this.xtraTabPage3, this.xtraTabPage9 }); this.xtraTabPage1.Controls.Add(this.panelControl5); this.xtraTabPage1.Controls.Add(this.panelControl4); this.xtraTabPage1.Name = "xtraTabPage1"; this.xtraTabPage1.Size = new System.Drawing.Size(993, 276); this.xtraTabPage1.Text = "IBET"; this.panelControl5.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.panelControl5.Controls.Add(this.webIBET); this.panelControl5.Location = new System.Drawing.Point(3, 38); this.panelControl5.Name = "panelControl5"; this.panelControl5.Size = new System.Drawing.Size(987, 235); this.panelControl5.TabIndex = 3; this.webIBET.Dock = DockStyle.Fill; this.webIBET.Location = new System.Drawing.Point(2, 2); this.webIBET.MinimumSize = new System.Drawing.Size(20, 20); this.webIBET.Name = "webIBET"; this.webIBET.Size = new System.Drawing.Size(983, 231); this.webIBET.TabIndex = 0; this.webIBET.Url = new System.Uri("http://www.ibet888.net", System.UriKind.Absolute); this.webIBET.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(this.webIBET_DocumentCompleted); this.panelControl4.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.panelControl4.Controls.Add(this.btnIBETGO); this.panelControl4.Controls.Add(this.txtIBETAddress); this.panelControl4.Controls.Add(this.labelControl5); this.panelControl4.Location = new System.Drawing.Point(3, 3); this.panelControl4.Name = "panelControl4"; this.panelControl4.Size = new System.Drawing.Size(987, 29); this.panelControl4.TabIndex = 2; this.btnIBETGO.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.btnIBETGO.Location = new System.Drawing.Point(908, 3); this.btnIBETGO.Name = "btnIBETGO"; this.btnIBETGO.Size = new System.Drawing.Size(75, 23); this.btnIBETGO.TabIndex = 8; this.btnIBETGO.Text = "GO"; this.btnIBETGO.Click += new System.EventHandler(this.btnIBETGO_Click); this.txtIBETAddress.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.txtIBETAddress.EditValue = "http://www.ibet888.net"; this.txtIBETAddress.Location = new System.Drawing.Point(54, 6); this.txtIBETAddress.Name = "txtIBETAddress"; this.txtIBETAddress.Size = new System.Drawing.Size(848, 20); this.txtIBETAddress.TabIndex = 7; 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:"; this.xtraTabPage2.Controls.Add(this.panelControl3); this.xtraTabPage2.Controls.Add(this.panelControl2); this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.Size = new System.Drawing.Size(993, 276); this.xtraTabPage2.Text = "3IN1BET"; this.panelControl3.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.panelControl3.Controls.Add(this.web3IN1BET); this.panelControl3.Location = new System.Drawing.Point(3, 38); this.panelControl3.Name = "panelControl3"; this.panelControl3.Size = new System.Drawing.Size(987, 235); this.panelControl3.TabIndex = 6; this.web3IN1BET.Dock = DockStyle.Fill; this.web3IN1BET.Location = new System.Drawing.Point(2, 2); this.web3IN1BET.MinimumSize = new System.Drawing.Size(20, 20); this.web3IN1BET.Name = "web3IN1BET"; this.web3IN1BET.Size = new System.Drawing.Size(983, 231); this.web3IN1BET.TabIndex = 0; this.web3IN1BET.Url = new System.Uri("http://www.3in1bet.com", System.UriKind.Absolute); this.web3IN1BET.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(this.web3IN1BET_DocumentCompleted); this.panelControl2.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.panelControl2.Controls.Add(this.btn3IN1BETGO); this.panelControl2.Controls.Add(this.txt1IN1BETAddress); this.panelControl2.Controls.Add(this.labelControl1); this.panelControl2.Location = new System.Drawing.Point(3, 3); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(987, 29); this.panelControl2.TabIndex = 5; this.btn3IN1BETGO.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.btn3IN1BETGO.Location = new System.Drawing.Point(908, 3); this.btn3IN1BETGO.Name = "btn3IN1BETGO"; this.btn3IN1BETGO.Size = new System.Drawing.Size(75, 23); this.btn3IN1BETGO.TabIndex = 5; this.btn3IN1BETGO.Text = "GO"; this.btn3IN1BETGO.Click += new System.EventHandler(this.btn3IN1BETGO_Click); this.txt1IN1BETAddress.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); //this.txt1IN1BETAddress.EditValue = "http://www.secureiron.com"; day this.txt1IN1BETAddress.EditValue = "http://www.3in1bet.com"; this.txt1IN1BETAddress.Location = new System.Drawing.Point(54, 6); this.txt1IN1BETAddress.Name = "txt1IN1BETAddress"; this.txt1IN1BETAddress.Size = new System.Drawing.Size(848, 20); this.txt1IN1BETAddress.TabIndex = 4; this.labelControl1.Location = new System.Drawing.Point(5, 9); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(43, 13); this.labelControl1.TabIndex = 3; this.labelControl1.Text = "Address:"; this.xtraTabPage9.Name = "xtraTabPage9"; this.xtraTabPage9.Size = new System.Drawing.Size(993, 276); this.xtraTabPage9.Text = "ibet Test"; //this.xtraTabPage9.Controls.Add(this.grdSameMatch); this.xtraTabPage3.Controls.Add(this.grdSameMatch); this.xtraTabPage3.Name = "xtraTabPage3"; this.xtraTabPage3.Size = new System.Drawing.Size(993, 276); this.xtraTabPage3.Text = "Live Match"; this.grdSameMatch.Dock = 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(993, 276); this.grdSameMatch.TabIndex = 3; this.grdSameMatch.ViewCollection.AddRange(new BaseView[] { this.gridView1 }); this.gridView1.Columns.AddRange(new GridColumn[] { this.gridColumn15, this.gridColumn16, this.gridColumn14, this.gridColumn17, this.gridColumn18, this.gridColumn19 }); 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 GridColumnSortInfo[] { new GridColumnSortInfo(this.gridColumn18, ColumnSortOrder.Ascending) }); 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; 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; 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 = 2; this.gridColumn14.Width = 70; this.gridColumn17.Caption = "Half"; this.gridColumn17.FieldName = "Half"; this.gridColumn17.Name = "gridColumn17"; this.gridColumn17.OptionsColumn.FixedWidth = true; this.gridColumn17.Visible = true; this.gridColumn17.VisibleIndex = 3; this.gridColumn17.Width = 60; this.gridColumn18.Caption = "Minute"; this.gridColumn18.FieldName = "Minute"; this.gridColumn18.Name = "gridColumn18"; this.gridColumn18.OptionsColumn.FixedWidth = true; this.gridColumn18.SortMode = ColumnSortMode.Value; this.gridColumn18.Visible = true; this.gridColumn18.VisibleIndex = 4; this.gridColumn18.Width = 60; this.gridColumn19.Caption = "Half Time"; this.gridColumn19.FieldName = "IsHalfTime"; this.gridColumn19.Name = "gridColumn19"; this.gridColumn19.OptionsColumn.FixedWidth = true; this.gridColumn19.UnboundType = UnboundColumnType.Boolean; this.gridColumn19.Visible = true; this.gridColumn19.VisibleIndex = 5; this.gridColumn19.Width = 60; this.xtraTabControl2.Dock = 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(999, 248); this.xtraTabControl2.TabIndex = 1; this.xtraTabControl2.TabPages.AddRange(new XtraTabPage[] { this.xtraTabPage4, this.xtraTabPage5 }); 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(993, 222); this.xtraTabPage4.Text = "Settings"; this.groupControl2.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left); 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, 212); this.groupControl2.TabIndex = 14; this.groupControl2.Text = "Time Settings"; this.txtTransactionTimeSpan.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); BaseEdit arg_22D6_0 = this.txtTransactionTimeSpan; int[] array = new int[4]; array[0] = 15; arg_22D6_0.EditValue = new decimal(array); this.txtTransactionTimeSpan.Location = new System.Drawing.Point(123, 80); this.txtTransactionTimeSpan.Name = "txtTransactionTimeSpan"; this.txtTransactionTimeSpan.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton() }); this.txtTransactionTimeSpan.Properties.IsFloatValue = false; this.txtTransactionTimeSpan.Properties.Mask.EditMask = "N00"; RepositoryItemSpinEdit arg_2378_0 = this.txtTransactionTimeSpan.Properties; array = new int[4]; array[0] = 20; arg_2378_0.MaxValue = new decimal(array); RepositoryItemSpinEdit arg_239D_0 = this.txtTransactionTimeSpan.Properties; array = new int[4]; array[0] = 5; arg_239D_0.MinValue = new decimal(array); this.txtTransactionTimeSpan.Size = new System.Drawing.Size(72, 20); this.txtTransactionTimeSpan.TabIndex = 9; 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:"; this.txtMaxTimePerHalf.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); BaseEdit arg_244C_0 = this.txtMaxTimePerHalf; array = new int[4]; array[0] = 40; arg_244C_0.EditValue = new decimal(array); this.txtMaxTimePerHalf.Location = new System.Drawing.Point(123, 50); this.txtMaxTimePerHalf.Name = "txtMaxTimePerHalf"; this.txtMaxTimePerHalf.Properties.Buttons.AddRange(new EditorButton[] { new 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; 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:"; this.chbAllowHalftime.Anchor = (AnchorStyles.Top | AnchorStyles.Left | 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(190, 19); this.chbAllowHalftime.TabIndex = 5; this.groupControl1.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left); this.groupControl1.Controls.Add(this.btnSetUpdateInterval); this.groupControl1.Controls.Add(this.txt3IN1BETUpdateInterval); 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, 212); this.groupControl1.TabIndex = 13; this.groupControl1.Text = "Data Settings"; 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); this.txt3IN1BETUpdateInterval.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); BaseEdit arg_274B_0 = this.txt3IN1BETUpdateInterval; array = new int[4]; array[0] = 8; arg_274B_0.EditValue = new decimal(array); this.txt3IN1BETUpdateInterval.Location = new System.Drawing.Point(132, 51); this.txt3IN1BETUpdateInterval.Name = "txt3IN1BETUpdateInterval"; this.txt3IN1BETUpdateInterval.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton() }); this.txt3IN1BETUpdateInterval.Properties.IsFloatValue = false; this.txt3IN1BETUpdateInterval.Properties.Mask.EditMask = "N00"; this.txt3IN1BETUpdateInterval.Size = new System.Drawing.Size(63, 20); this.txt3IN1BETUpdateInterval.TabIndex = 5; this.txt3IN1BETUpdateInterval.EditValueChanged += new System.EventHandler(this.txt3IN1BETUpdateInterval_EditValueChanged); 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 = "3IN1BET Update Interval:"; this.txtIBETUpdateInterval.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); BaseEdit arg_288F_0 = this.txtIBETUpdateInterval; array = new int[4]; array[0] = 8; arg_288F_0.EditValue = new decimal(array); this.txtIBETUpdateInterval.Location = new System.Drawing.Point(132, 25); this.txtIBETUpdateInterval.Name = "txtIBETUpdateInterval"; this.txtIBETUpdateInterval.Properties.Buttons.AddRange(new EditorButton[] { new 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); 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:"; this.groupControl5.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left); this.groupControl5.Controls.Add(this.chbHighRevenueBoost); this.groupControl5.Controls.Add(this.txtLowestOddValue); this.groupControl5.Controls.Add(this.labelControl9); this.groupControl5.Controls.Add(this.txtOddValueDifferenet); this.groupControl5.Controls.Add(this.labelControl8); this.groupControl5.Controls.Add(this.checkEdit9); this.groupControl5.Controls.Add(this.checkEdit8); this.groupControl5.Controls.Add(this.checkEdit7); this.groupControl5.Controls.Add(this.checkEdit6); this.groupControl5.Controls.Add(this.checkEdit5); 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, 212); this.groupControl5.TabIndex = 13; this.groupControl5.Text = "Trading Settings"; this.chbHighRevenueBoost.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.chbHighRevenueBoost.Location = new System.Drawing.Point(5, 203); this.chbHighRevenueBoost.Name = "chbHighRevenueBoost"; this.chbHighRevenueBoost.Properties.Caption = "High Revenue Boost"; this.chbHighRevenueBoost.Size = new System.Drawing.Size(190, 19); this.chbHighRevenueBoost.TabIndex = 13; this.txtLowestOddValue.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.txtLowestOddValue.EditValue = new decimal(new int[] { 5, 0, 0, 65536 }); this.txtLowestOddValue.Location = new System.Drawing.Point(110, 178); this.txtLowestOddValue.Name = "txtLowestOddValue"; this.txtLowestOddValue.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton() }); this.txtLowestOddValue.Properties.Increment = new decimal(new int[] { 1, 0, 0, 65536 }); RepositoryItemSpinEdit arg_2C2D_0 = this.txtLowestOddValue.Properties; array = new int[4]; array[0] = 1; arg_2C2D_0.MaxValue = new decimal(array); 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; this.labelControl9.Location = new System.Drawing.Point(5, 181); this.labelControl9.Name = "labelControl9"; this.labelControl9.Size = new System.Drawing.Size(90, 13); this.labelControl9.TabIndex = 11; this.labelControl9.Text = "Lowest Odd Value:"; this.txtOddValueDifferenet.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.txtOddValueDifferenet.EditValue = new decimal(new int[] { 2, 0, 0, -2147352576 }); this.txtOddValueDifferenet.Location = new System.Drawing.Point(110, 153); this.txtOddValueDifferenet.Name = "txtOddValueDifferenet"; this.txtOddValueDifferenet.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton() }); this.txtOddValueDifferenet.Properties.Increment = new decimal(new int[] { 1, 0, 0, -2147352576 }); this.txtOddValueDifferenet.Properties.MinValue = new decimal(new int[] { 2, //cho nay 0, 0, -2147352576 }); this.txtOddValueDifferenet.Size = new System.Drawing.Size(85, 20); this.txtOddValueDifferenet.TabIndex = 10; this.labelControl8.Location = new System.Drawing.Point(5, 156); this.labelControl8.Name = "labelControl8"; this.labelControl8.Size = new System.Drawing.Size(99, 13); this.labelControl8.TabIndex = 9; this.labelControl8.Text = "Odd Value Different:"; this.checkEdit6.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.checkEdit6.EditValue = true; this.checkEdit6.Enabled = false; this.checkEdit6.Location = new System.Drawing.Point(5, 101); this.checkEdit6.Name = "checkEdit6"; this.checkEdit6.Properties.Caption = "Non-Live"; this.checkEdit6.Size = new System.Drawing.Size(190, 19); this.checkEdit6.TabIndex = 8; this.checkEdit5.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.checkEdit5.EditValue = true; this.checkEdit5.Enabled = false; this.checkEdit5.Location = new System.Drawing.Point(5, 76); this.checkEdit5.Name = "checkEdit5"; this.checkEdit5.Properties.Caption = "Live"; this.checkEdit5.Size = new System.Drawing.Size(190, 19); this.checkEdit5.TabIndex = 7; this.checkEdit4.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.checkEdit4.EditValue = true; this.checkEdit4.Enabled = true; this.checkEdit4.Location = new System.Drawing.Point(5, 51); this.checkEdit4.Name = "checkEdit4"; this.checkEdit4.Properties.Caption = "Allow Over/Under"; this.checkEdit4.Size = new System.Drawing.Size(190, 19); this.checkEdit4.TabIndex = 6; this.checkEdit3.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.checkEdit3.EditValue = true; this.checkEdit3.Enabled = true; this.checkEdit3.Location = new System.Drawing.Point(5, 26); this.checkEdit3.Name = "checkEdit3"; this.checkEdit3.Properties.Caption = "Allow Handicap"; this.checkEdit3.Size = new System.Drawing.Size(190, 19); this.checkEdit3.TabIndex = 5; this.checkEdit7.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.checkEdit7.EditValue = true; this.checkEdit7.Enabled = true; this.checkEdit7.Location = new System.Drawing.Point(5, 126); this.checkEdit7.Name = "checkEdit7"; this.checkEdit7.Properties.Caption = "Allow x.5 Over/Under from min 30"; this.checkEdit7.Size = new System.Drawing.Size(190, 19); this.checkEdit7.TabIndex = 9; this.checkEdit8.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.checkEdit8.EditValue = false; this.checkEdit8.Enabled = true; this.checkEdit8.Location = new System.Drawing.Point(5, 228); this.checkEdit8.Name = "checkEdit8"; this.checkEdit8.Properties.Caption = "Check credit before bet"; this.checkEdit8.Size = new System.Drawing.Size(190, 19); this.checkEdit8.TabIndex = 14; this.checkEdit9.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.checkEdit9.EditValue = false; this.checkEdit9.Enabled = true; this.checkEdit9.Location = new System.Drawing.Point(5, 252); this.checkEdit9.Name = "checkEdit9"; this.checkEdit9.Properties.Caption = "Play sound"; this.checkEdit9.Size = new System.Drawing.Size(190, 19); this.checkEdit9.TabIndex = 14; this.groupControl4.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left); this.groupControl4.Controls.Add(this.txt3in1BETFixedStake); 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, 212); this.groupControl4.TabIndex = 12; this.groupControl4.Text = "Stake Settings"; this.txt3in1BETFixedStake.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); BaseEdit arg_31A4_0 = this.txt3in1BETFixedStake; array = new int[4]; array[0] = 10; arg_31A4_0.EditValue = new decimal(array); this.txt3in1BETFixedStake.Location = new System.Drawing.Point(112, 51); this.txt3in1BETFixedStake.Name = "txt3in1BETFixedStake"; this.txt3in1BETFixedStake.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton() }); this.txt3in1BETFixedStake.Properties.IsFloatValue = false; this.txt3in1BETFixedStake.Properties.Mask.EditMask = "N00"; this.txt3in1BETFixedStake.Size = new System.Drawing.Size(83, 20); this.txt3in1BETFixedStake.TabIndex = 5; 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 = "3IN1BET Fixed Stake:"; this.txtStake.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.txtStake.EditValue = "10\r\n15\r\n25\r\n35\r\n50\r\n30\r\n20\r\n30"; this.txtStake.Location = new System.Drawing.Point(5, 103); this.txtStake.Name = "txtStake"; this.txtStake.Size = new System.Drawing.Size(190, 104); this.txtStake.TabIndex = 3; this.chbRandomStake.Anchor = (AnchorStyles.Top | AnchorStyles.Left | 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); this.txtIBETFixedStake.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); BaseEdit arg_33D2_0 = this.txtIBETFixedStake; array = new int[4]; array[0] = 15; arg_33D2_0.EditValue = new decimal(array); this.txtIBETFixedStake.Location = new System.Drawing.Point(112, 25); this.txtIBETFixedStake.Name = "txtIBETFixedStake"; this.txtIBETFixedStake.Properties.Buttons.AddRange(new EditorButton[] { new 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; 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:"; #region group6 this.groupControl6.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left); this.groupControl6.Controls.Add(this.chkListAllowedMatch); this.groupControl6.Location = new System.Drawing.Point(825, 3); this.groupControl6.Name = "groupControl6"; this.groupControl6.Size = new System.Drawing.Size(295, 212); this.groupControl6.TabIndex = 19; this.groupControl6.Text = "Allowed Betting Matches"; //this.groupControl6.Resize 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.Dock = DockStyle.Fill; 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, 182); this.chkListAllowedMatch.TabIndex = 20; //this.chkListAllowedMatch.ItemCheck += new ItemCheckedEventHandler (this.chkListAllowedMatch_ItemCheck); #endregion this.xtraTabPage5.Controls.Add(this.grdTransaction); this.xtraTabPage5.Name = "xtraTabPage5"; this.xtraTabPage5.Size = new System.Drawing.Size(993, 222); this.xtraTabPage5.Text = "Live Transaction"; this.grdTransaction.Dock = 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(993, 222); this.grdTransaction.TabIndex = 3; this.grdTransaction.ViewCollection.AddRange(new BaseView[] { this.gridView2 }); this.gridView2.Columns.AddRange(new 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 GridColumnSortInfo[] { new GridColumnSortInfo(this.gridColumn13, ColumnSortOrder.Descending) }); this.gridColumn1.Caption = "ID"; this.gridColumn1.DisplayFormat.FormatType = FormatType.Numeric; this.gridColumn1.FieldName = "ID"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsColumn.FixedWidth = true; this.gridColumn1.UnboundType = UnboundColumnType.Integer; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 50; this.gridColumn2.Caption = "Home Team"; this.gridColumn2.FieldName = "HomeTeamName"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.UnboundType = UnboundColumnType.String; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; this.gridColumn2.Width = 20; this.gridColumn3.Caption = "Away Team"; this.gridColumn3.FieldName = "AwayTeamName"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.UnboundType = UnboundColumnType.String; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 2; this.gridColumn3.Width = 20; this.gridColumn6.Caption = "Type"; this.gridColumn6.FieldName = "OddType"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.OptionsColumn.FixedWidth = true; this.gridColumn6.UnboundType = UnboundColumnType.String; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 3; this.gridColumn6.Width = 180; this.gridColumn4.Caption = "Odd"; this.gridColumn4.FieldName = "OddKindValue"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.OptionsColumn.FixedWidth = true; this.gridColumn4.UnboundType = UnboundColumnType.String; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 4; this.gridColumn5.Caption = "Value"; this.gridColumn5.FieldName = "OddValue"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.OptionsColumn.FixedWidth = true; this.gridColumn5.UnboundType = UnboundColumnType.String; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 5; this.gridColumn5.Width = 80; this.gridColumn7.Caption = "Stake"; this.gridColumn7.FieldName = "Stake"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.OptionsColumn.FixedWidth = true; this.gridColumn7.UnboundType = UnboundColumnType.String; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 6; this.gridColumn7.Width = 100; this.gridColumn8.Caption = "I Allow"; this.gridColumn8.FieldName = "IBETAllow"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.OptionsColumn.FixedWidth = true; this.gridColumn8.UnboundType = UnboundColumnType.Boolean; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 7; this.gridColumn8.Width = 50; this.gridColumn9.Caption = "3 Allow"; this.gridColumn9.FieldName = "THREEIN1Allow"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.OptionsColumn.FixedWidth = true; this.gridColumn9.UnboundType = UnboundColumnType.Boolean; this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 8; this.gridColumn9.Width = 50; this.gridColumn10.Caption = "I Trade"; this.gridColumn10.FieldName = "IBETTrade"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.OptionsColumn.FixedWidth = true; this.gridColumn10.UnboundType = UnboundColumnType.Boolean; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 9; this.gridColumn10.Width = 50; this.gridColumn11.Caption = "3 Trade"; this.gridColumn11.FieldName = "THREEIN1Trade"; this.gridColumn11.Name = "gridColumn11"; this.gridColumn11.OptionsColumn.FixedWidth = true; this.gridColumn11.UnboundType = UnboundColumnType.Boolean; this.gridColumn11.Visible = true; this.gridColumn11.VisibleIndex = 10; this.gridColumn11.Width = 50; this.gridColumn12.Caption = "3 Retrade"; this.gridColumn12.FieldName = "THREEIN1ReTrade"; this.gridColumn12.Name = "gridColumn12"; this.gridColumn12.OptionsColumn.FixedWidth = true; this.gridColumn12.UnboundType = UnboundColumnType.Boolean; this.gridColumn12.Visible = true; this.gridColumn12.VisibleIndex = 11; this.gridColumn12.Width = 50; this.gridColumn20.Caption = "I Retrade"; this.gridColumn20.FieldName = "IBETReTrade"; this.gridColumn20.Name = "gridColumn20"; this.gridColumn20.OptionsColumn.FixedWidth = true; this.gridColumn20.UnboundType = UnboundColumnType.Boolean; this.gridColumn20.Visible = true; this.gridColumn20.VisibleIndex = 12; this.gridColumn20.Width = 50; this.gridColumn13.Caption = "DateTime"; this.gridColumn13.DisplayFormat.FormatString = "dd/MM/yyyy hh:mm:ss"; this.gridColumn13.DisplayFormat.FormatType = FormatType.DateTime; this.gridColumn13.FieldName = "DateTime"; this.gridColumn13.Name = "gridColumn13"; this.gridColumn13.OptionsColumn.FixedWidth = true; this.gridColumn13.SortMode = ColumnSortMode.Value; this.gridColumn13.SummaryItem.SummaryType = SummaryItemType.Count; this.gridColumn13.UnboundType = UnboundColumnType.DateTime; this.gridColumn13.Visible = true; this.gridColumn13.VisibleIndex = 13; this.gridColumn13.Width = 130; base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(1130, 678); base.Controls.Add(this.splitContainerControl1); base.Controls.Add(this.ribbonControl1); /// base.Icon = (System.Drawing.Icon)componentResourceManager.GetObject("$this.Icon"); base.Name = "TerminalForm"; this.Ribbon = this.ribbonControl1; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "IBET vs 3IN1BET"; ((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.xtraTabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)this.panelControl5).EndInit(); this.panelControl5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)this.panelControl4).EndInit(); this.panelControl4.ResumeLayout(false); this.panelControl4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)this.txtIBETAddress.Properties).EndInit(); this.xtraTabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)this.panelControl3).EndInit(); this.panelControl3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)this.panelControl2).EndInit(); this.panelControl2.ResumeLayout(false); this.panelControl2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)this.txt1IN1BETAddress.Properties).EndInit(); this.xtraTabPage9.ResumeLayout(false); this.xtraTabPage3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)this.grdSameMatch).EndInit(); ((System.ComponentModel.ISupportInitialize)this.gridView1).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.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.txt3IN1BETUpdateInterval.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.txtLowestOddValue.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)this.txtOddValueDifferenet.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)this.checkEdit9.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)this.checkEdit8.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)this.checkEdit7.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)this.checkEdit6.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)this.checkEdit5.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.chkListAllowedMatch).EndInit(); ((System.ComponentModel.ISupportInitialize)this.groupControl6).EndInit(); this.groupControl6.ResumeLayout(false); this.groupControl6.PerformLayout(); ((System.ComponentModel.ISupportInitialize)this.txt3in1BETFixedStake.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)this.txtStake.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)this.chbRandomStake.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)this.txtIBETFixedStake.Properties).EndInit(); this.xtraTabPage5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)this.grdTransaction).EndInit(); ((System.ComponentModel.ISupportInitialize)this.gridView2).EndInit(); Icon icoMain = Properties.Resources._1; this.Icon = icoMain; base.ResumeLayout(false); }
//B1 private void drawMenuBar() { ribbonControl = ((frmRibbonMain)this.mainForm).RibbonCtrl; ribbonControl.ToolbarLocation = RibbonQuickAccessToolbarLocation.Default; if (ribbonControl.RibbonStyle == RibbonControlStyle.Office2010) { ribbonControl.ApplicationIcon = (System.Drawing.Bitmap)FWImageDic.LOGO_IMAGE16; } else { ribbonControl.ApplicationIcon = (System.Drawing.Bitmap)FWImageDic.LOGO_IMAGE48; } //ribbonControl.ApplicationCaption = "www.protocolvn.com"; ribbonControl.ApplicationCaption = HelpApplication.getProductName(); bool isMergeGUIAndHP = false; foreach (DataRow dr in ds.Tables[0].Select("Parents='1'")) { string strMenuID = dr[0].ToString(); if (strMenuID.Equals("WINDOW")) { //Không xử lý //RibbonPage page = new RibbonPage(); //page.Text = getName(strMenuID); //ribbonControl.Pages.Add(page); //createGroup(page, strMenuID); } else { if (FrameworkParams.UsingGallerySkins && FrameworkParams.UsingHomePage & isMergeGUIAndHP == false) { RibbonPage page = ribbonControl.Pages[0]; page.Text = getName(strMenuID); createGroup(page, strMenuID); isMergeGUIAndHP = true; } else { RibbonPage page = new RibbonPage(); page.Text = getName(strMenuID); ribbonControl.Pages.Add(page); createGroup(page, strMenuID); } } } }
/// <summary>Returns the index of the specified page.</summary> /// <param name="Page">The page whose index must be returned.</param> /// <returns>The RibbonPage.</returns> public int RibbonPageNum(RibbonPage Page) { // Since it is unlikely that the widget will containe more than // a dozen pages, it is just fine to do a linear search. for(int i = 0, i_up = pages.Count ; i < i_up ; ++i) if(pages[i] == Page) return i; return -1; }
/// <summary>Selects the specified page.</summary> /// <param name="Page">The page to select.</param> public void SelectRibbonPage(RibbonPage page) { int idx = RibbonPageNum (page); if(idx != -1) CurrentPageIndex = idx; OnPageSelected (new PageEventArgs (page)); }
RibbonPage AddPage(RibbonControl ribbon, string pageName) { var page = new RibbonPage(pageName) { Name = pageName }; ribbon.Pages.Add(page); return page; }
/// <summary>Adds a new page at the specified position.</summary> /// <param name="Child">The widget to use as the content of the page.</param> /// <param name="Label">The widget to use as the tab.</param> /// <param name="Position">The index (starting at 0) at which the page must be inserted, or -1 to insert the page after all existing pages.</param> public void InsertPage(Widget Child, Widget Label, int Position) { RibbonPage p = new RibbonPage (this, Child, Label); if(Position == -1) { pages.Add (p); } else { pages.Insert (Position, p); if(curPageIndex != -1) { if(Position <= curPageIndex) ++curPageIndex; } } if(pages.Count == 1) { CurrentPageIndex = 0; } else { Label.ModifyFg (StateType.Normal, theme.GetForecolorForRibbonTabs (false)); } Label.ButtonPressEvent += delegate (object sender, ButtonPressEventArgs evnt) { this.SelectRibbonPage (p); }; Label.EnterNotifyEvent += delegate (object sender, EnterNotifyEventArgs evnt) { }; Label.LeaveNotifyEvent += delegate (object sender, LeaveNotifyEventArgs evnt) { }; OnPageAdded (new PageEventArgs (p)); for(int idx = Position + 1 ; idx < pages.Count ; ++idx) { OnPageSelected (new PageEventArgs (pages[idx])); } }
void HideAppointmentCategory() { if (appointmentCategory == null) return; appointmentCategory.Visible = false; if (lastSelectedPage != null) { ribbon.SelectedPage = lastSelectedPage; lastSelectedPage = null; } }
/// <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 static RibbonPage GetRibbonPage(RibbonPageGroup[] groups, string caption) { var page = new RibbonPage(caption); page.Groups.AddRange(groups); return page; }
RibbonPageGroup AddPageGroup(RibbonPage page, string groupName) { RibbonPageGroup pageGroup = new ActionContainersRibbonPageGroup(groupName); pageGroup.MergeOrder = page.Groups.Count; page.Groups.Add(pageGroup); return pageGroup; }
void CargarMenuPadre(int IdModulo) { ListMenuPadre = oMenuModulos.ConsultaMenuModulo(IdModulo,IdEmpresa,Usuario,Contrasena); var Carpetas = ListMenuPadre.FindAll(var => var.IdPadre == null || var.IdPadre == 0); ribbonControl1.Pages.Clear(); foreach (var item in Carpetas) { RibbonPage ribbonPage = new RibbonPage(item.Descripcion); ribbonControl1.Pages.Add(ribbonPage); var Botones = ListMenuPadre.FindAll(var => var.IdPadre == item.IdMenu); foreach (var Pantalla in Botones) { RibbonPageGroup ribbonPageGroup = new RibbonPageGroup(); ribbonPage.Groups.Add(ribbonPageGroup); BarButtonItem barButtonItem = new BarButtonItem(); barButtonItem.Caption = Pantalla.Descripcion; ribbonPageGroup.ItemLinks.Add(barButtonItem); barButtonItem.ItemClick += new ItemClickEventHandler(barButtonItem_ItemClick); } } }
void ShowAppointmentCategory() { if (this.appointmentCategory == null) return; if (this.lastSelectedPage == null) this.lastSelectedPage = this.ribbon.SelectedPage; this.appointmentCategory.Visible = true; this.ribbon.SelectedPage = GetFirstVisiblePage(this.appointmentCategory); }
void HideAppointmentCategory() { if (this.appointmentCategory == null) return; this.appointmentCategory.Visible = false; if (this.lastSelectedPage != null) { this.ribbon.SelectedPage = this.lastSelectedPage; this.lastSelectedPage = null; } }
public static RibbonPage GetSimplePage(List<BarButtonItem> buttons, string caption) { var group = GetRibbonGroup(buttons); var page = new RibbonPage(caption); page.Groups.Add(group); return page; }
public static RibbonPage Add(this RibbonPageCollection collection, string text) { var page = new RibbonPage(text); collection.Add(page); return page; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm)); this.barDockMgr = new DevExpress.XtraBars.BarAndDockingController(this.components); this.dockMgr = new DevExpress.XtraBars.Docking.DockManager(); this.pnlCountersTree = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.cmdNewTab = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem2 = new DevExpress.XtraBars.BarSubItem(); this.lsttopToolbarImages = new DevExpress.Utils.ImageCollection(this.components); this.tabsMgr = new DevExpress.XtraTabbedMdi.XtraTabbedMdiManager(this.components); this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components); this.imgRibbon = new DevExpress.Utils.ImageCollection(this.components); this.bar4 = new DevExpress.XtraBars.Bar(); this.ribbonMain = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup(); this.chkPanelCounters = new DevExpress.XtraBars.BarCheckItem(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.cmdScaleUp = new DevExpress.XtraBars.BarButtonItem(); this.cmdScaleDown = new DevExpress.XtraBars.BarButtonItem(); this.cmdAddCounters = new DevExpress.XtraBars.BarButtonItem(); this.cmdCreateRootNode = new DevExpress.XtraBars.BarButtonItem(); this.cmdCreateChildNode = new DevExpress.XtraBars.BarButtonItem(); this.cmdRemoveNode = new DevExpress.XtraBars.BarButtonItem(); this.cmdCreateFolderFromActiveMonitor = new DevExpress.XtraBars.BarButtonItem(); this.cmdSaveCountersToCurrentFolder = new DevExpress.XtraBars.BarButtonItem(); this.cmdSetCounterMachineNames = new DevExpress.XtraBars.BarButtonItem(); this.cmdAddNodeToNewTab = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem13 = new DevExpress.XtraBars.BarButtonItem(); this.chkTextReport = new DevExpress.XtraBars.BarCheckItem(); this.chkShowToolbar = new DevExpress.XtraBars.BarCheckItem(); this.chkLegend = new DevExpress.XtraBars.BarCheckItem(); this.chkShowVGrid = new DevExpress.XtraBars.BarCheckItem(); this.chkShowHGrid = new DevExpress.XtraBars.BarCheckItem(); this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem(); this.cmdRenameFolder = new DevExpress.XtraBars.BarButtonItem(); this.cmdRenameTab = new DevExpress.XtraBars.BarButtonItem(); this.barButtonGroup2 = new DevExpress.XtraBars.BarButtonGroup(); this.cmdImport = new DevExpress.XtraBars.BarButtonItem(); this.cmdExport = new DevExpress.XtraBars.BarButtonItem(); this.barButtonGroup3 = new DevExpress.XtraBars.BarButtonGroup(); this.barButtonGroup4 = new DevExpress.XtraBars.BarButtonGroup(); this.barButtonGroup5 = new DevExpress.XtraBars.BarButtonGroup(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem(); this.lblVersionCaption = new DevExpress.XtraBars.BarStaticItem(); this.lblVersion = new DevExpress.XtraBars.BarStaticItem(); this.cmdCloseTab = new DevExpress.XtraBars.BarButtonItem(); this.cmdSetInstanceName = new DevExpress.XtraBars.BarButtonItem(); this.ribPageGeneral = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup16 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribPageActiveMonitor = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup6 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup15 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribPageLibFolder = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup7 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup12 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup10 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup11 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribPageLibCounter = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup13 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup14 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup17 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup18 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup19 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup20 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.ribbonPageGroup8 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup9 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.popupMenu2 = new DevExpress.XtraBars.PopupMenu(this.components); this.popupMenu3 = new DevExpress.XtraBars.PopupMenu(this.components); this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components); ((System.ComponentModel.ISupportInitialize)(this.barDockMgr)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dockMgr)).BeginInit(); this.pnlCountersTree.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lsttopToolbarImages)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabsMgr)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgRibbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu3)).BeginInit(); this.SuspendLayout(); // // barDockMgr // this.barDockMgr.AppearancesRibbon.PageHeader.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.barDockMgr.AppearancesRibbon.PageHeader.BackColor2 = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(192))); this.barDockMgr.AppearancesRibbon.PageHeader.Options.UseBackColor = true; this.barDockMgr.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat; this.barDockMgr.PaintStyleName = "Skin"; this.barDockMgr.PropertiesBar.AllowLinkLighting = false; // // dockMgr // this.dockMgr.Controller = this.barDockMgr; this.dockMgr.Form = this; this.dockMgr.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.pnlCountersTree}); this.dockMgr.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl"}); // // pnlCountersTree // this.pnlCountersTree.Controls.Add(this.dockPanel1_Container); this.pnlCountersTree.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; this.pnlCountersTree.ID = new System.Guid("67d03641-787f-4ee4-abc7-e67c35e02bd4"); this.pnlCountersTree.Location = new System.Drawing.Point(0, 144); this.pnlCountersTree.Name = "pnlCountersTree"; this.pnlCountersTree.Size = new System.Drawing.Size(206, 326); this.pnlCountersTree.Text = "Counter Library"; // // dockPanel1_Container // this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(200, 298); this.dockPanel1_Container.TabIndex = 0; // // cmdNewTab // this.cmdNewTab.Caption = "&New tab"; this.cmdNewTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdNewTab.Glyph"))); this.cmdNewTab.Hint = "New Tab"; this.cmdNewTab.Id = 3; this.cmdNewTab.ImageIndex = 0; this.cmdNewTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)); this.cmdNewTab.Name = "cmdNewTab"; this.cmdNewTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdNewTab_ItemClick); // // barSubItem1 // this.barSubItem1.Caption = "&File"; this.barSubItem1.Id = 0; this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)}); this.barSubItem1.Name = "barSubItem1"; // // barButtonItem1 // this.barButtonItem1.Caption = "E&xit"; this.barButtonItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.Glyph"))); this.barButtonItem1.Hint = "Exit"; this.barButtonItem1.Id = 1; this.barButtonItem1.ImageIndex = 1; this.barButtonItem1.Name = "barButtonItem1"; // // barSubItem2 // this.barSubItem2.Caption = "&Tabs"; this.barSubItem2.Id = 2; this.barSubItem2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.cmdNewTab)}); this.barSubItem2.Name = "barSubItem2"; // // lsttopToolbarImages // this.lsttopToolbarImages.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("lsttopToolbarImages.ImageStream"))); // // tabsMgr // this.tabsMgr.AllowDragDrop = DevExpress.Utils.DefaultBoolean.True; this.tabsMgr.AppearancePage.HeaderActive.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192))); this.tabsMgr.AppearancePage.HeaderActive.BorderColor = System.Drawing.Color.Red; this.tabsMgr.AppearancePage.HeaderActive.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.tabsMgr.AppearancePage.HeaderActive.Options.UseBackColor = true; this.tabsMgr.AppearancePage.HeaderActive.Options.UseBorderColor = true; this.tabsMgr.AppearancePage.HeaderActive.Options.UseFont = true; this.tabsMgr.Controller = this.barDockMgr; this.tabsMgr.HeaderButtons = ((DevExpress.XtraTab.TabButtons)(((DevExpress.XtraTab.TabButtons.Prev | DevExpress.XtraTab.TabButtons.Next) | DevExpress.XtraTab.TabButtons.Close))); this.tabsMgr.MdiParent = this; this.tabsMgr.SelectedPageChanged += new System.EventHandler(this.tabsMgr_SelectedPageChanged); this.tabsMgr.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tabsMgr_MouseDown); // // defaultLookAndFeel1 // this.defaultLookAndFeel1.LookAndFeel.SkinName = "The Asphalt World"; // // imgRibbon // this.imgRibbon.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imgRibbon.ImageStream"))); // // bar4 // this.bar4.BarName = "barActions"; this.bar4.DockCol = 0; this.bar4.DockRow = 0; this.bar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar4.FloatLocation = new System.Drawing.Point(229, 161); this.bar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)}); this.bar4.OptionsBar.AllowDelete = true; this.bar4.OptionsBar.AllowQuickCustomization = false; this.bar4.OptionsBar.DisableClose = true; this.bar4.OptionsBar.DisableCustomization = true; this.bar4.OptionsBar.DrawDragBorder = false; this.bar4.OptionsBar.UseWholeRow = true; this.bar4.Text = "Actions"; // // ribbonMain // this.ribbonMain.Images = this.imgRibbon; this.ribbonMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barSubItem1, this.barButtonItem1, this.barSubItem2, this.cmdNewTab, this.barButtonGroup1, this.chkPanelCounters, this.barStaticItem1, this.cmdScaleUp, this.cmdScaleDown, this.cmdAddCounters, this.cmdCreateRootNode, this.cmdCreateChildNode, this.cmdRemoveNode, this.cmdCreateFolderFromActiveMonitor, this.cmdSaveCountersToCurrentFolder, this.cmdSetCounterMachineNames, this.cmdAddNodeToNewTab, this.barButtonItem13, this.chkTextReport, this.chkShowToolbar, this.chkLegend, this.chkShowVGrid, this.chkShowHGrid, this.barStaticItem2, this.cmdRenameFolder, this.cmdRenameTab, this.barButtonGroup2, this.cmdImport, this.cmdExport, this.barButtonGroup3, this.barButtonGroup4, this.barButtonGroup5, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4, this.barButtonItem5, this.barButtonItem6, this.barButtonItem7, this.lblVersionCaption, this.lblVersion, this.cmdCloseTab, this.cmdSetInstanceName}); this.ribbonMain.Location = new System.Drawing.Point(0, 0); this.ribbonMain.MaxItemId = 42; this.ribbonMain.Name = "ribbonMain"; this.ribbonMain.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribPageGeneral, this.ribPageActiveMonitor, this.ribPageLibFolder, this.ribPageLibCounter, this.ribbonPage1}); this.ribbonMain.SelectedPage = this.ribPageActiveMonitor; this.ribbonMain.Size = new System.Drawing.Size(712, 144); this.ribbonMain.Toolbar.ItemLinks.Add(this.barButtonItem1); this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdNewTab, true); this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdRenameTab); this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdAddCounters, true); this.ribbonMain.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Below; this.ribbonMain.SelectedPageChanged += new System.EventHandler(this.ribbonMain_SelectedPageChanged); // // barButtonGroup1 // this.barButtonGroup1.Caption = "barButtonGroup1"; this.barButtonGroup1.Id = 0; this.barButtonGroup1.Name = "barButtonGroup1"; // // chkPanelCounters // this.chkPanelCounters.Caption = "Show Counter Library"; this.chkPanelCounters.Checked = true; this.chkPanelCounters.Glyph = ((System.Drawing.Image)(resources.GetObject("chkPanelCounters.Glyph"))); this.chkPanelCounters.Hint = "Show counter library panel"; this.chkPanelCounters.Id = 1; this.chkPanelCounters.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L)); this.chkPanelCounters.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("chkPanelCounters.LargeGlyph"))); this.chkPanelCounters.Name = "chkPanelCounters"; this.chkPanelCounters.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.Caption; this.chkPanelCounters.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkPanelCounters_CheckedChanged); // // barStaticItem1 // this.barStaticItem1.Caption = "Actions on the active perfomance monitor"; this.barStaticItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barStaticItem1.Glyph"))); this.barStaticItem1.Id = 2; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; // // cmdScaleUp // this.cmdScaleUp.Caption = "Scale up"; this.cmdScaleUp.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdScaleUp.Glyph"))); this.cmdScaleUp.Hint = "Scale up current counter"; this.cmdScaleUp.Id = 3; this.cmdScaleUp.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Add); this.cmdScaleUp.Name = "cmdScaleUp"; this.cmdScaleUp.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdScaleUp_ItemClick); // // cmdScaleDown // this.cmdScaleDown.Caption = "Scale down "; this.cmdScaleDown.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdScaleDown.Glyph"))); this.cmdScaleDown.Hint = "Scale down current counter"; this.cmdScaleDown.Id = 4; this.cmdScaleDown.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Subtract); this.cmdScaleDown.Name = "cmdScaleDown"; this.cmdScaleDown.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick); // // cmdAddCounters // this.cmdAddCounters.Caption = "Add counter(s)"; this.cmdAddCounters.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdAddCounters.Glyph"))); this.cmdAddCounters.Hint = "Add Counters..."; this.cmdAddCounters.Id = 5; this.cmdAddCounters.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)); this.cmdAddCounters.Name = "cmdAddCounters"; this.cmdAddCounters.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdAddCounters_ItemClick); // // cmdCreateRootNode // this.cmdCreateRootNode.Caption = "Create Root"; this.cmdCreateRootNode.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateRootNode.Glyph"))); this.cmdCreateRootNode.Hint = "Create root folder in library"; this.cmdCreateRootNode.Id = 6; this.cmdCreateRootNode.Name = "cmdCreateRootNode"; this.cmdCreateRootNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateRootNode_ItemClick); // // cmdCreateChildNode // this.cmdCreateChildNode.Caption = "Create Child"; this.cmdCreateChildNode.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateChildNode.Glyph"))); this.cmdCreateChildNode.Hint = "Create sub folder in library"; this.cmdCreateChildNode.Id = 7; this.cmdCreateChildNode.Name = "cmdCreateChildNode"; this.cmdCreateChildNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateChildNode_ItemClick); // // cmdRemoveNode // this.cmdRemoveNode.Caption = "&Remove"; this.cmdRemoveNode.Hint = "Remove folder or counter from library"; this.cmdRemoveNode.Id = 8; this.cmdRemoveNode.ImageIndex = 1; this.cmdRemoveNode.Name = "cmdRemoveNode"; this.cmdRemoveNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRemoveNode_ItemClick); // // cmdCreateFolderFromActiveMonitor // this.cmdCreateFolderFromActiveMonitor.Caption = "Import Tab Counters to new folder"; this.cmdCreateFolderFromActiveMonitor.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateFolderFromActiveMonitor.Glyph"))); this.cmdCreateFolderFromActiveMonitor.Hint = "Import tab counters to a new library folder"; this.cmdCreateFolderFromActiveMonitor.Id = 10; this.cmdCreateFolderFromActiveMonitor.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.N)); this.cmdCreateFolderFromActiveMonitor.Name = "cmdCreateFolderFromActiveMonitor"; this.cmdCreateFolderFromActiveMonitor.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateFolderFromActiveMonitor_ItemClick); // // cmdSaveCountersToCurrentFolder // this.cmdSaveCountersToCurrentFolder.Caption = "Import tab counters to selected folder"; this.cmdSaveCountersToCurrentFolder.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSaveCountersToCurrentFolder.Glyph"))); this.cmdSaveCountersToCurrentFolder.Hint = "Import tab counters to the selected library folder"; this.cmdSaveCountersToCurrentFolder.Id = 11; this.cmdSaveCountersToCurrentFolder.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.F)); this.cmdSaveCountersToCurrentFolder.Name = "cmdSaveCountersToCurrentFolder"; this.cmdSaveCountersToCurrentFolder.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdSaveCountersToCurrentFolder_ItemClick); // // cmdSetCounterMachineNames // this.cmdSetCounterMachineNames.Caption = "Set machine name"; this.cmdSetCounterMachineNames.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSetCounterMachineNames.Glyph"))); this.cmdSetCounterMachineNames.Hint = "set the machine name for the library counter(s)"; this.cmdSetCounterMachineNames.Id = 12; this.cmdSetCounterMachineNames.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M)); this.cmdSetCounterMachineNames.Name = "cmdSetCounterMachineNames"; this.cmdSetCounterMachineNames.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdChangeMachinNameForCOunters_ItemClick); // // cmdAddNodeToNewTab // this.cmdAddNodeToNewTab.Caption = "Add folder to new tab"; this.cmdAddNodeToNewTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdAddNodeToNewTab.Glyph"))); this.cmdAddNodeToNewTab.Hint = "add this library folder\'s counters to a new tab"; this.cmdAddNodeToNewTab.Id = 13; this.cmdAddNodeToNewTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.Right)); this.cmdAddNodeToNewTab.Name = "cmdAddNodeToNewTab"; this.cmdAddNodeToNewTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdAddNodeToNewTab_ItemClick); // // barButtonItem13 // this.barButtonItem13.Caption = "Add to selected tab"; this.barButtonItem13.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem13.Glyph"))); this.barButtonItem13.Hint = "add this library folder/counter to the current tab"; this.barButtonItem13.Id = 16; this.barButtonItem13.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Right)); this.barButtonItem13.Name = "barButtonItem13"; this.barButtonItem13.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem13_ItemClick); // // chkTextReport // this.chkTextReport.Caption = "Text Report"; this.chkTextReport.Glyph = ((System.Drawing.Image)(resources.GetObject("chkTextReport.Glyph"))); this.chkTextReport.Hint = "Set the perfmon display to \"Text Report\""; this.chkTextReport.Id = 17; this.chkTextReport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.R)); this.chkTextReport.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("chkTextReport.LargeGlyph"))); this.chkTextReport.Name = "chkTextReport"; this.chkTextReport.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkTextReport_CheckedChanged); // // chkShowToolbar // this.chkShowToolbar.Caption = "Toolbar"; this.chkShowToolbar.Checked = true; this.chkShowToolbar.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowToolbar.Glyph"))); this.chkShowToolbar.Hint = "Show/Hide the perfmon toolbar"; this.chkShowToolbar.Id = 18; this.chkShowToolbar.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.T)); this.chkShowToolbar.Name = "chkShowToolbar"; this.chkShowToolbar.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowToolbar_CheckedChanged); // // chkLegend // this.chkLegend.Caption = "Legend"; this.chkLegend.Checked = true; this.chkLegend.Glyph = ((System.Drawing.Image)(resources.GetObject("chkLegend.Glyph"))); this.chkLegend.Hint = "Show/Hide the perfmon legend"; this.chkLegend.Id = 19; this.chkLegend.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.L)); this.chkLegend.Name = "chkLegend"; this.chkLegend.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkLegend_CheckedChanged); // // chkShowVGrid // this.chkShowVGrid.Caption = "Vertical Grid Lines"; this.chkShowVGrid.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowVGrid.Glyph"))); this.chkShowVGrid.Hint = "Show/Hide perfmon vertical grid lines"; this.chkShowVGrid.Id = 20; this.chkShowVGrid.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.V)); this.chkShowVGrid.Name = "chkShowVGrid"; this.chkShowVGrid.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowVGrid_CheckedChanged); // // chkShowHGrid // this.chkShowHGrid.Caption = "Horizontal Grid Lines"; this.chkShowHGrid.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowHGrid.Glyph"))); this.chkShowHGrid.Hint = "Show/Hide perfmon Horizontal grid lines"; this.chkShowHGrid.Id = 21; this.chkShowHGrid.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.H)); this.chkShowHGrid.Name = "chkShowHGrid"; this.chkShowHGrid.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowHGrid_CheckedChanged); // // barStaticItem2 // this.barStaticItem2.Caption = "Perf+ " + ""; this.barStaticItem2.Id = 22; this.barStaticItem2.Name = "barStaticItem2"; this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near; // // cmdRenameFolder // this.cmdRenameFolder.Caption = "&Rename"; this.cmdRenameFolder.Id = 23; this.cmdRenameFolder.Name = "cmdRenameFolder"; this.cmdRenameFolder.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRenameFolder_ItemClick); // // cmdRenameTab // this.cmdRenameTab.Caption = "&Rename Tab"; this.cmdRenameTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdRenameTab.Glyph"))); this.cmdRenameTab.Hint = "Rename Tab"; this.cmdRenameTab.Id = 25; this.cmdRenameTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R)); this.cmdRenameTab.Name = "cmdRenameTab"; this.cmdRenameTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRenameTab_ItemClick); // // barButtonGroup2 // this.barButtonGroup2.Caption = "Share"; this.barButtonGroup2.Id = 26; this.barButtonGroup2.Name = "barButtonGroup2"; // // cmdImport // this.cmdImport.Caption = "&Import Library..."; this.cmdImport.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdImport.Glyph"))); this.cmdImport.Hint = "Import existing library counters from file"; this.cmdImport.Id = 27; this.cmdImport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)); this.cmdImport.Name = "cmdImport"; this.cmdImport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdImport_ItemClick); // // cmdExport // this.cmdExport.Caption = "Export Library..."; this.cmdExport.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdExport.Glyph"))); this.cmdExport.Hint = "Export coutner library to file"; this.cmdExport.Id = 28; this.cmdExport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)); this.cmdExport.Name = "cmdExport"; this.cmdExport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdExport_ItemClick); // // barButtonGroup3 // this.barButtonGroup3.Caption = "barButtonGroup3"; this.barButtonGroup3.Id = 29; this.barButtonGroup3.Name = "barButtonGroup3"; // // barButtonGroup4 // this.barButtonGroup4.Caption = "View ptions"; this.barButtonGroup4.Id = 30; this.barButtonGroup4.ItemLinks.Add(this.chkLegend); this.barButtonGroup4.ItemLinks.Add(this.chkShowToolbar); this.barButtonGroup4.Name = "barButtonGroup4"; // // barButtonGroup5 // this.barButtonGroup5.Caption = "barButtonGroup5"; this.barButtonGroup5.Id = 31; this.barButtonGroup5.ItemLinks.Add(this.chkShowHGrid); this.barButtonGroup5.ItemLinks.Add(this.chkShowVGrid); this.barButtonGroup5.Name = "barButtonGroup5"; // // barButtonItem2 // this.barButtonItem2.Caption = "Team Agile"; this.barButtonItem2.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem2.Glyph"))); this.barButtonItem2.Id = 32; this.barButtonItem2.Name = "barButtonItem2"; this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick); // // barButtonItem3 // this.barButtonItem3.Caption = "Other Tools from Roy"; this.barButtonItem3.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem3.Glyph"))); this.barButtonItem3.Id = 33; this.barButtonItem3.Name = "barButtonItem3"; this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick_1); // // barButtonItem4 // this.barButtonItem4.Caption = "Roy\'s Blog"; this.barButtonItem4.Id = 34; this.barButtonItem4.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem4.LargeGlyph"))); this.barButtonItem4.Name = "barButtonItem4"; this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick); // // barButtonItem5 // this.barButtonItem5.Caption = "Bug/ Feature request"; this.barButtonItem5.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem5.Glyph"))); this.barButtonItem5.Id = 35; this.barButtonItem5.Name = "barButtonItem5"; this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick); // // barButtonItem6 // this.barButtonItem6.Caption = "Email the author"; this.barButtonItem6.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem6.Glyph"))); this.barButtonItem6.Id = 36; this.barButtonItem6.Name = "barButtonItem6"; this.barButtonItem6.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem6_ItemClick); // // barButtonItem7 // this.barButtonItem7.Caption = "barButtonItem7"; this.barButtonItem7.Id = 37; this.barButtonItem7.Name = "barButtonItem7"; // // lblVersionCaption // this.lblVersionCaption.Caption = "Version:"; this.lblVersionCaption.Id = 38; this.lblVersionCaption.Name = "lblVersionCaption"; this.lblVersionCaption.TextAlignment = System.Drawing.StringAlignment.Near; // // lblVersion // this.lblVersion.Caption = " 1.0 "; this.lblVersion.Id = 39; this.lblVersion.Name = "lblVersion"; this.lblVersion.TextAlignment = System.Drawing.StringAlignment.Near; // // cmdCloseTab // this.cmdCloseTab.Caption = "&Close"; this.cmdCloseTab.Id = 40; this.cmdCloseTab.Name = "cmdCloseTab"; // // cmdSetInstanceName // this.cmdSetInstanceName.Caption = "Set Target Application Instance"; this.cmdSetInstanceName.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSetInstanceName.Glyph"))); this.cmdSetInstanceName.Hint = "Set the counter(s) target application instance"; this.cmdSetInstanceName.Id = 41; this.cmdSetInstanceName.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T)); this.cmdSetInstanceName.Name = "cmdSetInstanceName"; this.cmdSetInstanceName.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdSetInstanceName_ItemClick); // // ribPageGeneral // this.ribPageGeneral.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup1, this.ribbonPageGroup2, this.ribbonPageGroup4, this.ribbonPageGroup16}); this.ribPageGeneral.Name = "ribPageGeneral"; this.ribPageGeneral.Text = "General"; // // ribbonPageGroup1 // this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem1); this.ribbonPageGroup1.Name = "ribbonPageGroup1"; this.ribbonPageGroup1.ShowCaptionButton = false; this.ribbonPageGroup1.Text = "Program"; // // ribbonPageGroup2 // this.ribbonPageGroup2.ItemLinks.Add(this.cmdNewTab); this.ribbonPageGroup2.ItemLinks.Add(this.cmdRenameTab); this.ribbonPageGroup2.Name = "ribbonPageGroup2"; this.ribbonPageGroup2.ShowCaptionButton = false; this.ribbonPageGroup2.Text = "Tabs"; // // ribbonPageGroup4 // this.ribbonPageGroup4.ItemLinks.Add(this.chkPanelCounters); this.ribbonPageGroup4.Name = "ribbonPageGroup4"; this.ribbonPageGroup4.Text = "Panels"; // // ribbonPageGroup16 // this.ribbonPageGroup16.ItemLinks.Add(this.cmdImport); this.ribbonPageGroup16.ItemLinks.Add(this.cmdExport); this.ribbonPageGroup16.Name = "ribbonPageGroup16"; this.ribbonPageGroup16.Text = "Share"; // // ribPageActiveMonitor // this.ribPageActiveMonitor.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup5, this.ribbonPageGroup6, this.ribbonPageGroup3, this.ribbonPageGroup15}); this.ribPageActiveMonitor.Name = "ribPageActiveMonitor"; this.ribPageActiveMonitor.Text = "Active Monitor"; // // ribbonPageGroup5 // this.ribbonPageGroup5.ItemLinks.Add(this.cmdScaleUp); this.ribbonPageGroup5.ItemLinks.Add(this.cmdScaleDown); this.ribbonPageGroup5.Name = "ribbonPageGroup5"; this.ribbonPageGroup5.Text = "Active Counter"; // // ribbonPageGroup6 // this.ribbonPageGroup6.ItemLinks.Add(this.cmdAddCounters, true); this.ribbonPageGroup6.ItemLinks.Add(this.cmdRenameTab); this.ribbonPageGroup6.ItemLinks.Add(this.cmdNewTab); this.ribbonPageGroup6.Name = "ribbonPageGroup6"; this.ribbonPageGroup6.Text = "Monitor"; // // ribbonPageGroup3 // this.ribbonPageGroup3.ItemLinks.Add(this.barButtonGroup4); this.ribbonPageGroup3.ItemLinks.Add(this.barButtonGroup5); this.ribbonPageGroup3.ItemLinks.Add(this.chkTextReport); this.ribbonPageGroup3.Name = "ribbonPageGroup3"; this.ribbonPageGroup3.Text = "Toggle Visible"; // // ribbonPageGroup15 // this.ribbonPageGroup15.ItemLinks.Add(this.cmdCreateFolderFromActiveMonitor); this.ribbonPageGroup15.ItemLinks.Add(this.cmdSaveCountersToCurrentFolder); this.ribbonPageGroup15.Name = "ribbonPageGroup15"; this.ribbonPageGroup15.Text = "Library"; // // ribPageLibFolder // this.ribPageLibFolder.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup7, this.ribbonPageGroup12, this.ribbonPageGroup10, this.ribbonPageGroup11}); this.ribPageLibFolder.Name = "ribPageLibFolder"; this.ribPageLibFolder.Text = "Library Folder"; // // ribbonPageGroup7 // this.ribbonPageGroup7.ItemLinks.Add(this.cmdCreateRootNode, true); this.ribbonPageGroup7.ItemLinks.Add(this.cmdCreateChildNode); this.ribbonPageGroup7.ItemLinks.Add(this.cmdRemoveNode, true); this.ribbonPageGroup7.ItemLinks.Add(this.cmdRenameFolder); this.ribbonPageGroup7.Name = "ribbonPageGroup7"; this.ribbonPageGroup7.Text = "Folders"; // // ribbonPageGroup12 // this.ribbonPageGroup12.ItemLinks.Add(this.cmdAddNodeToNewTab); this.ribbonPageGroup12.ItemLinks.Add(this.barButtonItem13); this.ribbonPageGroup12.Name = "ribbonPageGroup12"; this.ribbonPageGroup12.Text = "Monitor"; // // ribbonPageGroup10 // this.ribbonPageGroup10.ItemLinks.Add(this.cmdCreateFolderFromActiveMonitor); this.ribbonPageGroup10.ItemLinks.Add(this.cmdSaveCountersToCurrentFolder); this.ribbonPageGroup10.Name = "ribbonPageGroup10"; this.ribbonPageGroup10.Text = "Import"; // // ribbonPageGroup11 // this.ribbonPageGroup11.ItemLinks.Add(this.cmdSetCounterMachineNames); this.ribbonPageGroup11.ItemLinks.Add(this.cmdSetInstanceName); this.ribbonPageGroup11.Name = "ribbonPageGroup11"; this.ribbonPageGroup11.Text = "Current Folder\\Counter"; // // ribPageLibCounter // this.ribPageLibCounter.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup13, this.ribbonPageGroup14}); this.ribPageLibCounter.Name = "ribPageLibCounter"; this.ribPageLibCounter.Text = "Library Counter"; // // ribbonPageGroup13 // this.ribbonPageGroup13.ItemLinks.Add(this.cmdSetCounterMachineNames); this.ribbonPageGroup13.Name = "ribbonPageGroup13"; this.ribbonPageGroup13.Text = "Modify Counter"; // // ribbonPageGroup14 // this.ribbonPageGroup14.ItemLinks.Add(this.cmdAddNodeToNewTab); this.ribbonPageGroup14.ItemLinks.Add(this.barButtonItem13); this.ribbonPageGroup14.Name = "ribbonPageGroup14"; this.ribbonPageGroup14.Text = "Monitor"; // // ribbonPage1 // this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup17, this.ribbonPageGroup18, this.ribbonPageGroup19, this.ribbonPageGroup20}); this.ribbonPage1.Name = "ribbonPage1"; this.ribbonPage1.Text = "Help"; // // ribbonPageGroup17 // this.ribbonPageGroup17.ItemLinks.Add(this.lblVersionCaption); this.ribbonPageGroup17.ItemLinks.Add(this.lblVersion); this.ribbonPageGroup17.Name = "ribbonPageGroup17"; this.ribbonPageGroup17.Text = "About"; // // ribbonPageGroup18 // this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem2); this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem3); this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem4, true); this.ribbonPageGroup18.Name = "ribbonPageGroup18"; this.ribbonPageGroup18.Text = "Other Sites"; // // ribbonPageGroup19 // this.ribbonPageGroup19.ItemLinks.Add(this.barButtonItem5); this.ribbonPageGroup19.ItemLinks.Add(this.barButtonItem6); this.ribbonPageGroup19.Name = "ribbonPageGroup19"; this.ribbonPageGroup19.Text = "Support"; // // ribbonPageGroup20 // this.ribbonPageGroup20.Name = "ribbonPageGroup20"; this.ribbonPageGroup20.Text = "Videos"; // // ribbonStatusBar1 // this.ribbonStatusBar1.ItemLinks.Add(this.barStaticItem2); this.ribbonStatusBar1.ItemLinks.Add(this.cmdScaleUp); this.ribbonStatusBar1.ItemLinks.Add(this.cmdScaleDown); this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 470); this.ribbonStatusBar1.Name = "ribbonStatusBar1"; this.ribbonStatusBar1.Ribbon = this.ribbonMain; this.ribbonStatusBar1.Size = new System.Drawing.Size(712, 24); // // ribbonPageGroup8 // this.ribbonPageGroup8.ItemLinks.Add(this.barStaticItem1); this.ribbonPageGroup8.Name = "ribbonPageGroup8"; this.ribbonPageGroup8.Text = "Description"; // // ribbonPageGroup9 // this.ribbonPageGroup9.ItemLinks.Add(this.barStaticItem1); this.ribbonPageGroup9.Name = "ribbonPageGroup9"; this.ribbonPageGroup9.Text = "Description"; // // popupMenu1 // this.popupMenu1.Name = "popupMenu1"; this.popupMenu1.Ribbon = this.ribbonMain; // // popupMenu2 // this.popupMenu2.Name = "popupMenu2"; this.popupMenu2.Ribbon = this.ribbonMain; // // popupMenu3 // this.popupMenu3.ItemLinks.Add(this.cmdRenameTab); this.popupMenu3.ItemLinks.Add(this.cmdCloseTab); this.popupMenu3.Name = "popupMenu3"; this.popupMenu3.Ribbon = this.ribbonMain; // // toolTipController1 // this.toolTipController1.Rounded = true; this.toolTipController1.ShowBeak = true; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(712, 494); this.Controls.Add(this.pnlCountersTree); this.Controls.Add(this.ribbonMain); this.Controls.Add(this.ribbonStatusBar1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Name = "MainForm"; this.Text = "Perf+ (Alpha - Expires February 2007)"; this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.barDockMgr)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dockMgr)).EndInit(); this.pnlCountersTree.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.lsttopToolbarImages)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabsMgr)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgRibbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu3)).EndInit(); this.ResumeLayout(false); }
//B2 //Tao cac group page private void createGroup(RibbonPage page,string menuID) { DataTable dt = new DataTable(); dt.Columns.Add("ID"); dt.Columns.Add("Name"); DataRow drTemp; foreach (DataRow drChild in ds.Tables[0].Select("Parents='" + menuID + "'")) { if (!getSep(drChild[0].ToString())) { drTemp = dt.NewRow(); drTemp[0] = drChild[0]; drTemp[1] = drChild[1]; dt.Rows.Add(drTemp); } else { addItemIntoPageGroup(page,dt, getPageGroup(drChild[0].ToString())); dt.Rows.Clear(); drTemp = dt.NewRow(); drTemp[0] = drChild[0]; drTemp[1] = drChild[1]; dt.Rows.Add(drTemp); } } addItemIntoPageGroup(page, dt, ""); }
private void InitializeComponent() { 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.lblIBETWinLost = new DevExpress.XtraBars.BarStaticItem(); this.lblIBETCom = new DevExpress.XtraBars.BarStaticItem(); this.lblIBETReject = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem4 = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem5 = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem6 = new DevExpress.XtraBars.BarStaticItem(); 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.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); this.panelControl5 = new DevExpress.XtraEditors.PanelControl(); this.webIBET = new System.Windows.Forms.WebBrowser(); this.panelControl4 = new DevExpress.XtraEditors.PanelControl(); this.cbeSignatureTemplate = new DevExpress.XtraEditors.ComboBoxEdit(); this.label1 = new System.Windows.Forms.Label(); this.btnIBETGO = new DevExpress.XtraEditors.SimpleButton(); this.txtIBETAddress = new DevExpress.XtraEditors.TextEdit(); this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); this.webSBOBET = new System.Windows.Forms.WebBrowser(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.chooseSBOServer = new DevExpress.XtraEditors.ComboBoxEdit(); this.btnSBOBETGO = new DevExpress.XtraEditors.SimpleButton(); this.txtSBOBETAddress = new DevExpress.XtraEditors.TextEdit(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.xtraTabPage3 = 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.xtraTabPage6 = new DevExpress.XtraTab.XtraTabPage(); this.gridNonLiveMatch = new DevExpress.XtraGrid.GridControl(); this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn32 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn35 = new DevExpress.XtraGrid.Columns.GridColumn(); this.tabBetList = new DevExpress.XtraTab.XtraTabPage(); this.grdBetList = new DevExpress.XtraGrid.GridControl(); this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn25 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn27 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn29 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn28 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn26 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn30 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn31 = new DevExpress.XtraGrid.Columns.GridColumn(); this.xtraTabControl2 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage(); this.groupControl2 = new DevExpress.XtraEditors.GroupControl(); 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.chkProxy = new DevExpress.XtraEditors.CheckEdit(); this.btnStatus = new DevExpress.XtraEditors.SimpleButton(); 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.chkEnable = new DevExpress.XtraEditors.CheckEdit(); this.chkFollowType = new DevExpress.XtraEditors.CheckEdit(); this.txtLowestOddValue = new DevExpress.XtraEditors.SpinEdit(); this.labelControl9 = new DevExpress.XtraEditors.LabelControl(); this.checkEdit6 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit5 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit7 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit12 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit4 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit3 = new DevExpress.XtraEditors.CheckEdit(); this.groupControl4 = new DevExpress.XtraEditors.GroupControl(); this.chkFollowPercent = new DevExpress.XtraEditors.CheckEdit(); this.txtIBETFixedStake = new DevExpress.XtraEditors.SpinEdit(); this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); this.txtAllowTradeMinValue = new DevExpress.XtraEditors.SpinEdit(); this.txtFollowPercent = new DevExpress.XtraEditors.SpinEdit(); this.groupControl6 = new DevExpress.XtraEditors.GroupControl(); this.txtListFollowAccounts = new DevExpress.XtraEditors.MemoEdit(); 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.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn39 = new DevExpress.XtraGrid.Columns.GridColumn(); this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); ((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.xtraTabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).BeginInit(); this.panelControl5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit(); this.panelControl4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbeSignatureTemplate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIBETAddress.Properties)).BeginInit(); this.xtraTabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); this.panelControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chooseSBOServer.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETAddress.Properties)).BeginInit(); this.xtraTabPage3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdSameMatch)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.xtraTabPage6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridNonLiveMatch)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView4)).BeginInit(); this.tabBetList.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdBetList)).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.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.chkProxy.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.chkEnable.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chkFollowType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLowestOddValue.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.checkEdit4.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).BeginInit(); this.groupControl4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkFollowPercent.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIBETFixedStake.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAllowTradeMinValue.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFollowPercent.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).BeginInit(); this.groupControl6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtListFollowAccounts.Properties)).BeginInit(); this.xtraTabPage5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); 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.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.lblStatus, this.lblSameMatch, this.lblLastUpdate, this.btnStart, this.btnStop, this.btnClear, this.lblIBETWinLost, this.lblIBETCom, this.lblIBETReject, this.barStaticItem4, this.barStaticItem5, this.barStaticItem6}); this.ribbonControl1.Location = new System.Drawing.Point(0, 0); this.ribbonControl1.MaxItemId = 37; 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.Caption = "Get Info"; 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 Already Running:"; 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.Caption = "Get Info"; 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 waiting list: -"; 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); // // lblIBETWinLost // this.lblIBETWinLost.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.lblIBETWinLost.Appearance.Options.UseFont = true; this.lblIBETWinLost.Caption = "-"; this.lblIBETWinLost.Id = 25; this.lblIBETWinLost.Name = "lblIBETWinLost"; this.lblIBETWinLost.TextAlignment = System.Drawing.StringAlignment.Far; // // lblIBETCom // this.lblIBETCom.Caption = "-"; this.lblIBETCom.Id = 26; this.lblIBETCom.Name = "lblIBETCom"; this.lblIBETCom.TextAlignment = System.Drawing.StringAlignment.Near; // // lblIBETReject // this.lblIBETReject.Caption = "-"; this.lblIBETReject.Id = 27; this.lblIBETReject.Name = "lblIBETReject"; this.lblIBETReject.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem4 // this.barStaticItem4.Caption = "Win:"; this.barStaticItem4.Id = 31; this.barStaticItem4.Name = "barStaticItem4"; this.barStaticItem4.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem5 // this.barStaticItem5.Caption = "Com:"; this.barStaticItem5.Id = 32; this.barStaticItem5.Name = "barStaticItem5"; this.barStaticItem5.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem6 // this.barStaticItem6.Caption = "Reject:"; this.barStaticItem6.Id = 33; this.barStaticItem6.Name = "barStaticItem6"; this.barStaticItem6.TextAlignment = System.Drawing.StringAlignment.Near; // // ribbonPage1 // this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.rpgIbet, this.rpgSbobet, this.ribbonPageGroup3, this.ribbonPageGroup4}); 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.ItemLinks.Add(this.barStaticItem4); this.rpgIbet.ItemLinks.Add(this.barStaticItem5); this.rpgIbet.ItemLinks.Add(this.barStaticItem6); this.rpgIbet.ItemLinks.Add(this.lblIBETWinLost); this.rpgIbet.ItemLinks.Add(this.lblIBETCom); this.rpgIbet.ItemLinks.Add(this.lblIBETReject); 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 = "SUB IBET"; // // 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"; // // 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, 617); this.splitContainerControl1.SplitterPosition = 179; 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(1130, 433); this.xtraTabControl1.TabIndex = 0; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage1, this.xtraTabPage2, this.xtraTabPage3, this.xtraTabPage6, this.tabBetList}); // // xtraTabPage1 // this.xtraTabPage1.Controls.Add(this.panelControl5); this.xtraTabPage1.Controls.Add(this.panelControl4); this.xtraTabPage1.Name = "xtraTabPage1"; this.xtraTabPage1.Size = new System.Drawing.Size(1124, 407); this.xtraTabPage1.Text = "IBET"; // // panelControl5 // this.panelControl5.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.panelControl5.Controls.Add(this.webIBET); this.panelControl5.Location = new System.Drawing.Point(3, 38); this.panelControl5.Name = "panelControl5"; this.panelControl5.Size = new System.Drawing.Size(1118, 366); this.panelControl5.TabIndex = 3; // // webIBET // this.webIBET.Dock = System.Windows.Forms.DockStyle.Fill; this.webIBET.Location = new System.Drawing.Point(2, 2); this.webIBET.MinimumSize = new System.Drawing.Size(20, 20); this.webIBET.Name = "webIBET"; this.webIBET.Size = new System.Drawing.Size(1114, 362); this.webIBET.TabIndex = 0; this.webIBET.Url = new System.Uri("http://www.653366.com", System.UriKind.Absolute); this.webIBET.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webIBET_DocumentCompleted); // // panelControl4 // this.panelControl4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelControl4.Controls.Add(this.cbeSignatureTemplate); this.panelControl4.Controls.Add(this.label1); this.panelControl4.Controls.Add(this.btnIBETGO); this.panelControl4.Controls.Add(this.txtIBETAddress); this.panelControl4.Location = new System.Drawing.Point(3, 3); this.panelControl4.Name = "panelControl4"; this.panelControl4.Size = new System.Drawing.Size(1118, 29); this.panelControl4.TabIndex = 2; // // cbeSignatureTemplate // this.cbeSignatureTemplate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbeSignatureTemplate.EditValue = "Choose Server"; this.cbeSignatureTemplate.Location = new System.Drawing.Point(871, 5); 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.Items.AddRange(new object[] { "http://www.653366.com", "http://www.ibet888.net"}); this.cbeSignatureTemplate.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.cbeSignatureTemplate.Size = new System.Drawing.Size(162, 20); this.cbeSignatureTemplate.TabIndex = 10; this.cbeSignatureTemplate.SelectedIndexChanged += new System.EventHandler(this.cbeSignatureTemplate_SelectedIndexChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(2, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(50, 13); this.label1.TabIndex = 9; this.label1.Text = "Address:"; // // btnIBETGO // this.btnIBETGO.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnIBETGO.Location = new System.Drawing.Point(1039, 3); this.btnIBETGO.Name = "btnIBETGO"; this.btnIBETGO.Size = new System.Drawing.Size(75, 23); this.btnIBETGO.TabIndex = 8; this.btnIBETGO.Text = "GO"; this.btnIBETGO.Click += new System.EventHandler(this.btnIBETGO_Click); // // txtIBETAddress // this.txtIBETAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtIBETAddress.EditValue = "http://www.653366.com"; this.txtIBETAddress.Location = new System.Drawing.Point(54, 5); this.txtIBETAddress.Name = "txtIBETAddress"; this.txtIBETAddress.Size = new System.Drawing.Size(811, 20); this.txtIBETAddress.TabIndex = 7; // // xtraTabPage2 // this.xtraTabPage2.Controls.Add(this.panelControl3); this.xtraTabPage2.Controls.Add(this.panelControl2); this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.Size = new System.Drawing.Size(1124, 407); this.xtraTabPage2.Text = "SUB"; // // panelControl3 // this.panelControl3.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.panelControl3.Controls.Add(this.webSBOBET); this.panelControl3.Location = new System.Drawing.Point(3, 38); this.panelControl3.Name = "panelControl3"; this.panelControl3.Size = new System.Drawing.Size(1117, 410); this.panelControl3.TabIndex = 6; // // webSBOBET // this.webSBOBET.Dock = System.Windows.Forms.DockStyle.Fill; this.webSBOBET.Location = new System.Drawing.Point(2, 2); this.webSBOBET.MinimumSize = new System.Drawing.Size(20, 20); this.webSBOBET.Name = "webSBOBET"; this.webSBOBET.Size = new System.Drawing.Size(1113, 406); this.webSBOBET.TabIndex = 0; this.webSBOBET.Url = new System.Uri("http://www.b88ag.com/", System.UriKind.Absolute); this.webSBOBET.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webSBOBET_DocumentCompleted); // // panelControl2 // this.panelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelControl2.Controls.Add(this.chooseSBOServer); this.panelControl2.Controls.Add(this.btnSBOBETGO); this.panelControl2.Controls.Add(this.txtSBOBETAddress); this.panelControl2.Controls.Add(this.labelControl1); this.panelControl2.Location = new System.Drawing.Point(3, 3); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(1118, 29); this.panelControl2.TabIndex = 5; // // chooseSBOServer // this.chooseSBOServer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chooseSBOServer.EditValue = "Choose Server"; this.chooseSBOServer.Location = new System.Drawing.Point(871, 5); this.chooseSBOServer.Name = "chooseSBOServer"; this.chooseSBOServer.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; this.chooseSBOServer.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.chooseSBOServer.Properties.DropDownRows = 10; this.chooseSBOServer.Properties.Items.AddRange(new object[] { "http://www.b88ag.com/"}); this.chooseSBOServer.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.chooseSBOServer.Size = new System.Drawing.Size(162, 20); this.chooseSBOServer.TabIndex = 11; this.chooseSBOServer.SelectedIndexChanged += new System.EventHandler(this.chooseSBOServer_SelectedIndexChanged); // // btnSBOBETGO // this.btnSBOBETGO.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSBOBETGO.Location = new System.Drawing.Point(1039, 3); this.btnSBOBETGO.Name = "btnSBOBETGO"; this.btnSBOBETGO.Size = new System.Drawing.Size(75, 23); this.btnSBOBETGO.TabIndex = 5; this.btnSBOBETGO.Text = "GO"; this.btnSBOBETGO.Click += new System.EventHandler(this.btnSBOBETGO_Click); // // txtSBOBETAddress // this.txtSBOBETAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtSBOBETAddress.EditValue = "http://www.b88ag.com/"; this.txtSBOBETAddress.Location = new System.Drawing.Point(54, 5); this.txtSBOBETAddress.Name = "txtSBOBETAddress"; this.txtSBOBETAddress.Size = new System.Drawing.Size(808, 20); this.txtSBOBETAddress.TabIndex = 4; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(5, 8); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(43, 13); this.labelControl1.TabIndex = 3; this.labelControl1.Text = "Address:"; // // xtraTabPage3 // this.xtraTabPage3.Controls.Add(this.grdSameMatch); this.xtraTabPage3.Name = "xtraTabPage3"; this.xtraTabPage3.Size = new System.Drawing.Size(1124, 407); this.xtraTabPage3.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, 407); 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.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.gridColumn18, DevExpress.Data.ColumnSortOrder.Ascending)}); // // 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 = 3; this.gridColumn16.Width = 368; // // gridColumn21 // this.gridColumn21.Caption = "HomeScore"; this.gridColumn21.FieldName = "HomeScore"; this.gridColumn21.Name = "gridColumn21"; this.gridColumn21.Visible = true; this.gridColumn21.VisibleIndex = 1; // // gridColumn22 // this.gridColumn22.Caption = "AwayScore"; this.gridColumn22.FieldName = "AwayScore"; this.gridColumn22.Name = "gridColumn22"; this.gridColumn22.Visible = true; this.gridColumn22.VisibleIndex = 2; // // 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 = 60; // // gridColumn18 // this.gridColumn18.Caption = "Minute"; 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 = 60; // // gridColumn19 // this.gridColumn19.Caption = "Half Time"; 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 = 60; // // xtraTabPage6 // this.xtraTabPage6.Controls.Add(this.gridNonLiveMatch); this.xtraTabPage6.Name = "xtraTabPage6"; this.xtraTabPage6.Size = new System.Drawing.Size(1124, 407); this.xtraTabPage6.Text = "Non-Live Match"; // // gridNonLiveMatch // this.gridNonLiveMatch.Dock = System.Windows.Forms.DockStyle.Fill; this.gridNonLiveMatch.Location = new System.Drawing.Point(0, 0); this.gridNonLiveMatch.MainView = this.gridView4; this.gridNonLiveMatch.Name = "gridNonLiveMatch"; this.gridNonLiveMatch.Size = new System.Drawing.Size(1124, 407); this.gridNonLiveMatch.TabIndex = 4; this.gridNonLiveMatch.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView4}); // // gridView4 // this.gridView4.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn20, this.gridColumn32, this.gridColumn35}); this.gridView4.GridControl = this.gridNonLiveMatch; this.gridView4.Name = "gridView4"; this.gridView4.OptionsBehavior.Editable = false; this.gridView4.OptionsCustomization.AllowGroup = false; this.gridView4.OptionsDetail.AllowZoomDetail = false; this.gridView4.OptionsDetail.EnableMasterViewMode = false; this.gridView4.OptionsDetail.ShowDetailTabs = false; this.gridView4.OptionsDetail.SmartDetailExpand = false; this.gridView4.OptionsView.ShowAutoFilterRow = true; this.gridView4.OptionsView.ShowGroupPanel = false; this.gridView4.OptionsView.ShowPreview = true; this.gridView4.PreviewFieldName = "LeagueName"; // // gridColumn20 // this.gridColumn20.Caption = "Home Team"; this.gridColumn20.FieldName = "HomeTeamName"; this.gridColumn20.Name = "gridColumn20"; this.gridColumn20.Visible = true; this.gridColumn20.VisibleIndex = 0; this.gridColumn20.Width = 367; // // gridColumn32 // this.gridColumn32.Caption = "Away Team"; this.gridColumn32.FieldName = "AwayTeamName"; this.gridColumn32.Name = "gridColumn32"; this.gridColumn32.Visible = true; this.gridColumn32.VisibleIndex = 1; this.gridColumn32.Width = 368; // // gridColumn35 // this.gridColumn35.Caption = "Odd Count"; this.gridColumn35.FieldName = "OddCount"; this.gridColumn35.Name = "gridColumn35"; this.gridColumn35.OptionsColumn.FixedWidth = true; this.gridColumn35.Visible = true; this.gridColumn35.VisibleIndex = 2; this.gridColumn35.Width = 70; // // tabBetList // this.tabBetList.Controls.Add(this.grdBetList); this.tabBetList.Name = "tabBetList"; this.tabBetList.Size = new System.Drawing.Size(1124, 407); this.tabBetList.Text = "SUB Bet List"; // // grdBetList // this.grdBetList.Dock = System.Windows.Forms.DockStyle.Fill; this.grdBetList.Location = new System.Drawing.Point(0, 0); this.grdBetList.MainView = this.gridView3; this.grdBetList.Name = "grdBetList"; this.grdBetList.Size = new System.Drawing.Size(1124, 407); this.grdBetList.TabIndex = 4; this.grdBetList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView3}); // // gridView3 // this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn9, this.gridColumn11, this.gridColumn12, this.gridColumn23, this.gridColumn24, this.gridColumn25, this.gridColumn27, this.gridColumn29, this.gridColumn28, this.gridColumn26, this.gridColumn30, this.gridColumn31}); this.gridView3.GridControl = this.grdBetList; 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 = "League"; this.gridView3.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn25, DevExpress.Data.ColumnSortOrder.Descending)}); // // gridColumn9 // this.gridColumn9.Caption = "Home Team"; this.gridColumn9.FieldName = "HomeTeamName"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 3; this.gridColumn9.Width = 198; // // gridColumn11 // this.gridColumn11.Caption = "Away Team"; this.gridColumn11.FieldName = "AwayTeamName"; this.gridColumn11.Name = "gridColumn11"; this.gridColumn11.Visible = true; this.gridColumn11.VisibleIndex = 5; this.gridColumn11.Width = 214; // // gridColumn12 // this.gridColumn12.Caption = "Score"; this.gridColumn12.FieldName = "Score"; this.gridColumn12.Name = "gridColumn12"; this.gridColumn12.Visible = true; this.gridColumn12.VisibleIndex = 4; this.gridColumn12.Width = 40; // // gridColumn23 // this.gridColumn23.Caption = "Odd"; this.gridColumn23.FieldName = "Odd"; this.gridColumn23.Name = "gridColumn23"; this.gridColumn23.OptionsColumn.FixedWidth = true; this.gridColumn23.Visible = true; this.gridColumn23.VisibleIndex = 8; this.gridColumn23.Width = 40; // // gridColumn24 // this.gridColumn24.Caption = "Odd Value"; this.gridColumn24.FieldName = "OddValue"; this.gridColumn24.Name = "gridColumn24"; this.gridColumn24.OptionsColumn.FixedWidth = true; this.gridColumn24.Visible = true; this.gridColumn24.VisibleIndex = 9; this.gridColumn24.Width = 60; // // gridColumn25 // this.gridColumn25.Caption = "Time"; this.gridColumn25.DisplayFormat.FormatString = "hh:mm:ss"; this.gridColumn25.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn25.FieldName = "DateTime"; this.gridColumn25.Name = "gridColumn25"; this.gridColumn25.OptionsColumn.FixedWidth = true; this.gridColumn25.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value; this.gridColumn25.Visible = true; this.gridColumn25.VisibleIndex = 11; this.gridColumn25.Width = 80; // // gridColumn27 // this.gridColumn27.Caption = "Ref ID"; this.gridColumn27.FieldName = "RefID"; this.gridColumn27.Name = "gridColumn27"; this.gridColumn27.Visible = true; this.gridColumn27.VisibleIndex = 1; this.gridColumn27.Width = 68; // // gridColumn29 // this.gridColumn29.Caption = "Choose"; this.gridColumn29.FieldName = "Choice"; this.gridColumn29.Name = "gridColumn29"; this.gridColumn29.Visible = true; this.gridColumn29.VisibleIndex = 6; this.gridColumn29.Width = 100; // // gridColumn28 // this.gridColumn28.Caption = "Odd Type"; this.gridColumn28.FieldName = "Type"; this.gridColumn28.Name = "gridColumn28"; this.gridColumn28.Visible = true; this.gridColumn28.VisibleIndex = 7; this.gridColumn28.Width = 103; // // gridColumn26 // this.gridColumn26.Caption = "Stake"; this.gridColumn26.FieldName = "Stake"; this.gridColumn26.Name = "gridColumn26"; this.gridColumn26.Visible = true; this.gridColumn26.VisibleIndex = 10; this.gridColumn26.Width = 42; // // gridColumn30 // this.gridColumn30.Caption = "Account"; this.gridColumn30.FieldName = "Account"; this.gridColumn30.Name = "gridColumn30"; this.gridColumn30.Visible = true; this.gridColumn30.VisibleIndex = 2; this.gridColumn30.Width = 46; // // gridColumn31 // this.gridColumn31.Caption = "ID"; this.gridColumn31.FieldName = "ID"; this.gridColumn31.Name = "gridColumn31"; this.gridColumn31.Visible = true; this.gridColumn31.VisibleIndex = 0; this.gridColumn31.Width = 30; // // 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, 179); 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, 153); 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.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, 147); this.groupControl2.TabIndex = 14; this.groupControl2.Text = "Time - Type Settings"; // // 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[] { 45, 0, 0, 0}); this.txtMaxTimePerHalf.Enabled = false; 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.Enabled = false; 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(190, 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.chkProxy); this.groupControl1.Controls.Add(this.btnStatus); 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, 147); this.groupControl1.TabIndex = 13; this.groupControl1.Text = "Data Settings"; // // chkProxy // this.chkProxy.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.chkProxy.EditValue = true; this.chkProxy.Location = new System.Drawing.Point(5, 108); this.chkProxy.Name = "chkProxy"; this.chkProxy.Properties.Caption = "Use Proxy"; this.chkProxy.Size = new System.Drawing.Size(190, 19); this.chkProxy.TabIndex = 33; // // btnStatus // this.btnStatus.Location = new System.Drawing.Point(6, 77); this.btnStatus.Name = "btnStatus"; this.btnStatus.Size = new System.Drawing.Size(89, 23); this.btnStatus.TabIndex = 31; this.btnStatus.Text = "Show status"; this.btnStatus.Click += new System.EventHandler(this.btnStatus_Click_1); // // btnSetUpdateInterval // this.btnSetUpdateInterval.Location = new System.Drawing.Point(106, 77); this.btnSetUpdateInterval.Name = "btnSetUpdateInterval"; this.btnSetUpdateInterval.Size = new System.Drawing.Size(89, 23); this.btnSetUpdateInterval.TabIndex = 6; this.btnSetUpdateInterval.Text = "Set 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[] { 3, 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.Properties.MaxValue = new decimal(new int[] { 12, 0, 0, 0}); this.txtSBOBETUpdateInterval.Properties.MinValue = new decimal(new int[] { 2, 0, 0, 0}); this.txtSBOBETUpdateInterval.Size = new System.Drawing.Size(63, 20); this.txtSBOBETUpdateInterval.TabIndex = 5; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(5, 54); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(102, 13); this.labelControl3.TabIndex = 4; this.labelControl3.Text = "SUB 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[] { 8, 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.Properties.MaxValue = new decimal(new int[] { 15, 0, 0, 0}); this.txtIBETUpdateInterval.Properties.MinValue = new decimal(new int[] { 2, 0, 0, 0}); this.txtIBETUpdateInterval.Size = new System.Drawing.Size(63, 20); this.txtIBETUpdateInterval.TabIndex = 1; // // 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.chkEnable); this.groupControl5.Controls.Add(this.chkFollowType); this.groupControl5.Controls.Add(this.txtLowestOddValue); this.groupControl5.Controls.Add(this.labelControl9); this.groupControl5.Controls.Add(this.checkEdit6); this.groupControl5.Controls.Add(this.checkEdit5); this.groupControl5.Controls.Add(this.checkEdit7); this.groupControl5.Controls.Add(this.checkEdit12); 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, 147); this.groupControl5.TabIndex = 13; this.groupControl5.Text = "Trading Settings"; // // chkEnable // this.chkEnable.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.chkEnable.EditValue = true; this.chkEnable.Location = new System.Drawing.Point(5, 123); this.chkEnable.Name = "chkEnable"; this.chkEnable.Properties.Caption = "Enable"; this.chkEnable.Size = new System.Drawing.Size(90, 19); this.chkEnable.TabIndex = 25; // // chkFollowType // this.chkFollowType.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.chkFollowType.EditValue = true; this.chkFollowType.Location = new System.Drawing.Point(5, 79); this.chkFollowType.Name = "chkFollowType"; this.chkFollowType.Properties.Caption = "Follow / Unfollow"; this.chkFollowType.Size = new System.Drawing.Size(190, 19); this.chkFollowType.TabIndex = 24; // // 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, 103); 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[] { 99, 0, 0, 131072}); this.txtLowestOddValue.Properties.MinValue = new decimal(new int[] { 4, 0, 0, 65536}); this.txtLowestOddValue.Size = new System.Drawing.Size(85, 20); this.txtLowestOddValue.TabIndex = 12; // // labelControl9 // this.labelControl9.Enabled = false; this.labelControl9.Location = new System.Drawing.Point(8, 105); this.labelControl9.Name = "labelControl9"; this.labelControl9.Size = new System.Drawing.Size(90, 13); this.labelControl9.TabIndex = 11; this.labelControl9.Text = "Lowest Odd Value:"; // // 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.Enabled = false; this.checkEdit6.Location = new System.Drawing.Point(5, 352); this.checkEdit6.Name = "checkEdit6"; this.checkEdit6.Properties.Caption = "Non-Live"; this.checkEdit6.Size = new System.Drawing.Size(190, 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.Enabled = false; this.checkEdit5.Location = new System.Drawing.Point(5, 327); this.checkEdit5.Name = "checkEdit5"; this.checkEdit5.Properties.Caption = "Live"; this.checkEdit5.Size = new System.Drawing.Size(190, 19); this.checkEdit5.TabIndex = 7; // // 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.EditValue = true; this.checkEdit7.Enabled = false; this.checkEdit7.Location = new System.Drawing.Point(5, 52); this.checkEdit7.Name = "checkEdit7"; this.checkEdit7.Properties.Caption = "Over/Under from min 30"; this.checkEdit7.Size = new System.Drawing.Size(190, 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(5, 302); this.checkEdit12.Name = "checkEdit12"; this.checkEdit12.Properties.Caption = "IBET Under mode"; this.checkEdit12.Size = new System.Drawing.Size(190, 19); this.checkEdit12.TabIndex = 23; // // 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.Enabled = false; this.checkEdit4.Location = new System.Drawing.Point(115, 26); this.checkEdit4.Name = "checkEdit4"; this.checkEdit4.Properties.Caption = "Over/Under"; this.checkEdit4.Size = new System.Drawing.Size(80, 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.Enabled = false; 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.chkFollowPercent); this.groupControl4.Controls.Add(this.txtIBETFixedStake); this.groupControl4.Controls.Add(this.labelControl11); this.groupControl4.Controls.Add(this.labelControl6); this.groupControl4.Controls.Add(this.txtAllowTradeMinValue); this.groupControl4.Controls.Add(this.txtFollowPercent); this.groupControl4.Location = new System.Drawing.Point(621, 3); this.groupControl4.Name = "groupControl4"; this.groupControl4.Size = new System.Drawing.Size(200, 147); this.groupControl4.TabIndex = 12; this.groupControl4.Text = "Stake Settings"; // // chkFollowPercent // this.chkFollowPercent.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.chkFollowPercent.EditValue = true; this.chkFollowPercent.Location = new System.Drawing.Point(3, 52); this.chkFollowPercent.Name = "chkFollowPercent"; this.chkFollowPercent.Properties.Caption = "Follow Percent (%)"; this.chkFollowPercent.Size = new System.Drawing.Size(123, 19); this.chkFollowPercent.TabIndex = 34; // // 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[] { 5, 0, 0, 0}); this.txtIBETFixedStake.Location = new System.Drawing.Point(132, 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(63, 20); this.txtIBETFixedStake.TabIndex = 1; // // labelControl11 // this.labelControl11.Location = new System.Drawing.Point(7, 83); this.labelControl11.Name = "labelControl11"; this.labelControl11.Size = new System.Drawing.Size(117, 13); this.labelControl11.TabIndex = 33; this.labelControl11.Text = "Minimum Stake Following"; // // 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:"; // // txtAllowTradeMinValue // this.txtAllowTradeMinValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtAllowTradeMinValue.EditValue = new decimal(new int[] { 100, 0, 0, 0}); this.txtAllowTradeMinValue.Location = new System.Drawing.Point(132, 80); this.txtAllowTradeMinValue.Name = "txtAllowTradeMinValue"; this.txtAllowTradeMinValue.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtAllowTradeMinValue.Properties.MaxValue = new decimal(new int[] { 5000, 0, 0, 0}); this.txtAllowTradeMinValue.Properties.MinValue = new decimal(new int[] { 5, 0, 0, 0}); this.txtAllowTradeMinValue.Size = new System.Drawing.Size(63, 20); this.txtAllowTradeMinValue.TabIndex = 32; // // txtFollowPercent // this.txtFollowPercent.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtFollowPercent.EditValue = new decimal(new int[] { 10, 0, 0, 0}); this.txtFollowPercent.Location = new System.Drawing.Point(132, 51); this.txtFollowPercent.Name = "txtFollowPercent"; this.txtFollowPercent.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtFollowPercent.Properties.MaxValue = new decimal(new int[] { 100, 0, 0, 0}); this.txtFollowPercent.Properties.MinValue = new decimal(new int[] { 1, 0, 0, 0}); this.txtFollowPercent.Size = new System.Drawing.Size(63, 20); this.txtFollowPercent.TabIndex = 10; // // 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.txtListFollowAccounts); this.groupControl6.Location = new System.Drawing.Point(827, 3); this.groupControl6.Name = "groupControl6"; this.groupControl6.Size = new System.Drawing.Size(293, 147); this.groupControl6.TabIndex = 19; this.groupControl6.Text = "Following Accounts"; // // txtListFollowAccounts // this.txtListFollowAccounts.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.txtListFollowAccounts.EditValue = "FOLLOW HERE"; this.txtListFollowAccounts.Location = new System.Drawing.Point(5, 25); this.txtListFollowAccounts.Name = "txtListFollowAccounts"; this.txtListFollowAccounts.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 14F); this.txtListFollowAccounts.Properties.Appearance.Options.UseFont = true; this.txtListFollowAccounts.Size = new System.Drawing.Size(283, 117); this.txtListFollowAccounts.TabIndex = 20; // // xtraTabPage5 // this.xtraTabPage5.Controls.Add(this.grdTransaction); this.xtraTabPage5.Name = "xtraTabPage5"; this.xtraTabPage5.Size = new System.Drawing.Size(1124, 153); 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, 153); 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.gridColumn10, this.gridColumn13, this.gridColumn39}); 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 = 2; this.gridColumn2.Width = 187; // // 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 = 3; this.gridColumn3.Width = 187; // // 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 = 4; 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 = 5; // // 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 = 6; 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 = 7; 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 = 8; this.gridColumn8.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; // // gridColumn13 // this.gridColumn13.Caption = "DateTime"; this.gridColumn13.DisplayFormat.FormatString = "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 = 10; this.gridColumn13.Width = 80; // // gridColumn39 // this.gridColumn39.Caption = "Follow Ref"; this.gridColumn39.FieldName = "FollowRef"; this.gridColumn39.Name = "gridColumn39"; this.gridColumn39.Visible = true; this.gridColumn39.VisibleIndex = 1; // // labelControl5 // this.labelControl5.Location = new System.Drawing.Point(5, 9); this.labelControl5.Name = "labelControl5"; this.labelControl5.Size = new System.Drawing.Size(0, 13); this.labelControl5.TabIndex = 6; this.labelControl5.Text = "Address:"; // // FollowSub // this.ClientSize = new System.Drawing.Size(1130, 742); this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.ribbonControl1); this.Icon = global::iBet.App.Properties.Resources._2; this.Name = "FollowSub"; this.Ribbon = this.ribbonControl1; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "IBET follow SUB"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TerminalFormIBETSBO_FormClosing); ((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.xtraTabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).EndInit(); this.panelControl5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit(); this.panelControl4.ResumeLayout(false); this.panelControl4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbeSignatureTemplate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIBETAddress.Properties)).EndInit(); this.xtraTabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); this.panelControl3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); this.panelControl2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.chooseSBOServer.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETAddress.Properties)).EndInit(); this.xtraTabPage3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdSameMatch)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.xtraTabPage6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridNonLiveMatch)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView4)).EndInit(); this.tabBetList.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdBetList)).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.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.chkProxy.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.chkEnable.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chkFollowType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLowestOddValue.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.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.chkFollowPercent.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIBETFixedStake.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAllowTradeMinValue.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFollowPercent.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).EndInit(); this.groupControl6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtListFollowAccounts.Properties)).EndInit(); this.xtraTabPage5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); this.ResumeLayout(false); }
private void OnModulesChanged(IEnumerable<IVisualServiceMetadata> modules) { var moduleSorterService = VisualMainWindow.ApplicationProxy.ServicePool.GetSingelService<IModuleSorterService>(); var arrModules = moduleSorterService.Sort(modules.Select(moduleSorterService.GenerateDescriptor) .Except(new List<ModuleLayoutDescriptor> { null })); var barManager = Parent as RibbonControl; if (null == barManager) return; Pages.Clear(); foreach (ModuleLayoutDescriptor mod in arrModules) { mod.OnVisibilityChangedDelegate = OnVisibilityChanged; RibbonPage page = Pages.FirstOrDefault(p => p.Caption.ToString() == mod.Page /*Page.Name*/); if (null == page) { page = new RibbonPage { Caption = mod.Page }; Pages.Add(page); } RibbonPageGroup group = page.Groups.FirstOrDefault(g => g.Caption == mod.Group); if (null == group) { group = new RibbonPageGroup { Caption = mod.Group }; page.Groups.Add(group); } string name = mod.Label.Replace(" ", "_"); var bbi = new BarButtonItem(); bbi.SetBinding(BarItem.CommandProperty, new Binding("BarButtonItemCommand")); bbi.SetValue(BarItem.CommandParameterProperty, mod); bbi.Name = name; bbi.Tag = mod; bbi.IsEnabled = true; // mod.Enabled; bbi.IsVisible = mod.Visible; if (mod.LargeGlyph != null) { bbi.RibbonStyle = RibbonItemStyles.Large; bbi.LargeGlyph = mod.LargeGlyph; } bbi.Content = mod.Label; group.ItemLinks.Add(bbi); } UpdateVisibility(); }
void ShowAppointmentCategory() { if (appointmentCategory == null) return; if (lastSelectedPage == null) lastSelectedPage = ribbon.SelectedPage; appointmentCategory.Visible = true; ribbon.SelectedPage = GetFirstVisiblePage(appointmentCategory); }
public void Adapter(RibbonPage ribbonPage, string[] strCommands) { AddCommands(strCommands); Adapter(ribbonPage); }
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); }
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); }