private void InitializeComponent() { this.label1 = new Label(); this.grbMain = new GroupControl(); this.rbOr = new CheckEdit(); this.rbAnd = new CheckEdit(); this.piSecond = new ComboBoxEdit(); this.piFirst = new ComboBoxEdit(); this.btnOK = new SimpleButton(); this.btnCancel = new SimpleButton(); this.pnlMain = new PanelControl(); this.grbMain.BeginInit(); this.grbMain.SuspendLayout(); this.rbOr.Properties.BeginInit(); this.rbAnd.Properties.BeginInit(); this.piSecond.Properties.BeginInit(); this.piFirst.Properties.BeginInit(); this.pnlMain.BeginInit(); this.pnlMain.SuspendLayout(); base.SuspendLayout(); this.label1.AutoSize = true; this.label1.Location = new Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new Size(0x61, 14); this.label1.TabIndex = 0; this.label1.Text = "Show rows where:"; this.grbMain.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.grbMain.Controls.AddRange(new Control[] { this.rbOr, this.rbAnd, this.piSecond, this.piFirst }); this.grbMain.Location = new Point(8, 0x18); this.grbMain.Name = "grbMain"; this.grbMain.Size = new Size(0x174, 0x6c); this.grbMain.TabIndex = 1; this.rbOr.Location = new Point(0x5e, 0x34); this.rbOr.Name = "rbOr"; this.rbOr.Properties.Caption = "&Or"; this.rbOr.Properties.CheckStyle = CheckStyles.Radio; this.rbOr.Properties.RadioGroupIndex = 0; this.rbOr.Size = new Size(0x38, 20); this.rbOr.TabIndex = 14; this.rbAnd.Location = new Point(0x26, 0x34); this.rbAnd.Name = "rbAnd"; this.rbAnd.Properties.Caption = "&And"; this.rbAnd.Properties.CheckStyle = CheckStyles.Radio; this.rbAnd.Properties.RadioGroupIndex = 0; this.rbAnd.Size = new Size(0x38, 20); this.rbAnd.TabIndex = 13; this.piSecond.EditValue = ""; this.piSecond.Location = new Point(12, 0x4c); this.piSecond.Name = "piSecond"; this.piSecond.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); this.piSecond.Properties.TextEditStyle = TextEditStyles.DisableTextEditor; this.piSecond.Size = new Size(0xa4, 0x15); this.piSecond.TabIndex = 0x19; this.piFirst.EditValue = ""; this.piFirst.Location = new Point(12, 0x1c); this.piFirst.Name = "piFirst"; this.piFirst.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); this.piFirst.Properties.TextEditStyle = TextEditStyles.DisableTextEditor; this.piFirst.Size = new Size(0xa4, 0x15); this.piFirst.TabIndex = 2; this.btnOK.Anchor = AnchorStyles.Right | AnchorStyles.Top; this.btnOK.DialogResult = DialogResult.OK; this.btnOK.Location = new Point(0xbc, 140); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(0x5c, 0x19); this.btnOK.TabIndex = 0; this.btnOK.Text = "&OK"; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Top; this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Location = new Point(0x120, 140); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x5c, 0x19); this.btnCancel.TabIndex = 1; this.btnCancel.Text = "&Cancel"; this.pnlMain.BorderStyle = BorderStyles.NoBorder; this.pnlMain.Controls.AddRange(new Control[] { this.btnCancel, this.btnOK, this.grbMain, this.label1 }); this.pnlMain.Dock = DockStyle.Fill; this.pnlMain.Name = "pnlMain"; this.pnlMain.Size = new Size(0x184, 0xaf); this.pnlMain.TabIndex = 0; base.AcceptButton = this.btnOK; base.CancelButton = this.btnCancel; base.ClientSize = new Size(0x184, 0xaf); base.Controls.AddRange(new Control[] { this.pnlMain }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "FilterCustomDialog"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Custom AutoFilter"; this.grbMain.EndInit(); this.grbMain.ResumeLayout(false); this.rbOr.Properties.EndInit(); this.rbAnd.Properties.EndInit(); this.piSecond.Properties.EndInit(); this.piFirst.Properties.EndInit(); this.pnlMain.EndInit(); this.pnlMain.ResumeLayout(false); base.ResumeLayout(false); }
/// <summary> Закрытие всех ордеров или просмотр инфо по стоп-заявкам </summary> /// <param name="panel"></param> /// <param name="showInfo"></param> protected void CloseAllStopOrders(PanelControl panel, bool showInfo = false) { if (showInfo) { var pos = Parent.Trader.Objects.tPositions.SearchFirst(p => p.Sec == panel.TrElement.Security); var orders = Parent.Trader.Objects.tOrders.SearchAll(p => p.Sec == panel.TrElement.Security && p.IsActive()); var stop_orders = Parent.Trader.Objects.tStopOrders.SearchAll(p => p.Sec == panel.TrElement.Security && p.IsActive()); string text = "Инфо по " + panel.TrElement.Security + ": \n"; text += "Позиций: " + (pos.NotIsNull() ? pos.Data.CurrentNet : 0) + "\n"; text += "Заявок BUY: " + (orders.Where(o => o.IsBuy()).Count()) + " (" + (orders.Where(o => o.IsBuy()).Sum(o => o.Balance)) + ")\n"; text += "Заявок SELL: " + (orders.Where(o => o.IsSell()).Count()) + " (" + (orders.Where(o => o.IsSell()).Sum(o => o.Balance)) + ")\n"; text += "Стоп заявок BUY: " + (stop_orders.Where(o => o.IsBuy()).Count()) + " (" + (stop_orders.Where(o => o.IsBuy()).Sum(o => o.Volume)) + ")\n"; text += "Стоп заявок SELL: " + (stop_orders.Where(o => o.IsSell()).Count()) + " (" + (stop_orders.Where(o => o.IsSell()).Sum(o => o.Volume)) + ")\n"; MessageBox.Show(text); return; } else { CancelAllStopOrders(panel); } }
private void frmFollowUpReg_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); t_panel = panelControl1; if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D") { CheckPermission(); } bool bAns = CallSheetEntryBL.GetOtherExecCall(); if (bAns == true) { ChkExec.Visibility = BarItemVisibility.Always; } else { ChkExec.Visibility = BarItemVisibility.Never; } deFrom.EditValue = Convert.ToDateTime(DateTime.Now.AddMonths(-1)); deTo.EditValue = Convert.ToDateTime(DateTime.Now); FillExec(); }
public MainFormPresenter(PanelControl modulesPanel, MainFormViewModel viewModel) { modulesCache = new Dictionary <ModuleType, System.Windows.Forms.UserControl>(); this.modulesPanel = modulesPanel; this.viewModelCore = viewModel; ViewModel.SelectedModuleTypeChanged += ViewModel_SelectedModuleTypeChanged; }
private void InitializeComponent() { ComponentResourceManager resources = new ComponentResourceManager(typeof(FrmBlock)); this.panelControl1 = new PanelControl(); this.labelControl1 = new LabelControl(); this.simpleButton1 = new SimpleButton(); ((ISupportInitialize)this.panelControl1).BeginInit(); base.SuspendLayout(); this.panelControl1.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right); this.panelControl1.Appearance.BackColor = Color.Transparent; this.panelControl1.Appearance.Options.UseBackColor = true; this.panelControl1.BorderStyle = BorderStyles.NoBorder; this.panelControl1.Location = new Point(442, 150); this.panelControl1.LookAndFeel.SkinName = "Sharp Plus"; this.panelControl1.Margin = new Padding(3, 4, 3, 4); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new Size(649, 537); this.panelControl1.TabIndex = 1; this.labelControl1.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.labelControl1.Appearance.Font = new Font("宋体", 24f, FontStyle.Bold, GraphicsUnit.Point, 134); this.labelControl1.Appearance.ForeColor = Color.Lime; this.labelControl1.Location = new Point(418, 15); this.labelControl1.Margin = new Padding(3, 4, 3, 4); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new Size(410, 40); this.labelControl1.TabIndex = 2; this.labelControl1.Text = "整车设故考核实训系统"; this.simpleButton1.Location = new Point(734, 90); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.RightToLeft = RightToLeft.No; this.simpleButton1.Size = new Size(195, 23); this.simpleButton1.TabIndex = 3; this.simpleButton1.Text = "simpleButton1"; this.simpleButton1.Visible = false; this.simpleButton1.Click += new EventHandler(this.simpleButton1_Click); base.AutoScaleDimensions = new SizeF(8f, 18f); base.AutoScaleMode = AutoScaleMode.Font; base.BackgroundImageLayoutStore = ImageLayout.Stretch; base.BackgroundImageStore = (Image)resources.GetObject("$this.BackgroundImageStore"); base.ClientSize = new Size(1145, 716); base.Controls.Add(this.simpleButton1); base.Controls.Add(this.labelControl1); base.Controls.Add(this.panelControl1); this.DoubleBuffered = true; base.FormBorderEffect = FormBorderEffect.Glow; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Icon = (Icon)resources.GetObject("$this.Icon"); base.LookAndFeel.SkinName = "McSkin"; base.LookAndFeel.UseDefaultLookAndFeel = false; base.Margin = new Padding(3, 4, 3, 4); base.MaximizeBox = false; base.Name = "FrmBlock"; base.StartPosition = FormStartPosition.CenterScreen; base.FormClosed += new FormClosedEventHandler(this.FrmBlock_FormClosed); base.Load += new EventHandler(this.FrmBlock_Load); ((ISupportInitialize)this.panelControl1).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
public static void centralizaControlsPainel(PanelControl p) { foreach (Control cp in p.Controls) { cp.Location = centralizaUserControl(p, cp); } }
public Bitmap PrintRealtimeInfoStat_Teacher_Graphic(string getDept,PanelControl pControl,string getState) { if ( getState.Equals("上班情况") ) return new RealtimeInfoStat_TeacherPrintRules().RealtimeMorningInfoStat_TeacherGraphPrint(getDept,pControl); else return new RealtimeInfoStat_TeacherPrintRules().RealtimeBackInfoStat_TeacherGraphPrint(getDept,pControl); }
public static void ChangeLanguagePanelControl(PanelControl panelControl) { foreach (Control control in panelControl.Controls) { RecursivePocessing(control); } }
public MRUArrayList(PanelControl cont, Image iChecked, Image iUnchecked) : base() { this.imgChecked = iChecked; this.imgUncheked = iUnchecked; this.container = cont; }
void ctrl_OnExitControlEvent(Xtra_UC_Base sender, PanelControl panel) { if (panel.Contains(sender)) { RemoveControlFromPannel((Xtra_UC_Base)sender); } }
private void CreateChildsComponents() { _tempCursor = new PanelControl() { FrameName = "WeaterTemperature", Bounds = new UniRectangle(-16, 0, 16, 16) }; _moistureCursor = new PanelControl() { FrameName = "WeaterMoisture", Bounds = new UniRectangle(new UniScalar(1.0f, 0.0f), 0, 16, 16) }; _weatherPanel = ToDispose(new PanelControl() { IsRendable = false, FrameName = "panel", Bounds = new UniRectangle(new UniScalar(1.0f, -60.0f), 100, 30, 120) }); _weatherPanel.Children.Add(_tempCursor); _weatherPanel.Children.Add(_moistureCursor); _weatherFrame = new PanelControl() { FrameName = "WeaterConditions", Bounds = new UniRectangle(5, 5, 20, new UniScalar(1.0f, -10)) }; _weatherPanel.Children.Add(_weatherFrame); this.Children.Add(_weatherPanel); }
public FileControl(PanelControlTag PanelTag) { InitializeComponent(); ThingPanelControl = new PanelControl(PanelTag); ThingPanelControl.ContentHolder.Children.Add(this); this.PanelTag = PanelTag; foreach (OWLOSFile File in PanelTag.Thing.files.filesList) { FileItem Item; Item = new FileItem() { ParentListView = FilesListView, FileName = File.name, FileSize = File.size, LastOperation = DateTime.Now.ToString(), }; //File.OnFileDelete += Item.OwlosFile_OnFileDelete; PanelTag.Thing.files.OnNewFile += Files_OnNewFile; FilesListView.Items.Add(Item); } }
public GridWithFilterPanelButtons() { InitializeComponent(); CustomGridControl customGridControl = new CustomGridControl(); customGridControl.Dock = DockStyle.Fill; customGridControlView = new CustomGridControlView(); customGridControl.MainView = customGridControlView; customGridControl.DataSource = new List <TestData>() { new TestData("Test1", true), new TestData("Test2", false), new TestData("Test3", true) }; customGridControlView.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.ShowAlways; EditorButton btn = new EditorButton(ButtonPredefines.OK); AddCustomFilterPanelButton(ButtonPredefines.Redo, isLeft: false); AddCustomFilterPanelButton(ButtonPredefines.Plus, isNeedClickEvent: false); SimpleButton button = new SimpleButton(); button.Click += OnAddButton; button.Dock = DockStyle.Left; button.Text = "AddCustomFilterPanelButton"; button.Width = 150; PanelControl panelControl = new PanelControl(); panelControl.Height = 30; panelControl.Dock = DockStyle.Bottom; panelControl.Controls.Add(button); Controls.Add(customGridControl); Controls.Add(panelControl); }
void Start() { GameController.OnlineDel += testExe;// lineRenderer = GetComponent <LineRenderer>(); // Controllers manualInputControl = GetComponent <ManualInputControl>(); selectionControl = GetComponent <SelectionControl>(); targetControl = GetComponent <TargetControl>(); commandControl = GetComponent <CommandControl>(); panelControl = GetComponent <PanelControl>(); //selectionControl.SetActiveAxis(target, false); axisCamera.SetActive(true); defaultPosition = target.position; target.GetComponent <ClampName>().textPanel.gameObject.SetActive(false); target.gameObject.SetActive(false); // Initial target //Destroy(target.GetComponent<ClampName>().textPanel.gameObject); //Destroy(target.gameObject); //SetTarget(targetControl.GetTarget(0)); //selectionControl.SetActiveAxis(targetControl.GetTarget(0), false); UpdateTargets(targetControl.GetNames()); commandsDropdown.AddOptions(commandControl.GetNames()); CommandsDropdown_IndexChanged(0); }
/// <summary> /// Gắn CurrentNews vào PanelControl /// </summary> /// <param name="panel"></param> public static CurrentNews InitLastestNews(PanelControl panel) { CurrentNews ctr = new CurrentNews(); ctr.Dock = DockStyle.Fill; panel.Controls.Add(ctr); return ctr; }
/// <summary> /// Do common setup of tabs in visualization property dialogs /// </summary> public static void AdjustPropertyPageTabs( XtraTabControl tabCtl, TreeView treeViewCtl, PanelControl containerPanel) { treeViewCtl.Dock = DockStyle.Fill; containerPanel.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; tabCtl.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; tabCtl.Dock = DockStyle.None; tabCtl.Location = new Point(-1, -1); tabCtl.Size = new Size(containerPanel.Width + 5, containerPanel.Height + 4); //Tabs.Size = new Size(TabsContainerPanel.Width - 10, TabsContainerPanel.Height - 10); tabCtl.ShowTabHeader = DevExpress.Utils.DefaultBoolean.False; tabCtl.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))); // Populates the left-side property page selector treeViewCtl.Nodes.Clear(); foreach (XtraTabPage page in tabCtl.TabPages) { TreeNode node = new TreeNode(page.Text); node.Tag = page; treeViewCtl.Nodes.Add(node); } return; }
private void updatePanelSize(PanelControl panelControl) { var panelSize = new Size(PANEL_WITDH, PANEL_HEIGHT); panelControl.MinimumSize = panelSize; panelControl.MaximumSize = panelSize; }
public override void LayoutContent(GameObject[] components, PanelControl container) { if (components.Length != 4) { Debug.LogWarning("number of compenents is not equal to 4..."); } MeshRenderer renderer = container.GetComponent <MeshRenderer>(); Vector3 center = renderer.bounds.center; Vector3 extents = renderer.bounds.extents; Vector3[] positions = new Vector3[] { center - extents, center + extents - new Vector3(0.0f, extents.y, 0.0f), center + extents - new Vector3(extents.x, 0.0f, 0.0f), center + extents }; for (int i = 0; i < positions.Length; i++) { components[i].transform.position = positions[i]; } }
public void addNewTab(string tabName, UserControl uc) { foreach (XtraTabPage tabpage in tabContent.TabPages) { if (tabName == tabpage.Text) { tabContent.SelectedTabPage = tabpage; return; } } //tao 1 panel PanelControl panel = new PanelControl(); panel.Dock = DockStyle.Fill; panel.Name = "panel" + tabName; panel.TabIndex = 2; //tao tabpage XtraTabPage newtabPage = new XtraTabPage(); newtabPage.Name = tabName; newtabPage.Text = tabName; //add user control vao panel uc.Dock = DockStyle.Fill; panel.Controls.Add(uc); newtabPage.Controls.Add(panel); tabContent.TabPages.Add(newtabPage); tabContent.SelectedTabPage = newtabPage; }
public Bitmap RealtimeInfoPrint_Graphic(string getGrade,string getClass,PanelControl pControl,string getState) { if ( getState.Equals("晨检") ) return realTimeInfoPrintRules.Pie_MorningInfoStat(getGrade,getClass,DateTime.Now.Date,pControl); else return realTimeInfoPrintRules.Pie_BackInfoStat(getGrade,getClass,DateTime.Now.Date,pControl); }
private void VSsr_Scroll(object sender, ScrollEventArgs e) { int i = e.NewValue; PanelControl p = (sender as DevExpress.XtraEditors.VScrollBar).Tag as PanelControl; p.Top = 0 - (i) * 100; }
private int currscene_index;//当前场景索引 //0为主菜单,1为测试模块,2为布线模块 private void Awake() { cameraset.SetActive(false); curr_index = -1;//未进入答题模式时数值为-1 net_scale = 0.1f; init_answer_vector(); #region 脚本获取 rate_pro = GetComponent <rate_progress>(); panelControl = GetComponent <PanelControl>(); scrollbar_Control = GetComponent <scrollbar_control>(); #endregion #region UI动画参数ID转化 warning_value = Animator.StringToHash("is_warning"); scene_index = Animator.StringToHash("scene_index"); index_exist = Animator.StringToHash("index_set"); main1_out = Animator.StringToHash("main1_act"); main2_exist = Animator.StringToHash("main2_exist"); envi_value = Animator.StringToHash("testpanel1_exist"); anim_speed = Animator.StringToHash("anim_speed"); netinit_enter = Animator.StringToHash("netinit_enter"); test1_value = Animator.StringToHash("testindex_isenter"); tools_value = Animator.StringToHash("tools_exist"); progress_value = Animator.StringToHash("pro_panel_enter"); problem_para = Animator.StringToHash("problem_par"); test_1_value = Animator.StringToHash("test_panel_1_enter"); #endregion }
/// <summary> /// Set the tool bar tools in the upper right corner of the QueryResultsControl /// </summary> /// <param name="tools"></param> /// <param name="zoomPct">Percent to show on zoom control, hide control if negative</param> internal void SetToolBarTools( PanelControl tools, int zoomPct) { ToolPanel.Controls.Clear(); if (tools != null) { ResultsPageControl rpc = ResultsPageControl; if (rpc == null) { throw new Exception("ResultsPageControl not defined"); } int width = tools.Width; ToolPanel.Width = width; ToolPanel.Left = Width - width; rpc.SetupTools(tools); ToolPanel.Controls.Add(tools); // add tools for the view tools.Location = new Point(0, 0); // position in upper left corner Tabs.Width = (ToolPanel.Left - 6) - Tabs.Left; } SetZoomSliderPct(zoomPct); //Application.DoEvents(); // update the UI return; }
private void InitializeComponent() { this.navBarControl1 = new DevExpress.XtraNavBar.NavBarControl(); this.navBarGroup1 = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarPanel = new PanelControl(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // navBarControl1 // this.navBarControl1.ContentButtonHint = null; this.navBarControl1.Name = "navBarControl1"; this.navBarControl1.OptionsNavPane.ExpandedWidth = 140; this.navBarControl1.Text = "navBarControl1"; this.navBarControl1.Groups.Add(navBarGroup1); this.navBarControl1.AllowSelectedLink = true; this.navBarControl1.Dock = System.Windows.Forms.DockStyle.Fill; ((MyWizardViewInfo)ViewInfo).UpdateNavBarBounds(); navBarPanel.Controls.Add(navBarControl1); // // navBarGroup1 // this.navBarGroup1.Caption = "Steps"; this.navBarGroup1.Expanded = true; this.navBarGroup1.Name = "navBarGroup1"; this.Controls.Add(navBarPanel); ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }
private void KhoiTaoBan(string MaKV) { PanelControl p1 = new PanelControl(); p1.Text = MaKV; p1.Dock = DockStyle.Fill; p1.Visible = true; this.Controls.Add(p1); lPan.Add(p1); p1.BringToFront(); string sql = "select * from dmban where MaPOSArea='" + MaKV + "'"; DataTable tb = db.GetDataTable(sql); int x = 0; int y = 0; foreach (DataRow dr in tb.Rows) { cBan cb = new cBan(dr["MaBan"].ToString()); cb.Top = y; cb.Left = x; cb.Visible = true; p1.Controls.Add(cb); cb.ChonBan += new EventHandler(cb_ChonBan); if (x > this.Width - 2 * cb.Width) { x = 0; y += cb.Height + 2; } else { x += cb.Width + 2; } } }
/// <summary> /// 系統設定按鈕 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void SettingbarButtonItem_ItemClick(object sender, ItemClickEventArgs e) { AfterLockFlag = LockFlag; LockFlag = false; if (!FlyoutFlag) { FlyoutFlag = true; PanelControl panelControl = new PanelControl() { Size = new Size(418, 492) }; flyout = new FlyoutDialog(this, panelControl); flyout.Properties.Style = FlyoutStyle.Popup; SystemSettingUserControl systemSettingUserControl = new SystemSettingUserControl(BankAccountSetting) { Form1 = this }; systemSettingUserControl.Parent = panelControl; flyout.Show(); } else { FlyoutFlag = false; flyout.Close(); } }
public Form1() { InitializeComponent(); InitializeBitMap(); RunningIn32BitModeScreen.Location = new System.Drawing.Point(2, 2); this.PanelBits.Controls.Add(RunningIn32BitModeScreen); RunningIn32BitModeScreen.BringToFront(); RunningIn32BitModeScreen.Visible = false; foreach (var PanelControl in this.PanelBits.Controls) { switch (PanelControl.GetType().ToString()) { case "System.Windows.Forms.TextBox": ((TextBox)PanelControl).Text = "0"; ((TextBox)PanelControl).Enabled = false; ((TextBox)PanelControl).TextChanged += new System.EventHandler(this.NibbleX_TextChanged); break; case "System.Windows.Forms.Label": if (true == ((Label)PanelControl).Name.StartsWith("Bit")) { ((Label)PanelControl).Text = "0"; ((Label)PanelControl).Click += new System.EventHandler(this.BitX_Click); } break; default: break; } } /*Make 32Bit as default*/ rb32BitMode.Checked = Properties.Settings.Default.LastWorkingMode; }
protected virtual void ControlStateChanged() { if (PanelControl != null) { PanelControl.RefreshState(); } }
public PassingParametersToCommandsUserControl() { InitializeComponent(); #region SetUp MVVMContext mvvmContext = new MVVMContext(); mvvmContext.ContainerControl = this; PanelControl panel = new PanelControl(); panel.Dock = DockStyle.Top; panel.Parent = this; LabelControl label = new LabelControl(); label.Text = "Click to Execute Command"; label.Dock = DockStyle.Fill; label.AutoSizeMode = LabelAutoSizeMode.None; label.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; label.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; label.Parent = panel; #endregion SetUp #region #passingParametersToCommands mvvmContext.ViewModelType = typeof(MouseDownAwareViewModel); // UI binding for the EventToCommand behavior mvvmContext.OfType <MouseDownAwareViewModel>() .WithEvent <MouseEventArgs>(label, "MouseDown") .EventToCommand(x => x.Report((string)null), x => x.Message); #endregion #passingParametersToCommands }
private void btnEdit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (BsfGlobal.FindPermission("Post-Followup-Modify") == false) { MessageBox.Show("You don't have Rights to Post-Followup-Modify"); return; } //bar1.Visible = false; if (grdViewCall.FocusedRowHandle >= 0) { int iEntryId = 0; iEntryId = Convert.ToInt32(grdViewCall.GetFocusedRowCellValue("EntryId").ToString()); frmFollowUp frm = new frmFollowUp() { TopLevel = false, FormBorderStyle = System.Windows.Forms.FormBorderStyle.None, Dock = DockStyle.Fill }; if (BsfGlobal.g_bWorkFlow == true) { m_oGridMasterView = grdViewCall; m_oGridMasterView.FocusedRowHandle = grdViewCall.FocusedRowHandle; BsfGlobal.g_bTrans = true; m_oDW = (Telerik.WinControls.UI.Docking.DocumentWindow)BsfGlobal.g_oDock.ActiveWindow; m_oDW.Hide(); BsfGlobal.g_bTrans = false; Cursor.Current = Cursors.WaitCursor; PanelControl oPanel = new PanelControl(); oPanel = BsfGlobal.GetPanel(frm, "Post-FollowUp Entry"); if ((oPanel == null)) { return; } oPanel.Controls.Clear(); oPanel.Controls.Add(frm); frm.Execute(iEntryId, "E"); oPanel.Visible = true; Cursor.Current = Cursors.Default; } else { iEntryId = Convert.ToInt32(grdViewCall.GetFocusedRowCellValue("EntryId").ToString()); CommFun.DW1.Hide(); frm = new frmFollowUp(); CommFun.DW2.Text = "Post-FollowUp Entry"; frm.TopLevel = false; CommFun.RP2.Controls.Clear(); frm.FormBorderStyle = FormBorderStyle.None; frm.Dock = DockStyle.Fill; CommFun.RP2.Controls.Add(frm); frm.Execute(iEntryId, "E"); CommFun.DW2.Show(); //Cursor.Current = Cursors.WaitCursor; //panelControl1.Controls.Clear(); //panelControl1.Controls.Add(frm); //frm.Execute(iEntryId,"E"); //Cursor.Current = Cursors.Default; } } }
protected void AddContronToPannel(PanelEnum panelEnum, String assemblyInfo, object obj) { Fwk.UI.Controls.Menu.Tree.MenuItem item = new Fwk.UI.Controls.Menu.Tree.MenuItem(); item.AssemblyInfo = assemblyInfo; PanelControl wPanelControl = Get_Panel(panelEnum); userContrlManager1.AddContronToPannel(wPanelControl, item, obj); }
// Start is called before the first frame update void Start() { controlpanel = FindObjectOfType <PanelControl>(); m_player = FindObjectOfType <PlayerCurrentNextPref>(); m_player.SetPlayerLevelCompleted(0); setGameOverinfo(false); setlevelComplete(false); }
public void ShowControl(PanelControl panel, int id) { panel.Controls.Clear(); Control control = controlDict[id].ModeControl; control.Dock = DockStyle.Fill; panel.Controls.Add(control); }
public void AddContronToPannel(PanelEnum panelEnum, String assemblyInfo, object obj) { Fwk.UI.Controls.Menu.Tree.MenuItem item = new Fwk.UI.Controls.Menu.Tree.MenuItem(); item.AssemblyInfo = assemblyInfo; PanelControl wPanelControl = ((IfrmMainBase)_ParentForm).Get_Panel(panelEnum); AddContronToPannel(wPanelControl, item, obj); }
protected Control CreateHeaderControl() { PanelControl panel = new PanelControl(); panel.AddChild(new TextControl("Player", headerFont, Color.Turquoise, new Vector2(0, 0))); panel.AddChild(new TextControl("Score", headerFont, Color.Turquoise, new Vector2(200, 0))); return panel; }
public static void ShowInPanel(this Form form, PanelControl panel) { panel.Controls.Clear(); if (form != null) { form.TopLevel = false; form.FormBorderStyle = FormBorderStyle.None; form.Parent = panel; form.Visible = true; //panel.Controls.Add(form); form.Dock = DockStyle.Fill; } }
private void ActiveInactivePanel(PanelControl panel, CheckEdit ck) { foreach (Control c in panel.Controls) { if (c.GetType().ToString().Equals("DevExpress.XtraEditors.TextEdit")) { ((DevExpress.XtraEditors.TextEdit)c).Enabled = ck.Checked; } if (c.GetType().ToString().Equals("DevExpress.XtraEditors.LabelControl")) { ((DevExpress.XtraEditors.LabelControl)c).Enabled = ck.Checked; } vTrailer1.RemoveControlError(c); vTrailer2.RemoveControlError(c); vTrailer3.RemoveControlError(c); } }
// Create a Control to display one entry in a leaderboard. The content is broken out into a parameter // list so that we can easily create a control with fake data when running under the emulator. // // Note that for time leaderboards, this function interprets the time as a count in seconds. The // value posted is simply a long, so your leaderboard might actually measure time in ticks, milliseconds, // or microfortnights. If that is the case, adjust this function to display appropriately. protected Control CreateLeaderboardEntryControl(string player, long rating, TimeSpan time) { Color textColor = Color.White; var panel = new PanelControl(); // Player name panel.AddChild( new TextControl { Text = player, Font = detailFont, Color = textColor, Position = new Vector2(0, 0) }); // Score panel.AddChild( new TextControl { Text = String.Format("{0}", rating), Font = detailFont, Color = textColor, Position = new Vector2(200, 0) }); // Time panel.AddChild( new TextControl { Text = String.Format("Completed in {0:g}", time), Font = detailFont, Color = textColor, Position = new Vector2(400, 0) }); return panel; }
private void InitializeComponent(string msg, Image img, string[] buttonNames) { int y = 9; this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit(); this.lbText = new System.Windows.Forms.Label(); this.pc1 = new DevExpress.XtraEditors.PanelControl(); ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pc1)).BeginInit(); this.pc1.SuspendLayout(); this.SuspendLayout(); // // pictureEdit1 // this.pictureEdit1.Location = new System.Drawing.Point(12, y); this.pictureEdit1.Name = "pictureEdit1"; this.pictureEdit1.Image = img; 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.ShowMenu = false; this.pictureEdit1.Size = new System.Drawing.Size(54, 51); this.pictureEdit1.TabIndex = 7; // // lbText // this.lbText.AutoSize = true; this.lbText.Location = new System.Drawing.Point(83, y); this.lbText.Name = "lbText"; this.lbText.Size = new System.Drawing.Size(49, 13); this.lbText.TabIndex = 6; this.lbText.Text = msg; this.lbText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // pc1 // this.pc1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; // // buttons dynamic // this.nButtons = new SimpleButton[buttonNames.Length]; for (int i = buttonNames.Length - 1; i >= 0; i--) { SimpleButton bt = new DevExpress.XtraEditors.SimpleButton(); bt.Location = new System.Drawing.Point(width - 75 - 10 - ((buttonNames.Length - 1 - i) * 85), 5); bt.Name = i + ""; bt.Size = new System.Drawing.Size(sizetext_buttons[i] + margin_default, 23); bt.TabIndex = 0; bt.Text = buttonNames[i]; bt.Click += new System.EventHandler(this.userClick); bt.Tag = this.actions[i]; this.pc1.Controls.Add(bt); this.nButtons[i] = bt; } y = 71; //this.pc1.Dock = System.Windows.Forms.DockStyle.Bottom; this.pc1.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.pc1.Location = new System.Drawing.Point(0, y); this.pc1.Name = "pc1"; this.pc1.Size = new System.Drawing.Size(361, 32); this.pc1.TabIndex = 0; // // XMessageBox // this.ClientSize = new System.Drawing.Size(this.width, this.height); this.Controls.Add(this.pc1); this.Controls.Add(this.pictureEdit1); this.Controls.Add(this.lbText); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "XMessageBox"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pc1)).EndInit(); this.pc1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.sb2 = new DevExpress.XtraEditors.SimpleButton(); this.sb1 = new DevExpress.XtraEditors.SimpleButton(); this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit(); this.lbText = new System.Windows.Forms.Label(); this.pc1 = new DevExpress.XtraEditors.PanelControl(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.btnRestart = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pc1)).BeginInit(); this.pc1.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // sb2 // this.sb2.Location = new System.Drawing.Point(188, 3); this.sb2.Name = "sb2"; this.sb2.Size = new System.Drawing.Size(75, 23); this.sb2.TabIndex = 1; this.sb2.Text = "Không"; this.sb2.Click += new System.EventHandler(this.sb2_Click); // // sb1 // this.sb1.Location = new System.Drawing.Point(107, 3); this.sb1.Name = "sb1"; this.sb1.Size = new System.Drawing.Size(75, 23); this.sb1.TabIndex = 0; this.sb1.Text = "Có"; this.sb1.Click += new System.EventHandler(this.sb1_Click); // // pictureEdit1 // this.pictureEdit1.Location = new System.Drawing.Point(12, 9); 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.ShowMenu = false; this.pictureEdit1.Size = new System.Drawing.Size(54, 51); this.pictureEdit1.TabIndex = 7; // // lbText // this.lbText.AutoSize = true; this.lbText.Location = new System.Drawing.Point(83, 9); this.lbText.Name = "lbText"; this.lbText.Size = new System.Drawing.Size(49, 13); this.lbText.TabIndex = 6; this.lbText.Text = "Message\r\n"; this.lbText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // pc1 // this.pc1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pc1.Controls.Add(this.flowLayoutPanel1); this.pc1.Dock = System.Windows.Forms.DockStyle.Bottom; this.pc1.Location = new System.Drawing.Point(0, 71); this.pc1.Name = "pc1"; this.pc1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.pc1.Size = new System.Drawing.Size(361, 32); this.pc1.TabIndex = 0; // // flowLayoutPanel1 // this.flowLayoutPanel1.Controls.Add(this.btnRestart); this.flowLayoutPanel1.Controls.Add(this.sb2); this.flowLayoutPanel1.Controls.Add(this.sb1); this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(361, 32); this.flowLayoutPanel1.TabIndex = 0; // // btnRestart // this.btnRestart.Location = new System.Drawing.Point(269, 3); this.btnRestart.Name = "btnRestart"; this.btnRestart.Size = new System.Drawing.Size(89, 23); this.btnRestart.TabIndex = 2; this.btnRestart.Text = "Khởi động lại"; this.btnRestart.Visible = false; this.btnRestart.Click += new System.EventHandler(this.btnRestart_Click); // // PLMessageBoxExt // this.AcceptButton = this.sb2; this.ClientSize = new System.Drawing.Size(361, 103); this.Controls.Add(this.pc1); this.Controls.Add(this.pictureEdit1); this.Controls.Add(this.lbText); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "PLMessageBoxExt"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pc1)).EndInit(); this.pc1.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 创建指定数目的面板 /// </summary> /// <param name="count">要创建的面板个数</param> private void SetPanel(int count) { try { double marginLeft = this.Width; for (int i = 0; i < count; i++) { PanelControl panel = new PanelControl(marginLeft * i); PageControl page = new PageControl(false); this.maingrid.Children.Add(panel); this.pagingGrid.Children.Add(page); } } catch (Exception ee) { MyWork.NoteLog(ee); } }
public Bitmap Pie_BackInfoStat(string getGrade,string getClass,DateTime getDate,PanelControl pControl) { using ( RealtimeInfoDataAccess realTimeInfoDataAccess = new RealtimeInfoDataAccess() ) { try { int getHasGone = 0; int getHasnotGone = 0; int getStuNumbers = 0; realTimeInfoDataAccess.GetRealtimeBackInfo_Graphic(getGrade,getClass,getDate,ref getHasGone,ref getHasnotGone,ref getStuNumbers); double hasGonePer = (double)getHasGone/(double)getStuNumbers; double hasnotGonePer = (double)getHasnotGone/(double)getStuNumbers; zedGraph_RealTimeInfoStatStudent = new ZedGraphControl(); pControl.Controls.Clear(); pControl.Controls.Add(zedGraph_RealTimeInfoStatStudent); zedGraph_RealTimeInfoStatStudent.Dock = DockStyle.Fill; GraphPane myPane = zedGraph_RealTimeInfoStatStudent.GraphPane; if ( getGrade.Equals("") ) myPane.Title = new GardenInfoDataAccess().GetGardenInfo().Tables[0].Rows[0][1].ToString() + "全年级晚接信息统计图\n"+"统计日期: " + getDate.ToString("yyyy-MM-dd"); else if ( getClass.Equals("") ) myPane.Title = new GardenInfoDataAccess().GetGardenInfo().Tables[0].Rows[0][1].ToString() + new StuInfoDataAccess().GetGradeList("",getGrade).Tables[0].Rows[0][1].ToString() + "晚接信息统计图\n"+"统计日期: " + getDate.ToString("yyyy-MM-dd"); else myPane.Title = new GardenInfoDataAccess().GetGardenInfo().Tables[0].Rows[0][1].ToString() + new RealtimeInfoDataAccess().setClassList("",getClass,getGrade).Tables[0].Rows[0][1].ToString() + "晚接信息统计图\n"+"统计日期: " + getDate.ToString("yyyy-MM-dd"); double[] statusVal = { hasGonePer, hasnotGonePer }; string[] statusLabel = { "已接走", "未接走"}; myPane.PaneFill = new Fill( Color.Cornsilk ); myPane.AxisFill = new Fill( Color.Cornsilk ); myPane.Legend.Position = LegendPos.Right ; myPane.Legend.FontSpec.Size = 12; PieItem [] slices = new PieItem[statusVal.Length] ; slices = myPane.AddPieSlices ( statusVal, statusLabel ); ((PieItem)slices[0]).LabelType = PieLabelType.Percent ; ((PieItem)slices[0]).LabelDetail.FontSpec.Size = 14; ((PieItem)slices[1]).LabelType = PieLabelType.Percent ; ((PieItem)slices[1]).LabelDetail.FontSpec.Size = 14; ((PieItem)slices[1]).Displacement = .1 ; BoxItem box = new BoxItem( new RectangleF( 0F, 0F, 1F, 1F ), Color.Empty, Color.PeachPuff ); box.Location.CoordinateFrame = CoordType.AxisFraction; box.Border.IsVisible = false; box.Location.AlignH = AlignH.Left; box.Location.AlignV = AlignV.Top; box.ZOrder = ZOrder.E_BehindAxis; myPane.GraphItemList.Add( box ); zedGraph_RealTimeInfoStatStudent.IsShowContextMenu = false; zedGraph_RealTimeInfoStatStudent.IsEnableZoom = false; zedGraph_RealTimeInfoStatStudent.AxisChange(); return myPane.Image; } catch(Exception e) { Util.WriteLog(e.Message,Util.EXCEPTION_LOG_TITLE); return null; } } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.groupBox4 = new System.Windows.Forms.GroupBox(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.radioGroup1 = new DevExpress.XtraEditors.RadioGroup(); this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.groupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).BeginInit(); this.SuspendLayout(); // // groupBox4 // this.groupBox4.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.groupBox4.Controls.Add(this.panelControl1); this.groupBox4.Controls.Add(this.radioGroup1); this.groupBox4.ForeColor = System.Drawing.Color.RoyalBlue; this.groupBox4.Location = new System.Drawing.Point(12, 13); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(210, 80); this.groupBox4.TabIndex = 1; this.groupBox4.TabStop = false; this.groupBox4.Text = "����ѡ��"; // // panelControl1 // this.panelControl1.Appearance.BackColor = System.Drawing.Color.Red; this.panelControl1.Appearance.Options.UseBackColor = true; this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.panelControl1.Location = new System.Drawing.Point(31, 38); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(67, 12); this.panelControl1.TabIndex = 2; this.panelControl1.Text = "panelControl1"; this.panelControl1.Paint += new System.Windows.Forms.PaintEventHandler(this.panelControl1_Paint); // // radioGroup1 // this.radioGroup1.EditValue = "0"; this.radioGroup1.Location = new System.Drawing.Point(117, 12); this.radioGroup1.Name = "radioGroup1"; this.radioGroup1.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.radioGroup1.Properties.Appearance.Options.UseBackColor = true; this.radioGroup1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.radioGroup1.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] { new DevExpress.XtraEditors.Controls.RadioGroupItem("0", "���߷�"), new DevExpress.XtraEditors.Controls.RadioGroupItem("1", "���߷�")}); this.radioGroup1.Size = new System.Drawing.Size(77, 62); this.radioGroup1.TabIndex = 3; this.radioGroup1.SelectedIndexChanged += new System.EventHandler(this.radioGroup1_SelectedIndexChanged); // // simpleButton2 // this.simpleButton2.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.simpleButton2.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.simpleButton2.Location = new System.Drawing.Point(141, 99); this.simpleButton2.Name = "simpleButton2"; this.simpleButton2.Size = new System.Drawing.Size(75, 23); this.simpleButton2.TabIndex = 3; this.simpleButton2.Text = "ȡ��"; this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click); // // simpleButton1 // this.simpleButton1.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.simpleButton1.DialogResult = System.Windows.Forms.DialogResult.OK; this.simpleButton1.Location = new System.Drawing.Point(12, 99); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(75, 23); this.simpleButton1.TabIndex = 2; this.simpleButton1.Text = "ȷ��"; this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); // // JorJform // this.ClientSize = new System.Drawing.Size(228, 134); this.Controls.Add(this.simpleButton2); this.Controls.Add(this.simpleButton1); this.Controls.Add(this.groupBox4); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "JorJform"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "JorJform"; this.groupBox4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).EndInit(); this.ResumeLayout(false); }
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 PopulateWithFakeData() { PanelControl newList = new PanelControl(); Random rng = new Random(); for (int i = 0; i < 50; i++) { long score = 10000 - i * 10; TimeSpan time = TimeSpan.FromSeconds(rng.Next(60, 3600)); newList.AddChild(CreateLeaderboardEntryControl("player" + i.ToString(), score, time)); } newList.LayoutColumn(0, 0, 0); if (resultListControl != null) { RemoveChild(resultListControl); } resultListControl = newList; AddChild(resultListControl); LayoutColumn(0, 0, 0); }
/// <summary> /// 设置日历为工作状态 /// </summary> /// <param name="box"></param> /// <param name="num"></param> /// <param name="str"></param> private void Work(PanelControl box, LabelControl num, LabelControl str) { box.BackColor = this.BackColor; box.Tag = true; num.ForeColor = this.ForeColor; num.Tag = true; str.ForeColor = this.ForeColor; str.BackColor = this.BackColor; str.Text = ""; str.Tag = true; }
/// <summary> /// 初始化日历 /// </summary> private void SetCalendar() { pc0.Controls.Clear();//清除日历数据 int year = Convert.ToInt32(cmbYear.Text.Replace("年", ""));//年 int month = Convert.ToInt32(cmbMonth.Text.Replace("月", ""));//月 int day = 1;//日期中的天 int cnum = 0;//日历中的格子,共42个 int days = DateTime.DaysInMonth(year, month);//每月的天数 DayOfWeek dayweek = new DateTime(year, month, day).DayOfWeek;//每月一号是星期几 for (int y = 0; y < 6; y++) { for (int x = 0; x < 7; x++) { PanelControl date = new PanelControl();//日期边框 date.Tag = true; date.Name = "c" + x + y; date.Location = new Point(x * 50, y * 50); date.Size = new Size(50, 50); date.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; LabelControl sign = new LabelControl();//日期上的休字 sign.Name = "r" + x + y; ; sign.Location = new Point(3, 3); sign.Tag = true; sign.Font = new Font("Tahoma", 7.5f); LabelControl number = new LabelControl();//日期数字 number.Name = "s" + x + y; number.Tag = true; number.Location = new Point(11, 11); number.Font = new Font("微软雅黑", 18); if (cnum >= (int)dayweek && cnum - (int)dayweek < days)//每月一号开始到月末连续填充数据 { number.Text = string.Format("{0:00}", day++); date.MouseClick += new MouseEventHandler(date_MouseClick); date.MouseEnter += new EventHandler(date_MouseEnter); date.MouseLeave += new EventHandler(date_MouseLeave); sign.MouseClick += new MouseEventHandler(date_MouseClick); sign.MouseEnter += new EventHandler(date_MouseEnter); sign.MouseLeave += new EventHandler(date_MouseLeave); number.MouseClick += new MouseEventHandler(date_MouseClick); number.MouseEnter += new EventHandler(date_MouseEnter); number.MouseLeave += new EventHandler(date_MouseLeave); } else { date.Visible = false; } if (x == 0 || x == 6)//判断是否是周末 { Rest(date, number, sign); } //设置调动的上班休息时间 foreach (WorkDateBo workdate in specialdate) { DateTime dt = Convert.ToDateTime(workdate.Time); if (dt.Year == year && dt.Month == month && dt.Day == day - 1) { if (workdate.State.Equals("休")) Rest(date, number, sign); if (workdate.State.Equals("班")) Work(date, number, sign); } } date.Controls.Add(sign); date.Controls.Add(number); pc0.Controls.Add(date); cnum++; } } }
/// <summary> /// 设置日历元素为休息状态 /// </summary> /// <param name="box"></param> /// <param name="num"></param> /// <param name="str"></param> private void Rest(PanelControl box, LabelControl num, LabelControl str) { box.BackColor = Color.FromArgb(255, 240, 240); box.Tag = false; num.ForeColor = Color.FromArgb(255, 70, 50); num.Tag = false; str.ForeColor = Color.FromArgb(255, 255, 255); str.BackColor = Color.FromArgb(255, 70, 50); str.Text = "休"; str.Tag = false; }
/// <summary> /// 右键日期弹出菜单 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void date_MouseClick(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right) { Control control = (Control)sender; if ((bool)(control.Tag)) { biWork.Enabled = false; biWeekend.Enabled = true; } else { biWork.Enabled = true; biWeekend.Enabled = false; } if (control.Name.Contains("s"))//Symbol 数字 { string r = control.Name.Replace("s", "r"); NumberBox = control.Parent as PanelControl; Number = control as LabelControl; Sign = control.Parent.Controls.Find(r, true)[0] as LabelControl; } else if (control.Name.Contains("c"))//Calendar 外边框 { string r = control.Name.Replace("c", "r"); string s = control.Name.Replace("c", "s"); NumberBox = control as PanelControl; Number = control.Parent.Controls.Find(s, true)[0] as LabelControl; Sign = control.Parent.Controls.Find(r, true)[0] as LabelControl; } else if (control.Name.Contains("r"))//Rest 休息字符 { string s = control.Name.Replace("r", "s"); NumberBox = control.Parent as PanelControl; Number = control.Parent.Controls.Find(s, true)[0] as LabelControl; Sign = control as LabelControl; } pmWorkTime.ShowPopup(bmMessage, Control.MousePosition); } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { if (Session["Logged_In"] as User == null) Response.Redirect("~/Login.aspx"); else { User user = Session["Logged_In"] as User; lblCurrentlyLoggedIn.Text = "Ingelogd: " + user.Name + " Functie: " + user.Functie_.ToString(); } } List<Control> Panels = new List<Control>(); foreach(Control ctrl in EnumerateControlsRecursive(Page)) { if(ctrl is Panel) { Panels.Add(ctrl); } } pnlcontrols = new List<PanelControl>(); int i=0; foreach(Panel c in Panels) { PanelControl pnlctrl = new PanelControl(c.ID); c.Controls.Add(pnlctrl.Panel_); pnlcontrols.Add(pnlctrl); i++; } rmanager = new Remise(); rmanager.FetchTrams(); rmanager.FetchTracks(); //rmanager.GenerateSectors(); rmanager.InitialisePanelControls(pnlcontrols); RebindResources(); if (Session["ALERT"] != null) { string alert = Session["ALERT"] as string; Response.Write(alert); Session["ALERT"] = null; } }
public Xtra_UC_Base GetControlFromPanel(String controlKey, PanelControl panel) { Xtra_UC_Base userControl = null; foreach (System.Windows.Forms.Control c in panel.Controls) { if (c.GetType().IsSubclassOf(typeof(Xtra_UC_Base))) { if (((Xtra_UC_Base)c).Key.Equals(controlKey)) { userControl = (Xtra_UC_Base)c; break; } } } return userControl; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> protected void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraScheduler.TimeRuler timeRuler1 = new DevExpress.XtraScheduler.TimeRuler(); DevExpress.XtraScheduler.TimeRuler timeRuler2 = new DevExpress.XtraScheduler.TimeRuler(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMeetingQL)); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.MainBar = new DevExpress.XtraBars.Bar(); this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem(); this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components); this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem(); this.barButtonItemClose = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components); this.dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.labelControl2 = new System.Windows.Forms.PLLabel(); this.Tuan = new ProtocolVN.Framework.Win.PLCheckEdit(); this.Ngay = new ProtocolVN.Framework.Win.PLCheckEdit(); this.Thang = new ProtocolVN.Framework.Win.PLCheckEdit(); this.labelControl5 = new System.Windows.Forms.PLLabel(); this.Ngaythuchien = new DevExpress.XtraScheduler.DateNavigator(); this.schedulerControl = new DevExpress.XtraScheduler.SchedulerControl(); this.schedulerStorage = new DevExpress.XtraScheduler.SchedulerStorage(this.components); this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDuyet = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemK_Duyet = new DevExpress.XtraBars.BarButtonItem(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPageChiTiet = new DevExpress.XtraTab.XtraTabPage(); this.gridControlDetail = new DevExpress.XtraGrid.GridControl(); this.gridViewDetail = new DevExpress.XtraGrid.Views.Layout.LayoutView(); this.ID = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); this.layoutViewField_layoutViewColumn1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); this.cotNgay = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); this.layoutViewField_layoutViewColumn1_1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); this.cotGioBD = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); this.layoutViewField_layoutViewColumn1_2 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); this.cotGioKT = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); this.layoutViewField_layoutViewColumn1_3 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); this.cotNoiDung = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); this.repNoiDung = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit(); this.layoutViewField_layoutViewColumn1_4 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); this.cotDiaDiemHop = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); this.repDiaDiemHop = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit(); this.layoutViewField_layoutViewColumn1_5 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); this.layoutViewCard1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewCard(); this.item1 = new DevExpress.XtraLayout.SimpleLabelItem(); this.item2 = new DevExpress.XtraLayout.SimpleLabelItem(); this.repositoryItemButtonEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.repositoryItemPictureEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); this.repositoryItemPictureEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); this.repositoryItemMemoEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit(); this.repositoryItemButtonEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.repositoryItemButtonEdit5 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.repositoryItemMemoExEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit(); this.rep_mofile = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); this.rep_luu_file = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); this.repDiaDiem = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit(); this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage(); this.gridControlMaster = new DevExpress.XtraGrid.GridControl(); this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView(); this.CotThoiGianBatDau = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotThoiGianKetThuc = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotDiaDiem = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotNguoiToChuc = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotTinhChat = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotLoaiMeeting = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotKetQua = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.repositoryItemImageComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); this.rtxVanBan = new System.Windows.Forms.RichTextBox(); this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components); this.cboNguoiToChuc = new ProtocolVN.Framework.Win.PLCombobox(); this.txtDiaDiem = new DevExpress.XtraEditors.TextEdit(); this.label4 = new System.Windows.Forms.PLLabel(); this.cboTinhChat = new ProtocolVN.Framework.Win.PLCombobox(); this.label3 = new System.Windows.Forms.PLLabel(); this.label2 = new System.Windows.Forms.PLLabel(); this.cboLoai = new ProtocolVN.Framework.Win.PLCombobox(); this.label1 = new System.Windows.Forms.PLLabel(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.labelControl1 = new System.Windows.Forms.PLLabel(); this.checkEdit1 = new ProtocolVN.Framework.Win.PLCheckEdit(); this.checkEdit2 = new ProtocolVN.Framework.Win.PLCheckEdit(); this.checkEdit3 = new ProtocolVN.Framework.Win.PLCheckEdit(); this.imageList_layout = new System.Windows.Forms.ImageList(this.components); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit(); this.dockPanel1.SuspendLayout(); this.dockPanel1_Container.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.Tuan.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Ngay.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Thang.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Ngaythuchien)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.schedulerControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.schedulerStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit(); this.xtraTabControlDetail.SuspendLayout(); this.xtraTabPageChiTiet.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1_1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1_2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1_3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repNoiDung)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1_4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repDiaDiemHop)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1_5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewCard1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.item1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.item2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rep_mofile)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rep_luu_file)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repDiaDiem)).BeginInit(); this.xtraTabPageDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).BeginInit(); this.xtraTabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit(); this.popupControlContainerFilter.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtDiaDiem.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.MainBar}); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.DockManager = this.dockManager1; this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItemAdd, this.barButtonItemDelete, this.barButtonItemUpdate, this.barButtonItemPrint, this.barStaticItem1, this.barButtonItem1, this.barButtonItem2, this.barButtonItemCommit, this.barButtonItemNoCommit, this.barSubItem1, this.barButtonItemXem, this.barButtonItemSearch, this.barButtonItemClose, this.barCheckItemFilter, this.barButtonItem3, this.barButtonItem4, this.barButtonItemDuyet, this.barButtonItemK_Duyet}); this.barManager1.MaxItemId = 37; // // MainBar // this.MainBar.BarName = "MainBar"; this.MainBar.DockCol = 0; this.MainBar.DockRow = 0; this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.MainBar.FloatLocation = new System.Drawing.Point(39, 133); this.MainBar.FloatSize = new System.Drawing.Size(72, 73); this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true)}); this.MainBar.OptionsBar.AllowQuickCustomization = false; this.MainBar.OptionsBar.DrawDragBorder = false; this.MainBar.OptionsBar.RotateWhenVertical = false; this.MainBar.OptionsBar.UseWholeRow = true; this.MainBar.Text = "Custom 1"; // // barButtonItemAdd // this.barButtonItemAdd.Caption = "Thêm"; this.barButtonItemAdd.Id = 0; this.barButtonItemAdd.Name = "barButtonItemAdd"; this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemXem // this.barButtonItemXem.Caption = "X&em"; this.barButtonItemXem.Id = 24; this.barButtonItemXem.Name = "barButtonItemXem"; this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemDelete // this.barButtonItemDelete.Caption = "&Xóa"; this.barButtonItemDelete.Id = 1; this.barButtonItemDelete.Name = "barButtonItemDelete"; this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemUpdate // this.barButtonItemUpdate.Caption = "&Sửa"; this.barButtonItemUpdate.Id = 2; this.barButtonItemUpdate.Name = "barButtonItemUpdate"; this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barSubItem1 // this.barSubItem1.Caption = "&Nghiệp vụ"; this.barSubItem1.Id = 20; this.barSubItem1.Name = "barSubItem1"; this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemSearch // this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemSearch.Caption = "Tì&m kiếm"; this.barButtonItemSearch.DropDownControl = this.popupMenuFilter; this.barButtonItemSearch.Id = 27; this.barButtonItemSearch.Name = "barButtonItemSearch"; this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItemSearch.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // popupMenuFilter // this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)}); this.popupMenuFilter.Manager = this.barManager1; this.popupMenuFilter.Name = "popupMenuFilter"; // // barCheckItemFilter // this.barCheckItemFilter.Caption = "Điề&u kiện tìm kiếm"; this.barCheckItemFilter.Checked = true; this.barCheckItemFilter.Id = 29; this.barCheckItemFilter.Name = "barCheckItemFilter"; this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemClose // this.barButtonItemClose.Caption = "Đón&g"; this.barButtonItemClose.Id = 28; this.barButtonItemClose.Name = "barButtonItemClose"; this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barDockControlTop // this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(943, 24); // // barDockControlBottom // this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 579); this.barDockControlBottom.Size = new System.Drawing.Size(943, 0); // // barDockControlLeft // this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 24); this.barDockControlLeft.Size = new System.Drawing.Size(0, 555); // // barDockControlRight // this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(943, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 555); // // dockManager1 // this.dockManager1.Form = this; this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.dockPanel1}); this.dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl"}); // // dockPanel1 // this.dockPanel1.Controls.Add(this.dockPanel1_Container); this.dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; this.dockPanel1.ID = new System.Guid("b41cff86-da37-41cb-9b0d-062fa10996a9"); this.dockPanel1.Location = new System.Drawing.Point(0, 24); this.dockPanel1.Name = "dockPanel1"; this.dockPanel1.Options.ShowCloseButton = false; this.dockPanel1.OriginalSize = new System.Drawing.Size(200, 200); this.dockPanel1.Size = new System.Drawing.Size(200, 555); this.dockPanel1.Text = "Tùy chọn"; // // dockPanel1_Container // this.dockPanel1_Container.Controls.Add(this.panelControl2); this.dockPanel1_Container.Controls.Add(this.labelControl5); this.dockPanel1_Container.Controls.Add(this.Ngaythuchien); this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(194, 527); this.dockPanel1_Container.TabIndex = 0; // // panelControl2 // this.panelControl2.Controls.Add(this.labelControl2); this.panelControl2.Controls.Add(this.Tuan); this.panelControl2.Controls.Add(this.Ngay); this.panelControl2.Controls.Add(this.Thang); this.panelControl2.Location = new System.Drawing.Point(8, 196); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(178, 96); this.panelControl2.TabIndex = 99; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(5, 5); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(82, 13); this.labelControl2.TabIndex = 22; this.labelControl2.Text = "Tùy chọn hiển thị"; this.labelControl2.ToolTip = "Dữ liệu bắt buộc nhập"; this.labelControl2.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED; // // Tuan // this.Tuan.Location = new System.Drawing.Point(18, 49); this.Tuan.Name = "Tuan"; this.Tuan.Properties.Caption = "Theo tuần"; this.Tuan.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio; this.Tuan.Properties.RadioGroupIndex = 1; this.Tuan.Size = new System.Drawing.Size(83, 19); this.Tuan.TabIndex = 21; this.Tuan.TabStop = false; this.Tuan.ToolTip = "Dữ liệu bắt buộc nhập"; this.Tuan.ZZZType = ProtocolVN.Framework.Win.CaptionType.REQUIRED; this.Tuan.CheckedChanged += new System.EventHandler(this.Tuan_CheckedChanged); // // Ngay // this.Ngay.Location = new System.Drawing.Point(18, 24); this.Ngay.Name = "Ngay"; this.Ngay.Properties.Caption = "Theo ngày"; this.Ngay.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio; this.Ngay.Properties.RadioGroupIndex = 1; this.Ngay.Size = new System.Drawing.Size(83, 19); this.Ngay.TabIndex = 17; this.Ngay.TabStop = false; this.Ngay.ToolTip = "Dữ liệu bắt buộc nhập"; this.Ngay.ZZZType = ProtocolVN.Framework.Win.CaptionType.REQUIRED; this.Ngay.CheckedChanged += new System.EventHandler(this.Ngay_CheckedChanged); // // Thang // this.Thang.Location = new System.Drawing.Point(18, 74); this.Thang.Name = "Thang"; this.Thang.Properties.Caption = "Theo tháng"; this.Thang.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio; this.Thang.Properties.RadioGroupIndex = 1; this.Thang.Size = new System.Drawing.Size(83, 19); this.Thang.TabIndex = 18; this.Thang.TabStop = false; this.Thang.ToolTip = "Dữ liệu bắt buộc nhập"; this.Thang.ZZZType = ProtocolVN.Framework.Win.CaptionType.REQUIRED; this.Thang.CheckedChanged += new System.EventHandler(this.Thang_CheckedChanged); // // labelControl5 // this.labelControl5.Location = new System.Drawing.Point(13, 3); this.labelControl5.Name = "labelControl5"; this.labelControl5.Size = new System.Drawing.Size(43, 13); this.labelControl5.TabIndex = 84; this.labelControl5.Text = "Thời gian"; this.labelControl5.ToolTip = "Dữ liệu bắt buộc nhập"; this.labelControl5.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED; // // Ngaythuchien // this.Ngaythuchien.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Ngaythuchien.HotDate = null; this.Ngaythuchien.Location = new System.Drawing.Point(8, 22); this.Ngaythuchien.Name = "Ngaythuchien"; this.Ngaythuchien.SchedulerControl = this.schedulerControl; this.Ngaythuchien.Size = new System.Drawing.Size(178, 168); this.Ngaythuchien.TabIndex = 82; // // schedulerControl // this.schedulerControl.Dock = System.Windows.Forms.DockStyle.Fill; this.schedulerControl.Location = new System.Drawing.Point(0, 0); this.schedulerControl.MenuManager = this.barManager1; this.schedulerControl.Name = "schedulerControl"; this.schedulerControl.OptionsCustomization.AllowAppointmentCopy = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl.OptionsCustomization.AllowAppointmentCreate = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl.OptionsCustomization.AllowAppointmentDelete = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl.OptionsCustomization.AllowAppointmentDrag = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl.OptionsCustomization.AllowAppointmentDragBetweenResources = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl.OptionsCustomization.AllowAppointmentMultiSelect = false; this.schedulerControl.OptionsCustomization.AllowAppointmentResize = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl.OptionsCustomization.AllowInplaceEditor = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl.OptionsView.NavigationButtons.NextCaption = "Sự kiện tiếp theo"; this.schedulerControl.OptionsView.NavigationButtons.PrevCaption = "Sự kiện trước"; this.schedulerControl.OptionsView.NavigationButtons.Visibility = DevExpress.XtraScheduler.NavigationButtonVisibility.Never; this.schedulerControl.Size = new System.Drawing.Size(743, 489); this.schedulerControl.Start = new System.DateTime(2009, 2, 14, 0, 0, 0, 0); this.schedulerControl.Storage = this.schedulerStorage; this.schedulerControl.TabIndex = 12; this.schedulerControl.Text = "schedulerControl1"; this.schedulerControl.Views.DayView.AllDayAreaScrollBarVisible = true; this.schedulerControl.Views.DayView.AppointmentDisplayOptions.EndTimeVisibility = DevExpress.XtraScheduler.AppointmentTimeVisibility.Never; this.schedulerControl.Views.DayView.AppointmentDisplayOptions.StartTimeVisibility = DevExpress.XtraScheduler.AppointmentTimeVisibility.Never; this.schedulerControl.Views.DayView.TimeRulers.Add(timeRuler1); this.schedulerControl.Views.DayView.WorkTime.End = System.TimeSpan.Parse("17:00:00"); this.schedulerControl.Views.DayView.WorkTime.Start = System.TimeSpan.Parse("08:00:00"); this.schedulerControl.Views.MonthView.AppointmentDisplayOptions.EndTimeVisibility = DevExpress.XtraScheduler.AppointmentTimeVisibility.Never; this.schedulerControl.Views.MonthView.AppointmentDisplayOptions.StartTimeVisibility = DevExpress.XtraScheduler.AppointmentTimeVisibility.Never; this.schedulerControl.Views.WeekView.AppointmentDisplayOptions.EndTimeVisibility = DevExpress.XtraScheduler.AppointmentTimeVisibility.Never; this.schedulerControl.Views.WeekView.AppointmentDisplayOptions.StartTimeVisibility = DevExpress.XtraScheduler.AppointmentTimeVisibility.Never; this.schedulerControl.Views.WorkWeekView.TimeRulers.Add(timeRuler2); this.schedulerControl.PreparePopupMenu += new DevExpress.XtraScheduler.PreparePopupMenuEventHandler(this.schedulerControl_PreparePopupMenu); this.schedulerControl.EditAppointmentFormShowing += new DevExpress.XtraScheduler.AppointmentFormEventHandler(this.schedulerControl_EditAppointmentFormShowing); // // barButtonItemPrint // this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemPrint.Caption = "&In"; this.barButtonItemPrint.DropDownControl = this.popupMenu1; this.barButtonItemPrint.Id = 3; this.barButtonItemPrint.Name = "barButtonItemPrint"; this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenu1 // this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)}); this.popupMenu1.Manager = this.barManager1; this.popupMenu1.Name = "popupMenu1"; // // barButtonItem4 // this.barButtonItem4.Caption = "Xem t&rước"; this.barButtonItem4.Id = 33; this.barButtonItem4.Name = "barButtonItem4"; // // barStaticItem1 // this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.barStaticItem1.Id = 13; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem1.Width = 100; // // barButtonItem1 // this.barButtonItem1.Caption = "barButtonItem1"; this.barButtonItem1.Id = 14; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 15; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItemCommit // this.barButtonItemCommit.Caption = "&Duyệt"; this.barButtonItemCommit.Id = 17; this.barButtonItemCommit.Name = "barButtonItemCommit"; this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemNoCommit // this.barButtonItemNoCommit.Caption = "&Không duyệt"; this.barButtonItemNoCommit.Id = 18; this.barButtonItemNoCommit.Name = "barButtonItemNoCommit"; this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItem3 // this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItem3.Caption = "In"; this.barButtonItem3.Id = 30; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItemDuyet // this.barButtonItemDuyet.Caption = "&Duyệt"; this.barButtonItemDuyet.Enabled = false; this.barButtonItemDuyet.Id = 35; this.barButtonItemDuyet.Name = "barButtonItemDuyet"; this.barButtonItemDuyet.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemK_Duyet // this.barButtonItemK_Duyet.Caption = "&Không duyệt"; this.barButtonItemK_Duyet.Enabled = false; this.barButtonItemK_Duyet.Id = 36; this.barButtonItemK_Duyet.Name = "barButtonItemK_Duyet"; this.barButtonItemK_Duyet.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(200, 90); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.schedulerControl); this.splitContainerControl1.Panel1.MinSize = 200; this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1"; this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left; this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail); this.splitContainerControl1.Panel2.MinSize = 150; this.splitContainerControl1.Panel2.ShowCaption = true; this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl1.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel1; this.splitContainerControl1.Size = new System.Drawing.Size(743, 489); this.splitContainerControl1.SplitterPosition = 240; this.splitContainerControl1.TabIndex = 4; this.splitContainerControl1.Text = "splitContainerControl1"; // // xtraTabControlDetail // this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0); this.xtraTabControlDetail.Name = "xtraTabControlDetail"; this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageChiTiet; this.xtraTabControlDetail.Size = new System.Drawing.Size(0, 0); this.xtraTabControlDetail.TabIndex = 0; this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPageDetail, this.xtraTabPageChiTiet, this.xtraTabPage2}); // // xtraTabPageChiTiet // this.xtraTabPageChiTiet.Controls.Add(this.gridControlDetail); this.xtraTabPageChiTiet.Name = "xtraTabPageChiTiet"; this.xtraTabPageChiTiet.Size = new System.Drawing.Size(0, 0); this.xtraTabPageChiTiet.Text = "Chi tiết"; // // gridControlDetail // this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage"))); this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlDetail.Location = new System.Drawing.Point(0, 0); this.gridControlDetail.MainView = this.gridViewDetail; this.gridControlDetail.Name = "gridControlDetail"; this.gridControlDetail.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemButtonEdit3, this.repositoryItemPictureEdit1, this.repositoryItemPictureEdit2, this.repositoryItemMemoEdit1, this.repDiaDiemHop, this.repositoryItemButtonEdit4, this.repositoryItemButtonEdit5, this.repositoryItemMemoExEdit2, this.rep_mofile, this.rep_luu_file, this.repNoiDung, this.repDiaDiem}); this.gridControlDetail.Size = new System.Drawing.Size(0, 0); this.gridControlDetail.TabIndex = 191; this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewDetail}); // // gridViewDetail // this.gridViewDetail.CardCaptionFormat = "Ngày họp: {3}, từ: {4} - {5}"; this.gridViewDetail.CardHorzInterval = 13; this.gridViewDetail.CardMinSize = new System.Drawing.Size(270, 151); this.gridViewDetail.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] { this.ID, this.cotNgay, this.cotGioBD, this.cotGioKT, this.cotNoiDung, this.cotDiaDiemHop}); this.gridViewDetail.GridControl = this.gridControlDetail; this.gridViewDetail.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutViewField_layoutViewColumn1, this.layoutViewField_layoutViewColumn1_1, this.layoutViewField_layoutViewColumn1_2, this.layoutViewField_layoutViewColumn1_3}); this.gridViewDetail.Name = "gridViewDetail"; this.gridViewDetail.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False; this.gridViewDetail.OptionsBehavior.ScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Auto; this.gridViewDetail.OptionsCustomization.AllowFilter = false; this.gridViewDetail.OptionsCustomization.AllowSort = false; this.gridViewDetail.OptionsHeaderPanel.EnableCustomizeButton = false; this.gridViewDetail.OptionsItemText.AlignMode = DevExpress.XtraGrid.Views.Layout.FieldTextAlignMode.CustomSize; this.gridViewDetail.OptionsItemText.TextToControlDistance = 0; this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false; this.gridViewDetail.OptionsView.AllowHotTrackFields = false; this.gridViewDetail.OptionsView.ViewMode = DevExpress.XtraGrid.Views.Layout.LayoutViewMode.MultiRow; this.gridViewDetail.TemplateCard = this.layoutViewCard1; // // ID // this.ID.Caption = "id"; this.ID.LayoutViewField = this.layoutViewField_layoutViewColumn1; this.ID.Name = "ID"; // // layoutViewField_layoutViewColumn1 // this.layoutViewField_layoutViewColumn1.EditorPreferredWidth = 10; this.layoutViewField_layoutViewColumn1.Location = new System.Drawing.Point(0, 0); this.layoutViewField_layoutViewColumn1.Name = "layoutViewField_layoutViewColumn1"; this.layoutViewField_layoutViewColumn1.Size = new System.Drawing.Size(264, 125); this.layoutViewField_layoutViewColumn1.TextSize = new System.Drawing.Size(97, 13); this.layoutViewField_layoutViewColumn1.TextToControlDistance = 5; // // cotNgay // this.cotNgay.Caption = "Ngày họp"; this.cotNgay.LayoutViewField = this.layoutViewField_layoutViewColumn1_1; this.cotNgay.Name = "cotNgay"; this.cotNgay.OptionsColumn.AllowEdit = false; this.cotNgay.OptionsColumn.AllowFocus = false; this.cotNgay.OptionsColumn.ReadOnly = true; // // layoutViewField_layoutViewColumn1_1 // this.layoutViewField_layoutViewColumn1_1.EditorPreferredWidth = 20; this.layoutViewField_layoutViewColumn1_1.Location = new System.Drawing.Point(0, 0); this.layoutViewField_layoutViewColumn1_1.Name = "layoutViewField_layoutViewColumn1_1"; this.layoutViewField_layoutViewColumn1_1.Size = new System.Drawing.Size(264, 125); this.layoutViewField_layoutViewColumn1_1.TextSize = new System.Drawing.Size(50, 13); this.layoutViewField_layoutViewColumn1_1.TextToControlDistance = 5; // // cotGioBD // this.cotGioBD.Caption = "Từ"; this.cotGioBD.CustomizationCaption = "Từ"; this.cotGioBD.LayoutViewField = this.layoutViewField_layoutViewColumn1_2; this.cotGioBD.Name = "cotGioBD"; this.cotGioBD.OptionsColumn.AllowEdit = false; this.cotGioBD.OptionsColumn.AllowFocus = false; this.cotGioBD.OptionsColumn.ReadOnly = true; // // layoutViewField_layoutViewColumn1_2 // this.layoutViewField_layoutViewColumn1_2.EditorPreferredWidth = 20; this.layoutViewField_layoutViewColumn1_2.Location = new System.Drawing.Point(0, 0); this.layoutViewField_layoutViewColumn1_2.Name = "layoutViewField_layoutViewColumn1_2"; this.layoutViewField_layoutViewColumn1_2.Size = new System.Drawing.Size(264, 125); this.layoutViewField_layoutViewColumn1_2.TextSize = new System.Drawing.Size(17, 13); this.layoutViewField_layoutViewColumn1_2.TextToControlDistance = 5; // // cotGioKT // this.cotGioKT.Caption = "đến"; this.cotGioKT.LayoutViewField = this.layoutViewField_layoutViewColumn1_3; this.cotGioKT.Name = "cotGioKT"; this.cotGioKT.OptionsColumn.AllowEdit = false; this.cotGioKT.OptionsColumn.AllowFocus = false; this.cotGioKT.OptionsColumn.ReadOnly = true; // // layoutViewField_layoutViewColumn1_3 // this.layoutViewField_layoutViewColumn1_3.EditorPreferredWidth = 20; this.layoutViewField_layoutViewColumn1_3.Location = new System.Drawing.Point(0, 0); this.layoutViewField_layoutViewColumn1_3.Name = "layoutViewField_layoutViewColumn1_3"; this.layoutViewField_layoutViewColumn1_3.Size = new System.Drawing.Size(264, 125); this.layoutViewField_layoutViewColumn1_3.TextSize = new System.Drawing.Size(22, 13); this.layoutViewField_layoutViewColumn1_3.TextToControlDistance = 5; // // cotNoiDung // this.cotNoiDung.ColumnEdit = this.repNoiDung; this.cotNoiDung.LayoutViewField = this.layoutViewField_layoutViewColumn1_4; this.cotNoiDung.Name = "cotNoiDung"; this.cotNoiDung.OptionsColumn.ReadOnly = true; // // repNoiDung // this.repNoiDung.Name = "repNoiDung"; // // layoutViewField_layoutViewColumn1_4 // this.layoutViewField_layoutViewColumn1_4.EditorPreferredWidth = 260; this.layoutViewField_layoutViewColumn1_4.Location = new System.Drawing.Point(0, 17); this.layoutViewField_layoutViewColumn1_4.MaxSize = new System.Drawing.Size(264, 45); this.layoutViewField_layoutViewColumn1_4.MinSize = new System.Drawing.Size(264, 45); this.layoutViewField_layoutViewColumn1_4.Name = "layoutViewField_layoutViewColumn1_4"; this.layoutViewField_layoutViewColumn1_4.Size = new System.Drawing.Size(264, 45); this.layoutViewField_layoutViewColumn1_4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutViewField_layoutViewColumn1_4.TextSize = new System.Drawing.Size(0, 13); // // cotDiaDiemHop // this.cotDiaDiemHop.ColumnEdit = this.repDiaDiemHop; this.cotDiaDiemHop.LayoutViewField = this.layoutViewField_layoutViewColumn1_5; this.cotDiaDiemHop.Name = "cotDiaDiemHop"; this.cotDiaDiemHop.OptionsColumn.ReadOnly = true; // // repDiaDiemHop // this.repDiaDiemHop.Name = "repDiaDiemHop"; // // layoutViewField_layoutViewColumn1_5 // this.layoutViewField_layoutViewColumn1_5.EditorPreferredWidth = 260; this.layoutViewField_layoutViewColumn1_5.Location = new System.Drawing.Point(0, 79); this.layoutViewField_layoutViewColumn1_5.MaxSize = new System.Drawing.Size(264, 46); this.layoutViewField_layoutViewColumn1_5.MinSize = new System.Drawing.Size(264, 46); this.layoutViewField_layoutViewColumn1_5.Name = "layoutViewField_layoutViewColumn1_5"; this.layoutViewField_layoutViewColumn1_5.Size = new System.Drawing.Size(264, 46); this.layoutViewField_layoutViewColumn1_5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutViewField_layoutViewColumn1_5.TextSize = new System.Drawing.Size(0, 13); // // layoutViewCard1 // this.layoutViewCard1.CustomizationFormText = "layoutViewCard1"; this.layoutViewCard1.ExpandButtonLocation = DevExpress.Utils.GroupElementLocation.AfterText; this.layoutViewCard1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutViewField_layoutViewColumn1_4, this.layoutViewField_layoutViewColumn1_5, this.item1, this.item2}); this.layoutViewCard1.Name = "layoutViewCard1"; this.layoutViewCard1.OptionsItemText.TextToControlDistance = 0; this.layoutViewCard1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2); this.layoutViewCard1.Text = "TemplateCard"; // // item1 // this.item1.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Italic); this.item1.AppearanceItemCaption.Options.UseFont = true; this.item1.CustomizationFormText = "Nội dung:"; this.item1.Location = new System.Drawing.Point(0, 0); this.item1.Name = "item1"; this.item1.Size = new System.Drawing.Size(264, 17); this.item1.Text = "Nội dung:"; this.item1.TextSize = new System.Drawing.Size(46, 13); // // item2 // this.item2.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Italic); this.item2.AppearanceItemCaption.Options.UseFont = true; this.item2.CustomizationFormText = "Địa điểm:"; this.item2.Location = new System.Drawing.Point(0, 62); this.item2.Name = "item2"; this.item2.Size = new System.Drawing.Size(264, 17); this.item2.Text = "Địa điểm:"; this.item2.TextSize = new System.Drawing.Size(45, 13); // // repositoryItemButtonEdit3 // this.repositoryItemButtonEdit3.AutoHeight = false; this.repositoryItemButtonEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete)}); this.repositoryItemButtonEdit3.Name = "repositoryItemButtonEdit3"; this.repositoryItemButtonEdit3.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // repositoryItemPictureEdit1 // this.repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1"; // // repositoryItemPictureEdit2 // this.repositoryItemPictureEdit2.Name = "repositoryItemPictureEdit2"; // // repositoryItemMemoEdit1 // this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1"; // // repositoryItemButtonEdit4 // this.repositoryItemButtonEdit4.AutoHeight = false; this.repositoryItemButtonEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete)}); this.repositoryItemButtonEdit4.Name = "repositoryItemButtonEdit4"; this.repositoryItemButtonEdit4.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // repositoryItemButtonEdit5 // this.repositoryItemButtonEdit5.AutoHeight = false; this.repositoryItemButtonEdit5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Mở file", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, false)}); this.repositoryItemButtonEdit5.Name = "repositoryItemButtonEdit5"; this.repositoryItemButtonEdit5.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // repositoryItemMemoExEdit2 // this.repositoryItemMemoExEdit2.AutoHeight = false; this.repositoryItemMemoExEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemMemoExEdit2.Name = "repositoryItemMemoExEdit2"; // // rep_mofile // this.rep_mofile.AppearanceFocused.Options.UseImage = true; this.rep_mofile.Name = "rep_mofile"; // // rep_luu_file // this.rep_luu_file.Name = "rep_luu_file"; // // repDiaDiem // this.repDiaDiem.AutoHeight = false; this.repDiaDiem.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repDiaDiem.Name = "repDiaDiem"; // // xtraTabPageDetail // this.xtraTabPageDetail.Controls.Add(this.gridControlMaster); this.xtraTabPageDetail.Name = "xtraTabPageDetail"; this.xtraTabPageDetail.PageVisible = false; this.xtraTabPageDetail.Size = new System.Drawing.Size(0, 0); this.xtraTabPageDetail.Text = "Chi tiết "; // // gridControlMaster // this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage"))); this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlMaster.Location = new System.Drawing.Point(0, 0); this.gridControlMaster.MainView = this.gridViewMaster; this.gridControlMaster.Name = "gridControlMaster"; this.gridControlMaster.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemButtonEdit1, this.repositoryItemImageComboBox1}); this.gridControlMaster.Size = new System.Drawing.Size(0, 0); this.gridControlMaster.TabIndex = 0; this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMaster}); // // gridViewMaster // this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.CotThoiGianBatDau, this.CotThoiGianKetThuc, this.CotDiaDiem, this.CotNguoiToChuc, this.CotTinhChat, this.CotLoaiMeeting, this.CotKetQua}); this.gridViewMaster.GridControl = this.gridControlMaster; this.gridViewMaster.IndicatorWidth = 40; this.gridViewMaster.Name = "gridViewMaster"; this.gridViewMaster.NewItemRowText = "Nhập dữ liệu mới tại đây"; this.gridViewMaster.OptionsFilter.UseNewCustomFilterDialog = true; this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false; this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true; this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewMaster.OptionsPrint.UsePrintStyles = true; this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true; this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true; this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewMaster.OptionsView.ShowGroupedColumns = true; this.gridViewMaster.OptionsView.ShowGroupPanel = false; // // CotThoiGianBatDau // this.CotThoiGianBatDau.Caption = "Giờ bắt đầu"; this.CotThoiGianBatDau.Name = "CotThoiGianBatDau"; this.CotThoiGianBatDau.OptionsColumn.AllowEdit = false; this.CotThoiGianBatDau.OptionsColumn.AllowFocus = false; this.CotThoiGianBatDau.Visible = true; this.CotThoiGianBatDau.VisibleIndex = 2; this.CotThoiGianBatDau.Width = 67; // // CotThoiGianKetThuc // this.CotThoiGianKetThuc.Caption = "Giờ kết thúc"; this.CotThoiGianKetThuc.Name = "CotThoiGianKetThuc"; this.CotThoiGianKetThuc.OptionsColumn.AllowEdit = false; this.CotThoiGianKetThuc.OptionsColumn.AllowFocus = false; this.CotThoiGianKetThuc.Visible = true; this.CotThoiGianKetThuc.VisibleIndex = 3; this.CotThoiGianKetThuc.Width = 69; // // CotDiaDiem // this.CotDiaDiem.Caption = "Địa điểm"; this.CotDiaDiem.Name = "CotDiaDiem"; this.CotDiaDiem.OptionsColumn.AllowEdit = false; this.CotDiaDiem.OptionsColumn.AllowFocus = false; this.CotDiaDiem.OptionsColumn.ReadOnly = true; this.CotDiaDiem.Visible = true; this.CotDiaDiem.VisibleIndex = 0; this.CotDiaDiem.Width = 53; // // CotNguoiToChuc // this.CotNguoiToChuc.Caption = "Người tổ chức"; this.CotNguoiToChuc.Name = "CotNguoiToChuc"; this.CotNguoiToChuc.OptionsColumn.AllowEdit = false; this.CotNguoiToChuc.OptionsColumn.AllowFocus = false; this.CotNguoiToChuc.Visible = true; this.CotNguoiToChuc.VisibleIndex = 1; this.CotNguoiToChuc.Width = 79; // // CotTinhChat // this.CotTinhChat.Caption = "Tính chất"; this.CotTinhChat.Name = "CotTinhChat"; this.CotTinhChat.OptionsColumn.AllowEdit = false; this.CotTinhChat.OptionsColumn.AllowFocus = false; this.CotTinhChat.Visible = true; this.CotTinhChat.VisibleIndex = 4; this.CotTinhChat.Width = 56; // // CotLoaiMeeting // this.CotLoaiMeeting.Caption = "Loại"; this.CotLoaiMeeting.Name = "CotLoaiMeeting"; this.CotLoaiMeeting.OptionsColumn.AllowEdit = false; this.CotLoaiMeeting.OptionsColumn.AllowFocus = false; this.CotLoaiMeeting.Visible = true; this.CotLoaiMeeting.VisibleIndex = 5; this.CotLoaiMeeting.Width = 31; // // CotKetQua // this.CotKetQua.Caption = "Kết quả"; this.CotKetQua.Name = "CotKetQua"; this.CotKetQua.OptionsColumn.AllowEdit = false; this.CotKetQua.OptionsColumn.AllowFocus = false; this.CotKetQua.OptionsColumn.ReadOnly = true; this.CotKetQua.Visible = true; this.CotKetQua.VisibleIndex = 6; this.CotKetQua.Width = 49; // // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; // // repositoryItemImageComboBox1 // this.repositoryItemImageComboBox1.AutoHeight = false; this.repositoryItemImageComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemImageComboBox1.Name = "repositoryItemImageComboBox1"; // // xtraTabPage2 // this.xtraTabPage2.Controls.Add(this.rtxVanBan); this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.PageVisible = false; this.xtraTabPage2.Size = new System.Drawing.Size(0, 0); this.xtraTabPage2.Text = "Văn bản họp"; // // rtxVanBan // this.rtxVanBan.Dock = System.Windows.Forms.DockStyle.Fill; this.rtxVanBan.Location = new System.Drawing.Point(0, 0); this.rtxVanBan.MaxLength = 200; this.rtxVanBan.Name = "rtxVanBan"; this.rtxVanBan.ReadOnly = true; this.rtxVanBan.Size = new System.Drawing.Size(0, 0); this.rtxVanBan.TabIndex = 4; this.rtxVanBan.Text = ""; // // popupControlContainerFilter // this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.popupControlContainerFilter.Controls.Add(this.cboNguoiToChuc); this.popupControlContainerFilter.Controls.Add(this.txtDiaDiem); this.popupControlContainerFilter.Controls.Add(this.label4); this.popupControlContainerFilter.Controls.Add(this.cboTinhChat); this.popupControlContainerFilter.Controls.Add(this.label3); this.popupControlContainerFilter.Controls.Add(this.label2); this.popupControlContainerFilter.Controls.Add(this.cboLoai); this.popupControlContainerFilter.Controls.Add(this.label1); this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top; this.popupControlContainerFilter.Location = new System.Drawing.Point(200, 24); this.popupControlContainerFilter.Manager = this.barManager1; this.popupControlContainerFilter.Name = "popupControlContainerFilter"; this.popupControlContainerFilter.Size = new System.Drawing.Size(743, 66); this.popupControlContainerFilter.TabIndex = 0; this.popupControlContainerFilter.Visible = false; // // cboNguoiToChuc // this.cboNguoiToChuc.DataSource = null; this.cboNguoiToChuc.DisplayField = null; this.cboNguoiToChuc.Location = new System.Drawing.Point(87, 5); this.cboNguoiToChuc.Name = "cboNguoiToChuc"; this.cboNguoiToChuc.Size = new System.Drawing.Size(162, 21); this.cboNguoiToChuc.TabIndex = 221; this.cboNguoiToChuc.ValueField = null; // // txtDiaDiem // this.txtDiaDiem.Location = new System.Drawing.Point(343, 34); this.txtDiaDiem.Name = "txtDiaDiem"; this.txtDiaDiem.Size = new System.Drawing.Size(380, 20); this.txtDiaDiem.TabIndex = 220; // // label4 // this.label4.Location = new System.Drawing.Point(265, 37); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(41, 13); this.label4.TabIndex = 10; this.label4.Text = "Địa điểm"; this.label4.ToolTip = "Dữ liệu bắt buộc nhập"; this.label4.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED; // // cboTinhChat // this.cboTinhChat.DataSource = null; this.cboTinhChat.DisplayField = null; this.cboTinhChat.Location = new System.Drawing.Point(87, 32); this.cboTinhChat.Name = "cboTinhChat"; this.cboTinhChat.Size = new System.Drawing.Size(162, 21); this.cboTinhChat.TabIndex = 9; this.cboTinhChat.ValueField = null; // // label3 // this.label3.Location = new System.Drawing.Point(9, 37); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(44, 13); this.label3.TabIndex = 8; this.label3.Text = "Tính chất"; this.label3.ToolTip = "Dữ liệu bắt buộc nhập"; this.label3.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED; // // label2 // this.label2.Location = new System.Drawing.Point(265, 9); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(65, 13); this.label2.TabIndex = 7; this.label2.Text = "Loại cuộc họp"; this.label2.ToolTip = "Dữ liệu bắt buộc nhập"; this.label2.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED; // // cboLoai // this.cboLoai.DataSource = null; this.cboLoai.DisplayField = null; this.cboLoai.Location = new System.Drawing.Point(343, 5); this.cboLoai.Name = "cboLoai"; this.cboLoai.Size = new System.Drawing.Size(156, 21); this.cboLoai.TabIndex = 5; this.cboLoai.ValueField = null; // // label1 // this.label1.Location = new System.Drawing.Point(9, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(67, 13); this.label1.TabIndex = 5; this.label1.Text = "Người tổ chức"; this.label1.ToolTip = "Dữ liệu bắt buộc nhập"; this.label1.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED; // // gridColumn8 // this.gridColumn8.Caption = "VAT"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 5; // // gridColumn6 // this.gridColumn6.Caption = "VAT"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 5; this.gridColumn6.Width = 96; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(5, 5); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(96, 13); this.labelControl1.TabIndex = 22; this.labelControl1.Text = "Tùy chọn hiển thị"; this.labelControl1.ToolTip = "Dữ liệu bắt buộc nhập"; this.labelControl1.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED; // // checkEdit1 // this.checkEdit1.Location = new System.Drawing.Point(18, 49); this.checkEdit1.Name = "checkEdit1"; this.checkEdit1.Properties.Caption = "Theo tuần"; this.checkEdit1.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio; this.checkEdit1.Properties.RadioGroupIndex = 1; this.checkEdit1.Size = new System.Drawing.Size(83, 19); this.checkEdit1.TabIndex = 21; this.checkEdit1.TabStop = false; this.checkEdit1.ToolTip = "Dữ liệu bắt buộc nhập"; this.checkEdit1.ZZZType = ProtocolVN.Framework.Win.CaptionType.REQUIRED; // // checkEdit2 // this.checkEdit2.EditValue = true; this.checkEdit2.Location = new System.Drawing.Point(18, 24); this.checkEdit2.Name = "checkEdit2"; this.checkEdit2.Properties.Caption = "Theo ngày"; this.checkEdit2.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio; this.checkEdit2.Properties.RadioGroupIndex = 1; this.checkEdit2.Size = new System.Drawing.Size(83, 19); this.checkEdit2.TabIndex = 17; this.checkEdit2.ToolTip = "Dữ liệu bắt buộc nhập"; this.checkEdit2.ZZZType = ProtocolVN.Framework.Win.CaptionType.REQUIRED; // // checkEdit3 // this.checkEdit3.Location = new System.Drawing.Point(18, 74); this.checkEdit3.Name = "checkEdit3"; this.checkEdit3.Properties.Caption = "Theo tháng"; this.checkEdit3.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio; this.checkEdit3.Properties.RadioGroupIndex = 1; this.checkEdit3.Size = new System.Drawing.Size(83, 19); this.checkEdit3.TabIndex = 18; this.checkEdit3.TabStop = false; this.checkEdit3.ToolTip = "Dữ liệu bắt buộc nhập"; this.checkEdit3.ZZZType = ProtocolVN.Framework.Win.CaptionType.REQUIRED; // // imageList_layout // this.imageList_layout.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList_layout.ImageStream"))); this.imageList_layout.TransparentColor = System.Drawing.Color.Transparent; this.imageList_layout.Images.SetKeyName(0, "pl-xuatkho.png"); this.imageList_layout.Images.SetKeyName(1, "fwSave.png"); this.imageList_layout.Images.SetKeyName(2, "Delete.png"); // // frmMeetingQL // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(943, 579); this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.popupControlContainerFilter); this.Controls.Add(this.dockPanel1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "frmMeetingQL"; this.Text = "Cuộc họp"; this.Load += new System.EventHandler(this.frmMeetingQL_Load); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit(); this.dockPanel1.ResumeLayout(false); this.dockPanel1_Container.ResumeLayout(false); this.dockPanel1_Container.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); this.panelControl2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.Tuan.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Ngay.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Thang.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Ngaythuchien)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.schedulerControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.schedulerStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit(); this.xtraTabControlDetail.ResumeLayout(false); this.xtraTabPageChiTiet.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1_1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1_2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1_3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repNoiDung)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1_4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repDiaDiemHop)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_layoutViewColumn1_5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutViewCard1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.item1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.item2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rep_mofile)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rep_luu_file)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repDiaDiem)).EndInit(); this.xtraTabPageDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).EndInit(); this.xtraTabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit(); this.popupControlContainerFilter.ResumeLayout(false); this.popupControlContainerFilter.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtDiaDiem.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new Container(); this.mainBarManager = new XafBarManager(this.components); this._mainMenuBar = new XafBar(); this.barSubItemFile = new MainMenuItem(); this.cObjectsCreation = new ActionContainerBarItem(); this.cFile = new ActionContainerBarItem(); this.cSave = new ActionContainerBarItem(); this.cPrint = new ActionContainerBarItem(); this.cExport = new ActionContainerBarItem(); this.cExit = new ActionContainerBarItem(); this.barSubItemEdit = new MainMenuItem(); this.cUndoRedo = new ActionContainerBarItem(); this.cEdit = new ActionContainerBarItem(); this.cRecordEdit = new ActionContainerBarItem(); this.cOpenObject = new ActionContainerBarItem(); this.barSubItemView = new MainMenuItem(); this.cPanels = new ActionContainerMenuBarItem(); this.cViewsHistoryNavigation = new ActionContainerBarItem(); this.cMenus = new ActionContainerMenuBarItem(); this.cRecordsNavigation = new ActionContainerBarItem(); this.cView = new ActionContainerBarItem(); this.cReports = new ActionContainerBarItem(); this.cDefault = new ActionContainerBarItem(); this.cSearch = new ActionContainerBarItem(); this.cFilters = new ActionContainerBarItem(); this.cFullTextSearch = new ActionContainerBarItem(); this.cAppearance = new ActionContainerMenuBarItem(); this.barSubItemTools = new MainMenuItem(); this.cTools = new ActionContainerMenuBarItem(); this.cOptions = new ActionContainerMenuBarItem(); this.cDiagnostic = new ActionContainerMenuBarItem(); this.barSubItemWindow = new MainMenuItem(); this.cWindows = new XafBarLinkContainerItem(); this.barMdiChildrenListItem = new BarMdiChildrenListItem(); this.Window = new ActionContainerBarItem(); this.barSubItemHelp = new MainMenuItem(); this.cHelp = new ActionContainerMenuBarItem(); this.cAbout = new ActionContainerMenuBarItem(); this.standardToolBar = new XafBar(); this._statusBar = new XafBar(); this.mainBarAndDockingController = new BarAndDockingController(this.components); this.barDockControlTop = new BarDockControl(); this.barDockControlBottom = new BarDockControl(); this.barDockControlLeft = new BarDockControl(); this.barDockControlRight = new BarDockControl(); this.mainDockManager = new DockManager(this.components); this.imageList1 = new ImageList(this.components); this.dockPanelMenus = new DockPanel(); this.dockPanel1_Container = new ControlContainer(); this.rootMenuItemsActionContainer1 = new MenuItemsActionContainer(); this.cMenu = new ActionContainerBarItem(); this.barSubItemPanels = new BarSubItem(); this.viewSitePanel = new PanelControl(); this.formStateModelSynchronizerComponent = new FormStateModelSynchronizer(this.components); ((ISupportInitialize)this.documentManager).BeginInit(); ((ISupportInitialize)this.mainBarManager).BeginInit(); ((ISupportInitialize)this.mainBarAndDockingController).BeginInit(); ((ISupportInitialize)this.mainDockManager).BeginInit(); this.dockPanelMenus.SuspendLayout(); this.dockPanel1_Container.SuspendLayout(); ((ISupportInitialize)this.viewSitePanel).BeginInit(); base.SuspendLayout(); this.actionsContainersManager.ActionContainerComponents.Add(this.cObjectsCreation); this.actionsContainersManager.ActionContainerComponents.Add(this.cFile); this.actionsContainersManager.ActionContainerComponents.Add(this.cSave); this.actionsContainersManager.ActionContainerComponents.Add(this.cPrint); this.actionsContainersManager.ActionContainerComponents.Add(this.cExport); this.actionsContainersManager.ActionContainerComponents.Add(this.cExit); this.actionsContainersManager.ActionContainerComponents.Add(this.cUndoRedo); this.actionsContainersManager.ActionContainerComponents.Add(this.cEdit); this.actionsContainersManager.ActionContainerComponents.Add(this.cRecordEdit); this.actionsContainersManager.ActionContainerComponents.Add(this.cOpenObject); this.actionsContainersManager.ActionContainerComponents.Add(this.cPanels); this.actionsContainersManager.ActionContainerComponents.Add(this.cViewsHistoryNavigation); this.actionsContainersManager.ActionContainerComponents.Add(this.cMenus); this.actionsContainersManager.ActionContainerComponents.Add(this.cRecordsNavigation); this.actionsContainersManager.ActionContainerComponents.Add(this.cView); this.actionsContainersManager.ActionContainerComponents.Add(this.cReports); this.actionsContainersManager.ActionContainerComponents.Add(this.cDefault); this.actionsContainersManager.ActionContainerComponents.Add(this.cSearch); this.actionsContainersManager.ActionContainerComponents.Add(this.cFilters); this.actionsContainersManager.ActionContainerComponents.Add(this.cFullTextSearch); this.actionsContainersManager.ActionContainerComponents.Add(this.cAppearance); this.actionsContainersManager.ActionContainerComponents.Add(this.cTools); this.actionsContainersManager.ActionContainerComponents.Add(this.cOptions); this.actionsContainersManager.ActionContainerComponents.Add(this.cDiagnostic); this.actionsContainersManager.ActionContainerComponents.Add(this.cAbout); this.actionsContainersManager.ActionContainerComponents.Add(this.cMenu); this.actionsContainersManager.ActionContainerComponents.Add(this.Window); this.actionsContainersManager.ActionContainerComponents.Add(this.cHelp); this.actionsContainersManager.ActionContainerComponents.Add(this.rootMenuItemsActionContainer1); this.actionsContainersManager.ContextMenuContainers.Add(this.cObjectsCreation); this.actionsContainersManager.ContextMenuContainers.Add(this.cSave); this.actionsContainersManager.ContextMenuContainers.Add(this.cEdit); this.actionsContainersManager.ContextMenuContainers.Add(this.cRecordEdit); this.actionsContainersManager.ContextMenuContainers.Add(this.cOpenObject); this.actionsContainersManager.ContextMenuContainers.Add(this.cUndoRedo); this.actionsContainersManager.ContextMenuContainers.Add(this.cPrint); this.actionsContainersManager.ContextMenuContainers.Add(this.cView); this.actionsContainersManager.ContextMenuContainers.Add(this.cReports); this.actionsContainersManager.ContextMenuContainers.Add(this.cExport); this.actionsContainersManager.ContextMenuContainers.Add(this.cMenu); this.actionsContainersManager.DefaultContainer = this.cDefault; this.modelSynchronizationManager.ModelSynchronizableComponents.Add(this.formStateModelSynchronizerComponent); this.modelSynchronizationManager.ModelSynchronizableComponents.Add(this.mainBarManager); this.viewSiteManager.ViewSiteControl = this.viewSitePanel; this.mainBarManager.Bars.AddRange(new Bar[] { this._mainMenuBar, this.standardToolBar, this._statusBar }); this.mainBarManager.Controller = this.mainBarAndDockingController; this.mainBarManager.DockControls.Add(this.barDockControlTop); this.mainBarManager.DockControls.Add(this.barDockControlBottom); this.mainBarManager.DockControls.Add(this.barDockControlLeft); this.mainBarManager.DockControls.Add(this.barDockControlRight); this.mainBarManager.DockManager = this.mainDockManager; this.mainBarManager.Form = this; this.mainBarManager.Items.AddRange(new BarItem[] { this.barSubItemFile, this.barSubItemEdit, this.barSubItemView, this.barSubItemTools, this.barSubItemHelp, this.cFile, this.cObjectsCreation, this.cPrint, this.cExport, this.cSave, this.cEdit, this.cOpenObject, this.cUndoRedo, this.cAppearance, this.cReports, this.cExit, this.cRecordEdit, this.cRecordsNavigation, this.cViewsHistoryNavigation, this.cSearch, this.cFullTextSearch, this.cFilters, this.cView, this.cDefault, this.cTools, this.cMenus, this.cDiagnostic, this.cOptions, this.cAbout, this.cWindows, this.cPanels, this.cMenu, this.barSubItemWindow, this.barMdiChildrenListItem, this.Window, this.barSubItemPanels, this.cHelp }); this.mainBarManager.MainMenu = this._mainMenuBar; this.mainBarManager.MaxItemId = 37; this.mainBarManager.StatusBar = this._statusBar; this.mainBarManager.Disposed += new EventHandler(this.mainBarManager_Disposed); this._mainMenuBar.BarName = "Main Menu"; this._mainMenuBar.DockCol = 0; this._mainMenuBar.DockRow = 0; this._mainMenuBar.DockStyle = BarDockStyle.Top; this._mainMenuBar.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barSubItemFile), new LinkPersistInfo(this.barSubItemEdit), new LinkPersistInfo(this.barSubItemView), new LinkPersistInfo(this.barSubItemTools), new LinkPersistInfo(this.barSubItemWindow), new LinkPersistInfo(this.barSubItemHelp) }); this._mainMenuBar.OptionsBar.MultiLine = true; this._mainMenuBar.OptionsBar.UseWholeRow = true; this._mainMenuBar.TargetPageCategoryColor = Color.Empty; this._mainMenuBar.Text = "Main menu"; this.barSubItemFile.Caption = "Файл"; this.barSubItemFile.Id = 0; this.barSubItemFile.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cObjectsCreation, true), new LinkPersistInfo(this.cFile, true), new LinkPersistInfo(this.cSave, true), new LinkPersistInfo(this.cPrint, true), new LinkPersistInfo(this.cExport, true), new LinkPersistInfo(this.cExit, true) }); this.barSubItemFile.MergeType = BarMenuMerge.MergeItems; this.barSubItemFile.Name = "barSubItemFile"; this.barSubItemFile.VisibleInRibbon = false; this.cObjectsCreation.ApplicationMenuIndex = 1; this.cObjectsCreation.ApplicationMenuItem = true; this.cObjectsCreation.TargetPageGroupCaption = null; this.cObjectsCreation.Caption = "Создание объектов"; this.cObjectsCreation.ContainerId = "ObjectsCreation"; this.cObjectsCreation.Id = 18; this.cObjectsCreation.MergeType = BarMenuMerge.MergeItems; this.cObjectsCreation.Name = "cObjectsCreation"; this.cObjectsCreation.TargetPageCategoryColor = Color.Empty; this.cFile.ApplicationMenuIndex = 2; this.cFile.ApplicationMenuItem = true; this.cFile.TargetPageGroupCaption = null; this.cFile.Caption = "Файл"; this.cFile.ContainerId = "File"; this.cFile.Id = 5; this.cFile.MergeOrder = 2; this.cFile.MergeType = BarMenuMerge.MergeItems; this.cFile.Name = "cFile"; this.cFile.TargetPageCategoryColor = Color.Empty; this.cSave.ApplicationMenuIndex = 7; this.cSave.ApplicationMenuItem = true; this.cSave.TargetPageGroupCaption = null; this.cSave.Caption = "Сохранить"; this.cSave.ContainerId = "Save"; this.cSave.Id = 8; this.cSave.MergeType = BarMenuMerge.MergeItems; this.cSave.Name = "cSave"; this.cSave.TargetPageCategoryColor = Color.Empty; this.cPrint.ApplicationMenuIndex = 11; this.cPrint.ApplicationMenuItem = true; this.cPrint.TargetPageGroupCaption = null; this.cPrint.Caption = "Печать"; this.cPrint.ContainerId = "Print"; this.cPrint.Id = 6; this.cPrint.MergeType = BarMenuMerge.MergeItems; this.cPrint.Name = "cPrint"; this.cPrint.TargetPageCategoryColor = Color.Empty; this.cExport.ApplicationMenuIndex = 10; this.cExport.ApplicationMenuItem = true; this.cExport.TargetPageGroupCaption = null; this.cExport.Caption = "Экспорт"; this.cExport.ContainerId = "Export"; this.cExport.Id = 7; this.cExport.MergeType = BarMenuMerge.MergeItems; this.cExport.Name = "cExport"; this.cExport.TargetPageCategoryColor = Color.Empty; this.cExit.ApplicationMenuIndex = 900; this.cExit.ApplicationMenuItem = true; this.cExit.TargetPageGroupCaption = null; this.cExit.Caption = "Выход"; this.cExit.ContainerId = "Exit"; this.cExit.Id = 8; this.cExit.MergeOrder = 900; this.cExit.Name = "cExit"; this.cExit.TargetPageCategoryColor = Color.Empty; this.barSubItemEdit.Caption = "Правка"; this.barSubItemEdit.Id = 1; this.barSubItemEdit.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cUndoRedo, true), new LinkPersistInfo(this.cEdit, true), new LinkPersistInfo(this.cRecordEdit, true), new LinkPersistInfo(this.cOpenObject, true) }); this.barSubItemEdit.MergeType = BarMenuMerge.MergeItems; this.barSubItemEdit.Name = "barSubItemEdit"; this.barSubItemEdit.VisibleInRibbon = false; this.cUndoRedo.Caption = "Отменить/Повторить"; this.cUndoRedo.TargetPageGroupCaption = "Edit"; this.cUndoRedo.ContainerId = "UndoRedo"; this.cUndoRedo.Id = 10; this.cUndoRedo.MergeType = BarMenuMerge.MergeItems; this.cUndoRedo.Name = "cUndoRedo"; this.cUndoRedo.TargetPageCategoryColor = Color.Empty; this.cEdit.TargetPageGroupCaption = null; this.cEdit.Caption = "Правка"; this.cEdit.ContainerId = "Edit"; this.cEdit.Id = 9; this.cEdit.MergeType = BarMenuMerge.MergeItems; this.cEdit.Name = "cEdit"; this.cEdit.TargetPageCategoryColor = Color.Empty; this.cRecordEdit.TargetPageGroupCaption = null; this.cRecordEdit.Caption = "Изменить запись"; this.cRecordEdit.ContainerId = "RecordEdit"; this.cRecordEdit.Id = 9; this.cRecordEdit.MergeType = BarMenuMerge.MergeItems; this.cRecordEdit.Name = "cRecordEdit"; this.cRecordEdit.TargetPageCategoryColor = Color.Empty; this.cOpenObject.TargetPageGroupCaption = null; this.cOpenObject.Caption = "Открыть объект"; this.cOpenObject.ContainerId = "OpenObject"; this.cOpenObject.Id = 9; this.cOpenObject.MergeType = BarMenuMerge.MergeItems; this.cOpenObject.Name = "cOpenObject"; this.cOpenObject.TargetPageCategoryColor = Color.Empty; this.barSubItemView.Caption = "Вид"; this.barSubItemView.Id = 2; this.barSubItemView.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cPanels, true), new LinkPersistInfo(this.cViewsHistoryNavigation, true), new LinkPersistInfo(this.cMenus, true), new LinkPersistInfo(this.cRecordsNavigation, true), new LinkPersistInfo(this.cView, true), new LinkPersistInfo(this.cReports, true), new LinkPersistInfo(this.cDefault, true), new LinkPersistInfo(this.cSearch, true), new LinkPersistInfo(BarLinkUserDefines.None, false, this.cFilters, true), new LinkPersistInfo(BarLinkUserDefines.None, false, this.cFullTextSearch, true), new LinkPersistInfo(this.cAppearance, true) }); this.barSubItemView.MergeType = BarMenuMerge.MergeItems; this.barSubItemView.Name = "barSubItemView"; this.cPanels.Caption = "Панели"; this.cPanels.TargetPageGroupCaption = null; this.cPanels.TargetPageCaption = "View"; this.cPanels.ContainerId = "Panels"; this.cPanels.Id = 16; this.cPanels.MergeType = BarMenuMerge.MergeItems; this.cPanels.Name = "cPanels"; this.cPanels.TargetPageCategoryColor = Color.Empty; this.cViewsHistoryNavigation.TargetPageGroupCaption = null; this.cViewsHistoryNavigation.Caption = "Просмотр истории навигации"; this.cViewsHistoryNavigation.ContainerId = "ViewsHistoryNavigation"; this.cViewsHistoryNavigation.Id = 35; this.cViewsHistoryNavigation.MergeType = BarMenuMerge.MergeItems; this.cViewsHistoryNavigation.Name = "cViewsHistoryNavigation"; this.cViewsHistoryNavigation.TargetPageCategoryColor = Color.Empty; this.cMenus.TargetPageGroupCaption = null; this.cMenus.Caption = "Меню"; this.cMenus.ContainerId = "Menus"; this.cMenus.Id = 14; this.cMenus.MergeType = BarMenuMerge.MergeItems; this.cMenus.Name = "cMenus"; this.cMenus.TargetPageCategoryColor = Color.Empty; this.cRecordsNavigation.TargetPageGroupCaption = null; this.cRecordsNavigation.Caption = "Записи навигации"; this.cRecordsNavigation.ContainerId = "RecordsNavigation"; this.cRecordsNavigation.Id = 10; this.cRecordsNavigation.MergeType = BarMenuMerge.MergeItems; this.cRecordsNavigation.Name = "cRecordsNavigation"; this.cRecordsNavigation.TargetPageCategoryColor = Color.Empty; this.cView.TargetPageGroupCaption = null; this.cView.Caption = "Вид"; this.cView.ContainerId = "View"; this.cView.Id = 12; this.cView.MergeType = BarMenuMerge.MergeItems; this.cView.Name = "cView"; this.cView.TargetPageCategoryColor = Color.Empty; this.cReports.ApplicationMenuIndex = 12; this.cReports.ApplicationMenuItem = true; this.cReports.TargetPageGroupCaption = "View"; this.cReports.Caption = "Отчеты"; this.cReports.ContainerId = "Reports"; this.cReports.Id = 11; this.cReports.MergeType = BarMenuMerge.MergeItems; this.cReports.Name = "cReports"; this.cReports.TargetPageCategoryColor = Color.Empty; this.cDefault.TargetPageGroupCaption = null; this.cDefault.Caption = "По умолчанию"; this.cDefault.ContainerId = "Default"; this.cDefault.Id = 50; this.cDefault.MergeType = BarMenuMerge.MergeItems; this.cDefault.Name = "cDefault"; this.cDefault.TargetPageCategoryColor = Color.Empty; this.cSearch.TargetPageGroupCaption = null; this.cSearch.Caption = "Поиск"; this.cSearch.ContainerId = "Search"; this.cSearch.Id = 11; this.cSearch.MergeType = BarMenuMerge.MergeItems; this.cSearch.Name = "cSearch"; this.cSearch.TargetPageCategoryColor = Color.Empty; this.cFilters.TargetPageGroupCaption = null; this.cFilters.Caption = "Фильтры"; this.cFilters.ContainerId = "Filters"; this.cFilters.Id = 26; this.cFilters.MergeType = BarMenuMerge.MergeItems; this.cFilters.Name = "cFilters"; this.cFilters.TargetPageCategoryColor = Color.Empty; this.cFullTextSearch.Alignment = BarItemLinkAlignment.Right; this.cFullTextSearch.TargetPageGroupCaption = null; this.cFullTextSearch.Caption = "Полнотекстовый поиск"; this.cFullTextSearch.ContainerId = "FullTextSearch"; this.cFullTextSearch.Id = 12; this.cFullTextSearch.MergeType = BarMenuMerge.MergeItems; this.cFullTextSearch.Name = "cFullTextSearch"; this.cFullTextSearch.TargetPageCategoryColor = Color.Empty; this.cAppearance.TargetPageGroupCaption = null; this.cAppearance.Caption = "Внешний вид"; this.cAppearance.ContainerId = "Appearance"; this.cAppearance.Id = 9; this.cAppearance.MergeType = BarMenuMerge.MergeItems; this.cAppearance.Name = "cAppearance"; this.cAppearance.TargetPageCategoryColor = Color.Empty; this.barSubItemTools.Caption = "Инструменты"; this.barSubItemTools.Id = 3; this.barSubItemTools.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cTools, true), new LinkPersistInfo(this.cOptions, true), new LinkPersistInfo(this.cDiagnostic, true) }); this.barSubItemTools.MergeType = BarMenuMerge.MergeItems; this.barSubItemTools.Name = "barSubItemTools"; this.cTools.TargetPageGroupCaption = null; this.cTools.Caption = "Инструменты"; this.cTools.ContainerId = "Tools"; this.cTools.Id = 13; this.cTools.MergeType = BarMenuMerge.MergeItems; this.cTools.Name = "cTools"; this.cTools.TargetPageCategoryColor = Color.Empty; this.cOptions.TargetPageGroupCaption = null; this.cOptions.Caption = "Настройки"; this.cOptions.ContainerId = "Options"; this.cOptions.Id = 14; this.cOptions.MergeType = BarMenuMerge.MergeItems; this.cOptions.Name = "cOptions"; this.cOptions.TargetPageCategoryColor = Color.Empty; this.cDiagnostic.TargetPageGroupCaption = null; this.cDiagnostic.Caption = "Диагностика"; this.cDiagnostic.ContainerId = "Diagnostic"; this.cDiagnostic.Id = 16; this.cDiagnostic.MergeType = BarMenuMerge.MergeItems; this.cDiagnostic.Name = "cDiagnostic"; this.cDiagnostic.TargetPageCategoryColor = Color.Empty; this.barSubItemWindow.Caption = "Окно"; this.barSubItemWindow.Id = 32; this.barSubItemWindow.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cWindows), new LinkPersistInfo(this.Window, true) }); this.barSubItemWindow.MergeType = BarMenuMerge.MergeItems; this.barSubItemWindow.Name = "barSubItemWindow"; this.cWindows.TargetPageCaption = "View"; this.cWindows.TargetPageCategoryCaption = null; this.cWindows.Caption = "Окна"; this.cWindows.TargetPageGroupCaption = null; this.cWindows.Id = 16; this.cWindows.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barMdiChildrenListItem) }); this.cWindows.MergeType = BarMenuMerge.MergeItems; this.cWindows.Name = "cWindows"; this.cWindows.TargetPageCategoryColor = Color.Empty; this.barMdiChildrenListItem.Caption = "Список окон"; this.barMdiChildrenListItem.Id = 37; this.barMdiChildrenListItem.Name = "barMdiChildrenListItem"; this.Window.TargetPageCaption = "View"; this.Window.TargetPageGroupCaption = "Windows"; this.Window.Caption = "Окно"; this.Window.ContainerId = "Windows"; this.Window.Id = 34; this.Window.MergeType = BarMenuMerge.MergeItems; this.Window.Name = "Window"; this.Window.TargetPageCategoryColor = Color.Empty; this.barSubItemHelp.Caption = "Помощь"; this.barSubItemHelp.Id = 4; this.barSubItemHelp.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cHelp, true), new LinkPersistInfo(this.cAbout, true) }); this.barSubItemHelp.MergeType = BarMenuMerge.MergeItems; this.barSubItemHelp.Name = "barSubItemHelp"; this.barSubItemHelp.VisibleInRibbon = false; this.cHelp.Caption = "Помощь"; this.cHelp.TargetPageGroupCaption = null; this.cHelp.ContainerId = "Help"; this.cHelp.Id = 36; this.cHelp.MergeType = BarMenuMerge.MergeItems; this.cHelp.Name = "cHelp"; this.cHelp.TargetPageCategoryColor = Color.Empty; this.cAbout.ApplicationMenuIndex = 15; this.cAbout.ApplicationMenuItem = true; this.cAbout.Caption = "О программе"; this.cAbout.TargetPageGroupCaption = null; this.cAbout.ContainerId = "About"; this.cAbout.Id = 15; this.cAbout.MergeType = BarMenuMerge.MergeItems; this.cAbout.Name = "cAbout"; this.cAbout.TargetPageCategoryColor = Color.Empty; this.standardToolBar.BarName = "Main Toolbar"; this.standardToolBar.DockCol = 0; this.standardToolBar.DockRow = 1; this.standardToolBar.DockStyle = BarDockStyle.Top; this.standardToolBar.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cViewsHistoryNavigation, true), new LinkPersistInfo(this.cObjectsCreation, true), new LinkPersistInfo(this.cSave, true), new LinkPersistInfo(this.cEdit, true), new LinkPersistInfo(this.cUndoRedo, true), new LinkPersistInfo(this.cRecordEdit, true), new LinkPersistInfo(this.cOpenObject), new LinkPersistInfo(this.cView, true), new LinkPersistInfo(this.cReports), new LinkPersistInfo(this.cDefault, true), new LinkPersistInfo(this.cRecordsNavigation, true), new LinkPersistInfo(this.cFilters, true), new LinkPersistInfo(this.cSearch, true), new LinkPersistInfo(this.cFullTextSearch) }); this.standardToolBar.OptionsBar.UseWholeRow = true; this.standardToolBar.TargetPageCategoryColor = Color.Empty; this.standardToolBar.Text = "Main Toolbar"; this._statusBar.BarName = "StatusBar"; this._statusBar.CanDockStyle = BarCanDockStyle.Bottom; this._statusBar.DockCol = 0; this._statusBar.DockRow = 0; this._statusBar.DockStyle = BarDockStyle.Bottom; this._statusBar.OptionsBar.AllowQuickCustomization = false; this._statusBar.OptionsBar.DisableClose = true; this._statusBar.OptionsBar.DisableCustomization = true; this._statusBar.OptionsBar.DrawDragBorder = false; this._statusBar.OptionsBar.DrawSizeGrip = true; this._statusBar.OptionsBar.UseWholeRow = true; this._statusBar.TargetPageCategoryColor = Color.Empty; this._statusBar.Text = "Status Bar"; this.mainBarAndDockingController.PropertiesBar.AllowLinkLighting = false; this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Parent = this; this.barDockControlTop.Size = new Size(792, 51); this.barDockControlTop.Dock = DockStyle.Top; this.barDockControlTop.Location = new Point(0, 0); // this.barDockControlTop.ZOrder = 6; this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Parent = this; this.barDockControlBottom.Size = new Size(792, 23); this.barDockControlBottom.Dock = DockStyle.Bottom; this.barDockControlBottom.Location = new Point(0, 543); // this.barDockControlBottom.ZOrder = 5; this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Parent = this; // this.barDockControlLeft.ZOrder = 3; this.barDockControlLeft.Location = new Point(0, 51); this.barDockControlLeft.Dock = DockStyle.Left; this.barDockControlLeft.Size = new Size(0, 492); this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Parent = this; // this.barDockControlRight.ZOrder = 4; this.barDockControlRight.Location = new Point(792, 51); this.barDockControlRight.Dock = DockStyle.Right; this.barDockControlRight.Size = new Size(0, 492); this.mainDockManager.Controller = this.mainBarAndDockingController; this.mainDockManager.Form = this; this.mainDockManager.Images = this.imageList1; this.mainDockManager.MenuManager = this.mainBarManager; this.mainDockManager.RootPanels.AddRange(new DockPanel[] { this.dockPanelMenus }); this.mainDockManager.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar", "DevExpress.ExpressApp.Win.Templates.Controls.XafRibbonControl", "DevExpress.XtraBars.Ribbon.RibbonStatusBar" }); this.imageList1.ColorDepth = ColorDepth.Depth32Bit; this.imageList1.ImageSize = new Size(16, 16); this.imageList1.TransparentColor = Color.Transparent; this.dockPanelMenus.Controls.Add(this.dockPanel1_Container); this.dockPanelMenus.Dock = DockingStyle.Left; this.dockPanelMenus.ID = new Guid("17f71733-1ca6-4a29-aa2c-56cbcc2b43dd"); this.dockPanelMenus.Size = new Size(200, 492); this.dockPanelMenus.Text = "Навигация"; this.dockPanelMenus.Parent = this; this.dockPanelMenus.Location = new Point(0, 51); this.dockPanelMenus.Name = "dockPanelMenus"; this.dockPanelMenus.Options.AllowDockBottom = false; this.dockPanelMenus.Options.AllowDockTop = false; this.dockPanelMenus.OriginalSize = new Size(200, 200); this.dockPanelMenus.TabStop = false; this.dockPanelMenus.Tag = "Menus"; this.dockPanel1_Container.Controls.Add(this.rootMenuItemsActionContainer1); this.dockPanel1_Container.Parent = dockPanelMenus; this.dockPanel1_Container.Location = new Point(4, 23); this.dockPanel1_Container.Size = new Size(192, 465); this.dockPanel1_Container.TabIndex = 0; this.dockPanel1_Container.Name = "dockPanel1_Container"; this.rootMenuItemsActionContainer1.Parent = dockPanel1_Container; this.rootMenuItemsActionContainer1.TabIndex = 0; this.rootMenuItemsActionContainer1.Size = new Size(192, 465); this.rootMenuItemsActionContainer1.Dock = DockStyle.Fill; this.rootMenuItemsActionContainer1.Location = new Point(0, 0); this.rootMenuItemsActionContainer1.Name = "rootMenuItemsActionContainer1"; this.cMenu.Caption = "Меню"; this.cMenu.TargetPageGroupCaption = null; this.cMenu.ContainerId = "Menu"; this.cMenu.Id = 7; this.cMenu.Name = "cMenu"; this.cMenu.TargetPageCategoryColor = Color.Empty; this.barSubItemPanels.Caption = "Панели"; this.barSubItemPanels.Id = 35; this.barSubItemPanels.Name = "barSubItemPanels"; this.viewSitePanel.BorderStyle = BorderStyles.NoBorder; this.viewSitePanel.Parent = this; this.viewSitePanel.Location = new Point(200, 51); this.viewSitePanel.Size = new Size(592, 492); this.viewSitePanel.Dock = DockStyle.Fill; this.viewSitePanel.TabIndex = 4; this.viewSitePanel.Name = "viewSitePanel"; this.formStateModelSynchronizerComponent.Form = this; this.formStateModelSynchronizerComponent.Model = null; this.Text = "MainForm"; this.ClientSize = new Size(792, 566); // this.Margin = new Padding(3, 5, 3, 5); this.AutoScaleDimensions = new SizeF(6, 13); base.AutoScaleMode = AutoScaleMode.Font; base.BarManager = this.mainBarManager; base.Controls.Add(this.viewSitePanel); base.Controls.Add(this.dockPanelMenus); base.Controls.Add(this.barDockControlLeft); base.Controls.Add(this.barDockControlRight); base.Controls.Add(this.barDockControlBottom); base.Controls.Add(this.barDockControlTop); base.IsMdiContainer = true; base.Name = "MenusMainForm"; ((ISupportInitialize)this.documentManager).EndInit(); ((ISupportInitialize)this.mainBarManager).EndInit(); ((ISupportInitialize)this.mainBarAndDockingController).EndInit(); ((ISupportInitialize)this.mainDockManager).EndInit(); this.dockPanelMenus.ResumeLayout(false); this.dockPanel1_Container.ResumeLayout(false); ((ISupportInitialize)this.viewSitePanel).EndInit(); base.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); }
public ModulesNavigator(RibbonControl ribbon, PanelControl panel) { this.ribbon = ribbon; this.panel = panel; }
private void loadAllRoom() { //flowLayoutPanel1.SuspendLayout(); LastNameGenerator genName = new LastNameGenerator(); // DataTable RoomTbl = new DataTable(); //sxbillingDataSet.roomDataTable RoomTbl = new sxbillingDataSet.roomDataTable(); //DataLayer.BusinessLogic DataStore = new DataLayer.BusinessLogic(); //DataStore.Connect(); //sxbillingDataSetTableAdapters.roomTableAdapter RoomTableAdapter = new sxbillingDataSetTableAdapters.roomTableAdapter(); //int art4 = RoomTbl.Count; //sxbillingDataSet.roomDataTable RoomTbl = new sxbillingDataSet.roomDataTable(); //RoomTableAdapter.Fill(RoomTbl); DataTable RoomTbl = BusinessLogicBridge.DataStore.getDataDashBoard(); PanelControl art = new PanelControl(); flowLayoutPanel1.SuspendLayout(); this.DoubleBuffered = true; for (int i = 0; i < RoomTbl.Rows.Count; i++) { //roomType.Adapter. //roomType.GetData(); //DevExpress.XtraEditors.PanelControl Roombox = new DevExpress.XtraEditors.PanelControl(); RoomItemRev2 Roombox = new RoomItemRev2(); Roombox.SuspendLayout(); Roombox.Width = 145; Roombox.Height = 110; Random icox = new Random(); int rdx = icox.Next(0, 6); //Roombox.BackgroundImageLayout = ImageLayout.Center; //Roombox.BackgroundImage = imageCollection2.Images[rdx]; Color CustomGreen = Color.FromArgb(164, 246, 92); Color CustomRed = Color.FromArgb(255, 108, 88); Color CustomWhite = Color.FromArgb(240, 240, 240); Color CustomYellow = Color.FromArgb(254, 248, 91); Color StatusColor = CustomWhite; Roombox.labelControl2.Text = "ว่าง"; //if (rdx == 0) { // StatusColor = CustomWhite; // // Roombox.labelControl2.Text = "ว่าง"; // Roombox.pictureEdit4.Image = imageCollection2.Images[3]; //} //if (rdx == 2) //{ // StatusColor = CustomGreen; // // Roombox.labelControl2.Text = "เช่า"; // Roombox.pictureEdit4.Image = imageCollection2.Images[0]; //} //if (rdx == 3) //{ // StatusColor = CustomRed; // //Roombox.labelControl2.Text = "แจ้งย้ายออก"; // Roombox.pictureEdit4.Image = imageCollection2.Images[1]; //} //if (rdx == 4) //{ // StatusColor = CustomYellow; // // Roombox.labelControl2.Text = "จอง"; // Roombox.pictureEdit1.Image = imageCollection3.Images[1]; // Roombox.pictureEdit4.Image = imageCollection2.Images[2]; //} //if (rdx > 4) //{ // StatusColor = CustomGreen; // //Roombox.labelControl2.Text = "เช่า"; // Roombox.pictureEdit4.Image = imageCollection2.Images[0]; //} Roombox.labelControl2.Text = ""; Roombox.labelControl6.Text = (string)Convert.ToString(20.01 * rdx); //Roombox.label1.Autosize = false; int roomStutus = 1; roomStutus = Convert.ToInt32(RoomTbl.Rows[i]["room_status"]); if (roomStutus == 1) { Roombox.panel1.BackColor = CustomWhite; Roombox.pictureBox1.Image = imageCollection2.Images[0]; } else if (roomStutus == 2) { Roombox.panel1.BackColor = CustomGreen; Roombox.pictureBox1.Image = imageCollection2.Images[1]; } else if (roomStutus == 3) { Roombox.panel1.BackColor = CustomYellow; Roombox.pictureBox1.Image = imageCollection2.Images[2]; } else if (roomStutus == 4) { Roombox.panel1.BackColor = CustomRed; Roombox.pictureBox1.Image = imageCollection2.Images[3]; } int meterStatus = 1; meterStatus = Convert.ToInt32(RoomTbl.Rows[i]["meter_status"]); if (meterStatus == 0) { Roombox.pictureBox2.Image = imageCollection4.Images[1]; } int cutoffStatus = 1; cutoffStatus = Convert.ToInt32(RoomTbl.Rows[i]["meter_cut"]); if (cutoffStatus == 0) { Roombox.pictureBox3.Image = imageCollection3.Images[1]; } Roombox.labelControl1.Text = (string)Convert.ToString(RoomTbl.Rows[i]["room_label"]); //Roombox.CaptionImage = imageCollection1.Images[rdx]; //Roombox.CaptionImagePadding = new System.Windows.Forms.Padding(-10, 0, 0, 0); //Roombox.BackColor = Color.Aqua; // Roombox.BackColor = Color.DarkBlue; // Roombox.Location = new System.Drawing.Point(4, 4); //Roombox.Name = "groupControl1"; //Roombox.Size = new System.Drawing.Size(200, 100); Roombox.TabIndex = 0; // Roombox.Appearance.ForeColor = Color.DarkKhaki; ; //Roombox.Text = "groupControl1"; //Roombox.Text = 30; // Roombox.AppearanceCaption.ForeColor = Color.Red; // Roombox.AppearanceCaption.BackColor2 = Color.Plum; ; //Roombox.Text = "ห้องหมายเลข: R40" + i+ " สถานะ: ไม่ว่าง"; RoomItem item = new RoomItem(genName.GetLastName() + " " + genName.GetLastName(), "แอร์", "ไม่ว่าง", "20.0", "500.0", "400.0"); Roombox.Controls.Add(item); // xtraScrollableControl1.Controls.Add(RoomBox); Roombox.ResumeLayout(); //groupControl1.Name = "Room" + i; //groupControl1.Text = "Room" + i; flowLayoutPanel1.Controls.Add(Roombox); //art.Controls.Add(Roombox); } //flowLayoutPanel1.Visible = true; //flowLayoutPanel1.Controls.AddRange(new Control[] { art }); flowLayoutPanel1.ResumeLayout(); }
/// <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(frmClipboardMan)); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.addButton = new System.Windows.Forms.ToolStripButton(); this.removeButton = new System.Windows.Forms.ToolStripButton(); this.LuuSep = new System.Windows.Forms.ToolStripSeparator(); this.closeButton = new System.Windows.Forms.ToolStripButton(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.lbl_doituongClipboard = new DevExpress.XtraEditors.LabelControl(); this.lblCat = new System.Windows.Forms.Label(); this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components); this.dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); this.navBarControl3 = new DevExpress.XtraNavBar.NavBarControl(); this.groupClipboard = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem10 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarControl2 = new DevExpress.XtraNavBar.NavBarControl(); this.navBarItem1 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem2 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem3 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem4 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem5 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem6 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem7 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem8 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem9 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarControl1 = new DevExpress.XtraNavBar.NavBarControl(); this.panel1 = new System.Windows.Forms.Panel(); this.dgc_details = new DevExpress.XtraGrid.GridControl(); this.dgv_details = new DevExpress.XtraGrid.Views.Grid.GridView(); this.label1 = new System.Windows.Forms.Label(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit(); this.dockPanel1.SuspendLayout(); this.dockPanel1_Container.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); this.panelControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgc_details)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv_details)).BeginInit(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.BackColor = System.Drawing.Color.Transparent; this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip1.ImageScalingSize = new System.Drawing.Size(23, 23); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addButton, this.removeButton, this.LuuSep, this.closeButton}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(580, 25); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // addButton // this.addButton.Name = "addButton"; this.addButton.Size = new System.Drawing.Size(98, 22); this.addButton.Tag = ""; this.addButton.Text = " &Xóa tất cả dữ liệu"; this.addButton.Click += new System.EventHandler(this.addButton_Click); // // removeButton // this.removeButton.Name = "removeButton"; this.removeButton.Size = new System.Drawing.Size(101, 22); this.removeButton.Tag = ""; this.removeButton.Text = "Xóa các &dòng chọn"; this.removeButton.Click += new System.EventHandler(this.removeButton_Click); // // LuuSep // this.LuuSep.Name = "LuuSep"; this.LuuSep.Size = new System.Drawing.Size(6, 25); this.LuuSep.Visible = false; // // closeButton // this.closeButton.Name = "closeButton"; this.closeButton.Size = new System.Drawing.Size(43, 22); this.closeButton.Text = " Đón&g "; this.closeButton.Click += new System.EventHandler(this.closeButton_Click); // // panelControl1 // this.panelControl1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl1.Controls.Add(this.lbl_doituongClipboard); this.panelControl1.Controls.Add(this.lblCat); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl1.Location = new System.Drawing.Point(176, 3); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(580, 37); this.panelControl1.TabIndex = 3; // // lbl_doituongClipboard // this.lbl_doituongClipboard.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_doituongClipboard.Appearance.ForeColor = System.Drawing.Color.Black; this.lbl_doituongClipboard.Appearance.Options.UseFont = true; this.lbl_doituongClipboard.Appearance.Options.UseForeColor = true; this.lbl_doituongClipboard.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.Horizontal; this.lbl_doituongClipboard.Location = new System.Drawing.Point(6, 8); this.lbl_doituongClipboard.Name = "lbl_doituongClipboard"; this.lbl_doituongClipboard.Size = new System.Drawing.Size(168, 23); this.lbl_doituongClipboard.TabIndex = 1; this.lbl_doituongClipboard.Text = "Đối tượng Clipboard"; // // lblCat // this.lblCat.AutoSize = true; this.lblCat.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCat.Location = new System.Drawing.Point(7, 5); this.lblCat.Name = "lblCat"; this.lblCat.Size = new System.Drawing.Size(0, 25); this.lblCat.TabIndex = 0; // // dockManager1 // this.dockManager1.Form = this; this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.dockPanel1}); this.dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar"}); // // dockPanel1 // this.dockPanel1.Controls.Add(this.dockPanel1_Container); this.dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; this.dockPanel1.ID = new System.Guid("47482ff7-7f88-4274-9ba9-35bc499857c9"); this.dockPanel1.Location = new System.Drawing.Point(0, 0); this.dockPanel1.Name = "dockPanel1"; this.dockPanel1.Options.AllowDockBottom = false; this.dockPanel1.Options.AllowDockFill = false; this.dockPanel1.Options.AllowDockRight = false; this.dockPanel1.Options.AllowDockTop = false; this.dockPanel1.Options.AllowFloating = false; this.dockPanel1.Options.FloatOnDblClick = false; this.dockPanel1.Options.ShowCloseButton = false; this.dockPanel1.Size = new System.Drawing.Size(173, 485); this.dockPanel1.Text = "Clipboard"; // // dockPanel1_Container // this.dockPanel1_Container.Controls.Add(this.panelControl2); this.dockPanel1_Container.Controls.Add(this.navBarControl1); this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(167, 457); this.dockPanel1_Container.TabIndex = 0; // // panelControl2 // this.panelControl2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl2.Controls.Add(this.panelControl3); this.panelControl2.Controls.Add(this.navBarControl2); this.panelControl2.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl2.Location = new System.Drawing.Point(0, 0); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(167, 285); this.panelControl2.TabIndex = 2; // // panelControl3 // this.panelControl3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl3.Controls.Add(this.navBarControl3); this.panelControl3.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl3.Location = new System.Drawing.Point(0, 0); this.panelControl3.Name = "panelControl3"; this.panelControl3.Size = new System.Drawing.Size(167, 387); this.panelControl3.TabIndex = 1; // // navBarControl3 // this.navBarControl3.ActiveGroup = this.groupClipboard; this.navBarControl3.ContentButtonHint = null; this.navBarControl3.Dock = System.Windows.Forms.DockStyle.Fill; this.navBarControl3.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] { this.groupClipboard}); this.navBarControl3.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] { this.navBarItem10}); this.navBarControl3.Location = new System.Drawing.Point(0, 0); this.navBarControl3.Name = "navBarControl3"; this.navBarControl3.OptionsNavPane.ExpandedWidth = 194; this.navBarControl3.Size = new System.Drawing.Size(167, 387); this.navBarControl3.TabIndex = 0; this.navBarControl3.Text = "navBarControl3"; // // groupClipboard // this.groupClipboard.Caption = "Đối tượng"; this.groupClipboard.Expanded = true; this.groupClipboard.LargeImage = ((System.Drawing.Image)(resources.GetObject("groupClipboard.LargeImage"))); this.groupClipboard.Name = "groupClipboard"; // // navBarItem10 // this.navBarItem10.Caption = "navBarItem10"; this.navBarItem10.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarItem10.LargeImage"))); this.navBarItem10.Name = "navBarItem10"; // // navBarControl2 // this.navBarControl2.ActiveGroup = null; this.navBarControl2.ContentButtonHint = null; this.navBarControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.navBarControl2.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] { this.navBarItem1, this.navBarItem2, this.navBarItem3, this.navBarItem4, this.navBarItem5, this.navBarItem6, this.navBarItem7, this.navBarItem8, this.navBarItem9}); this.navBarControl2.Location = new System.Drawing.Point(0, 0); this.navBarControl2.Name = "navBarControl2"; this.navBarControl2.OptionsNavPane.ExpandedWidth = 194; this.navBarControl2.Size = new System.Drawing.Size(167, 285); this.navBarControl2.TabIndex = 0; this.navBarControl2.Text = "navBarControl2"; // // navBarItem1 // this.navBarItem1.Caption = "navBarItem1"; this.navBarItem1.Name = "navBarItem1"; // // navBarItem2 // this.navBarItem2.Caption = "navBarItem2"; this.navBarItem2.Name = "navBarItem2"; // // navBarItem3 // this.navBarItem3.Caption = "navBarItem3"; this.navBarItem3.Name = "navBarItem3"; // // navBarItem4 // this.navBarItem4.Caption = "navBarItem4"; this.navBarItem4.Name = "navBarItem4"; // // navBarItem5 // this.navBarItem5.Caption = "navBarItem5"; this.navBarItem5.Name = "navBarItem5"; // // navBarItem6 // this.navBarItem6.Caption = "navBarItem6"; this.navBarItem6.Name = "navBarItem6"; // // navBarItem7 // this.navBarItem7.Caption = "navBarItem7"; this.navBarItem7.Name = "navBarItem7"; // // navBarItem8 // this.navBarItem8.Caption = "navBarItem8"; this.navBarItem8.Name = "navBarItem8"; // // navBarItem9 // this.navBarItem9.Caption = "navBarItem9"; this.navBarItem9.Name = "navBarItem9"; // // navBarControl1 // this.navBarControl1.ActiveGroup = null; this.navBarControl1.Appearance.Background.Options.UseTextOptions = true; this.navBarControl1.Appearance.Background.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.navBarControl1.ContentButtonHint = null; this.navBarControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.navBarControl1.Location = new System.Drawing.Point(0, 0); this.navBarControl1.Name = "navBarControl1"; this.navBarControl1.OptionsNavPane.ExpandedWidth = 194; this.navBarControl1.Size = new System.Drawing.Size(167, 457); this.navBarControl1.TabIndex = 1; this.navBarControl1.Text = "navBarControl1"; // // panel1 // this.panel1.Controls.Add(this.dgc_details); this.panel1.Controls.Add(this.toolStrip1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(176, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(580, 442); this.panel1.TabIndex = 7; // // dgc_details // this.dgc_details.Dock = System.Windows.Forms.DockStyle.Fill; this.dgc_details.EmbeddedNavigator.Name = ""; this.dgc_details.FormsUseDefaultLookAndFeel = false; this.dgc_details.Location = new System.Drawing.Point(0, 25); this.dgc_details.MainView = this.dgv_details; this.dgc_details.Name = "dgc_details"; this.dgc_details.Size = new System.Drawing.Size(580, 417); this.dgc_details.TabIndex = 2; this.dgc_details.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.dgv_details}); // // dgv_details // this.dgv_details.GridControl = this.dgc_details; this.dgv_details.Name = "dgv_details"; this.dgv_details.OptionsBehavior.Editable = false; this.dgv_details.OptionsSelection.EnableAppearanceFocusedCell = false; this.dgv_details.OptionsSelection.MultiSelect = true; this.dgv_details.OptionsView.ShowGroupPanel = false; this.dgv_details.RowCountChanged += new System.EventHandler(this.dgv_details_RowCountChanged); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(7, 5); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(0, 25); this.label1.TabIndex = 0; // // TrialfrmClipboardMan // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(759, 485); this.Controls.Add(this.panel1); this.Controls.Add(this.panelControl1); this.Controls.Add(this.dockPanel1); this.Name = "TrialfrmClipboardMan"; this.Padding = new System.Windows.Forms.Padding(3); this.ShowInTaskbar = false; this.Text = "Quản lý Clipboard"; this.Load += new System.EventHandler(this.frmClipboardMan_Load); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit(); this.dockPanel1.ResumeLayout(false); this.dockPanel1_Container.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); this.panelControl3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.navBarControl3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgc_details)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv_details)).EndInit(); this.ResumeLayout(false); }
private void Populate() { try { List<Score> highSores = new List<Score>(); PanelControl newList = new PanelControl(); if (HighScores.scores.Count > 0) { Thread.Sleep(3000); highSores = HighScores.scores; foreach (var s in highSores) { newList.AddChild(CreateLeaderboardEntryControl(s.name, s.score, s.time)); _count++; } if (_count == HighScores.scores.Count) { Populated = true; } // newList.RemoveChildAt(0); } else { newList.AddChild(CreateLeaderboardEntryControl(Message, " ", " ")); } newList.LayoutColumn(0, 0, 0); if (resultListControl != null) { RemoveChild(resultListControl); } resultListControl = newList; AddChild(resultListControl); LayoutColumn(0, 0, 0); } catch { } }