/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.ToolPanel = new Easychart.Finance.Objects.ObjectToolPanel(); this.sizeToolControl = new Easychart.Finance.Win.SizeToolControl(); this.Designer = new Easychart.Finance.Win.ChartWinControl(); this.spTool = new System.Windows.Forms.Splitter(); this.pg = new System.Windows.Forms.PropertyGrid(); this.spProperty = new System.Windows.Forms.Splitter(); this.mmMain = new System.Windows.Forms.MainMenu(); this.miFile = new System.Windows.Forms.MenuItem(); this.miOpen = new System.Windows.Forms.MenuItem(); this.miSave = new System.Windows.Forms.MenuItem(); this.mnuSaveImage = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menusubLoadYhoo = new System.Windows.Forms.MenuItem(); this.miSp1 = new System.Windows.Forms.MenuItem(); this.miExit = new System.Windows.Forms.MenuItem(); this.miHelp = new System.Windows.Forms.MenuItem(); this.miWebSite = new System.Windows.Forms.MenuItem(); this.ofd = new System.Windows.Forms.OpenFileDialog(); this.sfd = new System.Windows.Forms.SaveFileDialog(); this.pnRight = new System.Windows.Forms.Panel(); this.spTree = new System.Windows.Forms.Splitter(); this.ObjectTree = new Easychart.Finance.Objects.ObjectTree(); this.pnRight.SuspendLayout(); this.SuspendLayout(); // // ToolPanel // this.ToolPanel.Dock = System.Windows.Forms.DockStyle.Left; this.ToolPanel.Location = new System.Drawing.Point(0, 0); this.ToolPanel.Name = "ToolPanel"; this.ToolPanel.ResetAfterEachDraw = true; this.ToolPanel.Size = new System.Drawing.Size(140, 461); this.ToolPanel.TabIndex = 0; // // Designer // this.Designer.CausesValidation = false; this.Designer.DefaultFormulas = "MAIN#AreaBB#MA(50)#MA(200);VOLMA;SlowSTO;MACD;RSI(14)#RSI(28)"; this.Designer.Designing = false; this.Designer.Dock = System.Windows.Forms.DockStyle.Fill; this.Designer.EndTime = new System.DateTime(((long)(0))); this.Designer.FavoriteFormulas = "VOLMA;AreaRSI;DEMO.MACD;CCI;OBV;ATR;FastSTO;S" + "lowSTO;ROC;TRIX;WR;AD;CMF;PPO;StochRSI;ULT;BBWidth;PVO"; this.Designer.LatestValueType = Easychart.Finance.LatestValueType.None; this.Designer.Location = new System.Drawing.Point(143, 0); this.Designer.MaxPrice = 0; this.Designer.MinPrice = 0; this.Designer.Name = "Designer"; this.Designer.ShowStatistic = false; this.Designer.Size = new System.Drawing.Size(278, 435); this.Designer.StartTime = new System.DateTime(((long)(0))); this.Designer.Symbol = null; this.Designer.TabIndex = 5; // // sizeToolControl // this.sizeToolControl.ChartControl = this.Designer; this.sizeToolControl.Dock = System.Windows.Forms.DockStyle.Fill; this.sizeToolControl.Location = new System.Drawing.Point(0, 0); this.sizeToolControl.Name = "sizeToolControl"; this.sizeToolControl.Size = new System.Drawing.Size(278, 24); this.sizeToolControl.TabIndex = 0; // // spTool // this.spTool.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.spTool.Location = new System.Drawing.Point(0, 0); this.spTool.MinExtra = 80; this.spTool.MinSize = 80; this.spTool.Name = "spTool"; this.spTool.Size = new System.Drawing.Size(3, 461); this.spTool.TabIndex = 1; this.spTool.TabStop = false; // // pg // this.pg.CommandsVisibleIfAvailable = true; this.pg.Dock = System.Windows.Forms.DockStyle.Fill; this.pg.LargeButtons = false; this.pg.LineColor = System.Drawing.SystemColors.ScrollBar; this.pg.Location = new System.Drawing.Point(0, 179); this.pg.Name = "pg"; this.pg.Size = new System.Drawing.Size(200, 282); this.pg.TabIndex = 3; this.pg.Text = "PropertyGrid"; this.pg.ViewBackColor = System.Drawing.SystemColors.Window; this.pg.ViewForeColor = System.Drawing.SystemColors.WindowText; // // spProperty // this.spProperty.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.spProperty.Dock = System.Windows.Forms.DockStyle.Right; this.spProperty.Location = new System.Drawing.Point(421, 0); this.spProperty.MinExtra = 0; this.spProperty.MinSize = 0; this.spProperty.Name = "spProperty"; this.spProperty.Size = new System.Drawing.Size(3, 461); this.spProperty.TabIndex = 4; this.spProperty.TabStop = false; // // mmMain // this.mmMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miFile, this.miHelp }); // // miFile // this.miFile.Index = 0; this.miFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miOpen, this.miSave, this.mnuSaveImage, this.menuItem1, this.miSp1, this.miExit }); this.miFile.Text = "&File"; // // miOpen // this.miOpen.Index = 0; this.miOpen.Text = "&Open"; this.miOpen.Click += new System.EventHandler(this.miOpen_Click); // // miSave // this.miSave.Index = 1; this.miSave.Text = "&Save"; this.miSave.Click += new System.EventHandler(this.miSave_Click); // // mnuSaveImage // this.mnuSaveImage.Index = 2; this.mnuSaveImage.Text = "Save &Image"; this.mnuSaveImage.Click += new System.EventHandler(this.mnuSaveImage_Click); // // menuItem1 // this.menuItem1.Index = 3; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menusubLoadYhoo }); this.menuItem1.Text = "Load"; // // menusubLoadYhoo // this.menusubLoadYhoo.Index = 0; this.menusubLoadYhoo.Text = "&Yahoo"; this.menusubLoadYhoo.Click += new System.EventHandler(this.menusubLoadYhoo_Click); // // miSp1 // this.miSp1.Index = 4; this.miSp1.Text = "-"; // // miExit // this.miExit.Index = 5; this.miExit.Text = "&Exit"; this.miExit.Click += new System.EventHandler(this.miExit_Click); // // miHelp // this.miHelp.Index = 1; this.miHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miWebSite }); this.miHelp.Text = "&Help"; // // miWebSite // this.miWebSite.Index = 0; this.miWebSite.Text = "&Web Site"; this.miWebSite.Click += new System.EventHandler(this.miWebSite_Click); // // ofd // this.ofd.Filter = "Object File(*.xml)|*.xml"; // // sfd // this.sfd.DefaultExt = "xml"; this.sfd.Filter = "Object File(*.xml)|*.xml"; // // pnRight // this.pnRight.Controls.Add(this.pg); this.pnRight.Controls.Add(this.spTree); this.pnRight.Controls.Add(this.ObjectTree); this.pnRight.Dock = System.Windows.Forms.DockStyle.Right; this.pnRight.Location = new System.Drawing.Point(424, 0); this.pnRight.Name = "pnRight"; this.pnRight.Size = new System.Drawing.Size(200, 461); this.pnRight.TabIndex = 6; // // spTree // this.spTree.Dock = System.Windows.Forms.DockStyle.Top; this.spTree.Location = new System.Drawing.Point(0, 176); this.spTree.Name = "spTree"; this.spTree.Size = new System.Drawing.Size(200, 3); this.spTree.TabIndex = 5; this.spTree.TabStop = false; // // ObjectTree // this.ObjectTree.Dock = System.Windows.Forms.DockStyle.Top; this.ObjectTree.Location = new System.Drawing.Point(0, 0); this.ObjectTree.Name = "ObjectTree"; this.ObjectTree.Size = new System.Drawing.Size(200, 176); this.ObjectTree.TabIndex = 4; // // ObjectDesignerForm // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(624, 461); this.Controls.Add(this.Designer); this.Controls.Add(this.sizeToolControl); this.Controls.Add(this.spProperty); this.Controls.Add(this.spTool); this.Controls.Add(this.pnRight); this.Font = new System.Drawing.Font("Verdana", 8.25F); this.KeyPreview = true; this.Menu = this.mmMain; this.Name = "ObjectDesignerForm"; this.Text = "Object Designer Form"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.ObjectDesignerForm_Load); this.pnRight.ResumeLayout(false); this.ResumeLayout(false); }
/// <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.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); Easychart.Finance.ExchangeIntraday exchangeIntraday1 = new Easychart.Finance.ExchangeIntraday(); this.mmMain = new System.Windows.Forms.MainMenu(this.components); this.mmFile = new System.Windows.Forms.MenuItem(); this.mmLoadFromFile = new System.Windows.Forms.MenuItem(); this.mmLoadFromYahoo = new System.Windows.Forms.MenuItem(); this.miLoadFromEasyChart = new System.Windows.Forms.MenuItem(); this.miLoadFromProphet = new System.Windows.Forms.MenuItem(); this.miLoadBinary = new System.Windows.Forms.MenuItem(); this.miLoadXml = new System.Windows.Forms.MenuItem(); this.miText = new System.Windows.Forms.MenuItem(); this.miMetaStock = new System.Windows.Forms.MenuItem(); this.miLoadFromYahooStreaming = new System.Windows.Forms.MenuItem(); this.miForexText = new System.Windows.Forms.MenuItem(); this.miLoadBond = new System.Windows.Forms.MenuItem(); this.miSp2 = new System.Windows.Forms.MenuItem(); this.miSetup = new System.Windows.Forms.MenuItem(); this.miPreview = new System.Windows.Forms.MenuItem(); this.miPrint = new System.Windows.Forms.MenuItem(); this.miSp1 = new System.Windows.Forms.MenuItem(); this.miExit = new System.Windows.Forms.MenuItem(); this.miTools = new System.Windows.Forms.MenuItem(); this.miFormulaEditor = new System.Windows.Forms.MenuItem(); this.miHelp = new System.Windows.Forms.MenuItem(); this.miHotKey = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.miAbout = new System.Windows.Forms.MenuItem(); this.miDemo = new System.Windows.Forms.MenuItem(); this.miSquareRoot = new System.Windows.Forms.MenuItem(); this.miLineColor = new System.Windows.Forms.MenuItem(); this.miCrossCursor = new System.Windows.Forms.MenuItem(); this.miFormulaValue = new System.Windows.Forms.MenuItem(); this.miLineType = new System.Windows.Forms.MenuItem(); this.miGetData = new System.Windows.Forms.MenuItem(); this.miOverlayVolume = new System.Windows.Forms.MenuItem(); this.miChangeFormulaParameter = new System.Windows.Forms.MenuItem(); this.miDemo2 = new System.Windows.Forms.MenuItem(); this.miAddFormula1 = new System.Windows.Forms.MenuItem(); this.miAddFormula2 = new System.Windows.Forms.MenuItem(); this.miAddFormula3 = new System.Windows.Forms.MenuItem(); this.miMoveFormula = new System.Windows.Forms.MenuItem(); this.miRemoveSelectedArea = new System.Windows.Forms.MenuItem(); this.odLoadData = new System.Windows.Forms.OpenFileDialog(); this.cdFormulaColor = new System.Windows.Forms.ColorDialog(); this.pnBottom = new System.Windows.Forms.Panel(); this.pnClient = new System.Windows.Forms.Panel(); this.ChartControl = new Easychart.Finance.Win.ChartWinControl(); this.sizeToolControl = new Easychart.Finance.Win.SizeToolControl(); this.pnBottom.SuspendLayout(); this.pnClient.SuspendLayout(); this.SuspendLayout(); // // mmMain // this.mmMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mmFile, this.miTools, this.miHelp, this.miDemo, this.miDemo2 }); // // mmFile // this.mmFile.Index = 0; this.mmFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mmLoadFromFile, this.mmLoadFromYahoo, this.miLoadFromEasyChart, this.miLoadFromProphet, this.miLoadBinary, this.miLoadXml, this.miText, this.miMetaStock, this.miLoadFromYahooStreaming, this.miForexText, this.miLoadBond, this.miSp2, this.miSetup, this.miPreview, this.miPrint, this.miSp1, this.miExit }); this.mmFile.Text = "&File"; // // mmLoadFromFile // this.mmLoadFromFile.Index = 0; this.mmLoadFromFile.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.mmLoadFromFile.Text = "&Load data from file"; this.mmLoadFromFile.Click += new System.EventHandler(this.mmLoadFromFile_Click); // // mmLoadFromYahoo // this.mmLoadFromYahoo.Index = 1; this.mmLoadFromYahoo.Text = "Load data from yahoo finance"; this.mmLoadFromYahoo.Click += new System.EventHandler(this.mmLoadFromYahoo_Click); // // miLoadFromEasyChart // this.miLoadFromEasyChart.Index = 2; this.miLoadFromEasyChart.Text = "Load data from http://finance.easychart.net"; this.miLoadFromEasyChart.Click += new System.EventHandler(this.miLoadFromEasyChart_Click); // // miLoadFromProphet // this.miLoadFromProphet.Index = 3; this.miLoadFromProphet.Text = "Load data from prophet"; this.miLoadFromProphet.Visible = false; this.miLoadFromProphet.Click += new System.EventHandler(this.miLoadFromProphet_Click); // // miLoadBinary // this.miLoadBinary.Index = 4; this.miLoadBinary.Text = "Load random &binary data"; this.miLoadBinary.Click += new System.EventHandler(this.miLoadBinary_Click); // // miLoadXml // this.miLoadXml.Index = 5; this.miLoadXml.Text = "&Load Data From Xml File"; this.miLoadXml.Click += new System.EventHandler(this.miLoadXml_Click); // // miText // this.miText.Index = 6; this.miText.Text = "Load Data From &Text File"; this.miText.Click += new System.EventHandler(this.miText_Click); // // miMetaStock // this.miMetaStock.Index = 7; this.miMetaStock.Text = "Load from MetaStock"; this.miMetaStock.Click += new System.EventHandler(this.miMetaStock_Click); // // miLoadFromYahooStreaming // this.miLoadFromYahooStreaming.Index = 8; this.miLoadFromYahooStreaming.Text = "Load data from yahoo finance(streaming)"; this.miLoadFromYahooStreaming.Click += new System.EventHandler(this.miLoadFromYahooStreaming_Click); // // miForexText // this.miForexText.Index = 9; this.miForexText.Text = "Load data from &forex text file"; this.miForexText.Click += new System.EventHandler(this.miForexText_Click); // // miLoadBond // this.miLoadBond.Index = 10; this.miLoadBond.Text = "Load data from b&ond text file"; this.miLoadBond.Click += new System.EventHandler(this.miLoadBond_Click); // // miSp2 // this.miSp2.Index = 11; this.miSp2.Text = "-"; // // miSetup // this.miSetup.Index = 12; this.miSetup.Text = "Print &Setup"; this.miSetup.Click += new System.EventHandler(this.miSetup_Click); // // miPreview // this.miPreview.Index = 13; this.miPreview.Text = "Print Pre&view"; this.miPreview.Click += new System.EventHandler(this.miPreview_Click); // // miPrint // this.miPrint.Index = 14; this.miPrint.Text = "&Print"; this.miPrint.Click += new System.EventHandler(this.miPrint_Click); // // miSp1 // this.miSp1.Index = 15; this.miSp1.Text = "-"; // // miExit // this.miExit.Index = 16; this.miExit.Shortcut = System.Windows.Forms.Shortcut.AltF4; this.miExit.Text = "Exit"; this.miExit.Click += new System.EventHandler(this.miExit_Click); // // miTools // this.miTools.Index = 1; this.miTools.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miFormulaEditor }); this.miTools.Text = "&Tools"; // // miFormulaEditor // this.miFormulaEditor.Index = 0; this.miFormulaEditor.Shortcut = System.Windows.Forms.Shortcut.CtrlF; this.miFormulaEditor.Text = "&Formula Editor"; this.miFormulaEditor.Click += new System.EventHandler(this.miFormulaEditor_Click); // // miHelp // this.miHelp.Index = 2; this.miHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miHotKey, this.menuItem3, this.miAbout }); this.miHelp.Text = "&Help"; // // miHotKey // this.miHotKey.Index = 0; this.miHotKey.Text = "Hot Keys"; this.miHotKey.Click += new System.EventHandler(this.miHotKey_Click); // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Text = "-"; // // miAbout // this.miAbout.Index = 2; this.miAbout.Text = "About"; this.miAbout.Click += new System.EventHandler(this.miAbout_Click); // // miDemo // this.miDemo.Index = 3; this.miDemo.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miSquareRoot, this.miLineColor, this.miCrossCursor, this.miFormulaValue, this.miLineType, this.miGetData, this.miOverlayVolume, this.miChangeFormulaParameter }); this.miDemo.Text = "&Demo"; // // miSquareRoot // this.miSquareRoot.Index = 0; this.miSquareRoot.Text = "Change second area to Square &Root Axis"; this.miSquareRoot.Click += new System.EventHandler(this.miSquareRoot_Click); // // miLineColor // this.miLineColor.Index = 1; this.miLineColor.Text = "&Change second area,second line\'s color"; this.miLineColor.Click += new System.EventHandler(this.miLineColor_Click); // // miCrossCursor // this.miCrossCursor.Index = 2; this.miCrossCursor.Text = "&Show/hide cross cursor"; this.miCrossCursor.Click += new System.EventHandler(this.miCrossCursor_Click); // // miFormulaValue // this.miFormulaValue.Index = 3; this.miFormulaValue.Text = "Show second area,first line\'s last value"; this.miFormulaValue.Click += new System.EventHandler(this.miFormulaValue_Click); // // miLineType // this.miLineType.Index = 4; this.miLineType.Text = "Change line type"; this.miLineType.Click += new System.EventHandler(this.miLineType_Click); // // miGetData // this.miGetData.Index = 5; this.miGetData.Text = "Get data from the chart"; this.miGetData.Click += new System.EventHandler(this.miGetData_Click); // // miOverlayVolume // this.miOverlayVolume.Index = 6; this.miOverlayVolume.Text = "Overlay Volume"; this.miOverlayVolume.Click += new System.EventHandler(this.miOverlayVolume_Click); // // miChangeFormulaParameter // this.miChangeFormulaParameter.Index = 7; this.miChangeFormulaParameter.Text = "Change Formula Parameter"; this.miChangeFormulaParameter.Click += new System.EventHandler(this.miChangeFormulaParameter_Click); // // miDemo2 // this.miDemo2.Index = 4; this.miDemo2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miAddFormula1, this.miAddFormula2, this.miAddFormula3, this.miMoveFormula, this.miRemoveSelectedArea }); this.miDemo2.Text = "D&emo2"; // // miAddFormula1 // this.miAddFormula1.Index = 0; this.miAddFormula1.Text = "Add Formula to Third Area"; this.miAddFormula1.Click += new System.EventHandler(this.miAddFormula1_Click); // // miAddFormula2 // this.miAddFormula2.Index = 1; this.miAddFormula2.Text = "Add Formula to Selected Area"; this.miAddFormula2.Click += new System.EventHandler(this.miAddFormula2_Click); // // miAddFormula3 // this.miAddFormula3.Index = 2; this.miAddFormula3.Text = "Add Formula to New Area"; this.miAddFormula3.Click += new System.EventHandler(this.miAddFormula3_Click); // // miMoveFormula // this.miMoveFormula.Index = 3; this.miMoveFormula.Text = "Move Formula from Area 3 to 4"; this.miMoveFormula.Click += new System.EventHandler(this.miMoveFormula_Click); // // miRemoveSelectedArea // this.miRemoveSelectedArea.Index = 4; this.miRemoveSelectedArea.Text = "Remove Selected Area"; this.miRemoveSelectedArea.Click += new System.EventHandler(this.miRemoveSelectedArea_Click); // // odLoadData // this.odLoadData.DefaultExt = "csv"; this.odLoadData.Filter = "csv files (*.csv)|*.csv|data files (*.dat)|*.dat|All files (*.*)|*.*"; // // pnBottom // this.pnBottom.Controls.Add(this.sizeToolControl); this.pnBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnBottom.Location = new System.Drawing.Point(0, 426); this.pnBottom.Name = "pnBottom"; this.pnBottom.Size = new System.Drawing.Size(776, 24); this.pnBottom.TabIndex = 3; // // pnClient // this.pnClient.Controls.Add(this.ChartControl); this.pnClient.Dock = System.Windows.Forms.DockStyle.Fill; this.pnClient.Location = new System.Drawing.Point(0, 0); this.pnClient.Name = "pnClient"; this.pnClient.Size = new System.Drawing.Size(776, 426); this.pnClient.TabIndex = 4; // // ChartControl // this.ChartControl.AdjustData = ((bool)(configurationAppSettings.GetValue("ChartControl.AdjustData", typeof(bool)))); this.ChartControl.AreaPercent = ((string)(configurationAppSettings.GetValue("ChartControl.AreaPercent", typeof(string)))); this.ChartControl.BackColor = System.Drawing.SystemColors.Control; this.ChartControl.CausesValidation = false; this.ChartControl.ChartDragMode = Easychart.Finance.ChartDragMode.Chart; this.ChartControl.ColumnWidth = 5D; this.ChartControl.DefaultFormulas = ((string)(configurationAppSettings.GetValue("ChartControl.DefaultFormulas", typeof(string)))); this.ChartControl.Designing = false; this.ChartControl.Dock = System.Windows.Forms.DockStyle.Fill; this.ChartControl.EndTime = new System.DateTime(((long)(0))); this.ChartControl.FavoriteFormulas = ((string)(configurationAppSettings.GetValue("ChartControl.FavoriteFormulas", typeof(string)))); this.ChartControl.ForeColor = System.Drawing.Color.Coral; exchangeIntraday1.TimePeriods = new Easychart.Finance.TimePeriod[0]; exchangeIntraday1.TimeZone = -5D; this.ChartControl.IntradayInfo = exchangeIntraday1; this.ChartControl.Location = new System.Drawing.Point(0, 0); this.ChartControl.MaxPrice = 0D; this.ChartControl.MinColumnWidth = 1D; this.ChartControl.MinPrice = 0D; this.ChartControl.MouseZoomMode = Easychart.Finance.Win.MouseZoomMode.None; this.ChartControl.Name = "ChartControl"; this.ChartControl.PriceLabelFormat = "{CODE} O:{OPEN} H:{HIGH} L:{LOW} C:{CLOSE} Chg:{CHANGE}"; this.ChartControl.ResetYAfterXChanged = false; this.ChartControl.ShowCrossCursor = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowCrossCursor", typeof(bool)))); this.ChartControl.ShowCursorLabel = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowCursorLabel", typeof(bool)))); this.ChartControl.ShowIndicatorValues = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowIndicatorValues", typeof(bool)))); this.ChartControl.ShowOverlayValues = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowOverlayValues", typeof(bool)))); this.ChartControl.ShowStatistic = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowStatistic", typeof(bool)))); this.ChartControl.Size = new System.Drawing.Size(776, 426); this.ChartControl.Skin = ((string)(configurationAppSettings.GetValue("ChartControl.Skin", typeof(string)))); this.ChartControl.StartTime = new System.DateTime(((long)(0))); this.ChartControl.StickRenderType = Easychart.Finance.StickRenderType.Column; this.ChartControl.TabIndex = 0; this.ChartControl.BeforeApplySkin += new Easychart.Finance.Win.ApplySkinHandler(this.ChartControl_BeforeApplySkin); this.ChartControl.AfterApplySkin += new System.EventHandler(this.ChartControl_AfterApplySkin); this.ChartControl.NativePaint += new Easychart.Finance.NativePaintHandler(this.ChartControl_NativePaint); this.ChartControl.DataChanged += new System.EventHandler(this.ChartControl_DataChanged); // // sizeToolControl // this.sizeToolControl.ChartControl = this.ChartControl; this.sizeToolControl.Dock = System.Windows.Forms.DockStyle.Fill; this.sizeToolControl.Location = new System.Drawing.Point(0, 0); this.sizeToolControl.Name = "sizeToolControl"; this.sizeToolControl.Size = new System.Drawing.Size(776, 24); this.sizeToolControl.TabIndex = 0; // // DemoForm // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(776, 450); this.Controls.Add(this.pnClient); this.Controls.Add(this.pnBottom); this.Cursor = System.Windows.Forms.Cursors.Default; this.Font = new System.Drawing.Font("Verdana", 8.25F); this.Menu = this.mmMain; this.Name = "DemoForm"; this.Text = "DemoForm"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closed += new System.EventHandler(this.DemoForm_Closed); this.Load += new System.EventHandler(this.DemoForm_Load); this.pnBottom.ResumeLayout(false); this.pnClient.ResumeLayout(false); this.ResumeLayout(false); }
/// <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.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); Easychart.Finance.ExchangeIntraday exchangeIntraday1 = new Easychart.Finance.ExchangeIntraday(); this.mmMain = new System.Windows.Forms.MainMenu(this.components); this.mmData = new System.Windows.Forms.MenuItem(); this.mmLoadData = new System.Windows.Forms.MenuItem(); this.mmLoadDataForecast = new System.Windows.Forms.MenuItem(); this.miLoadFromEasyChart = new System.Windows.Forms.MenuItem(); this.miLoadFromProphet = new System.Windows.Forms.MenuItem(); this.miLoadBinary = new System.Windows.Forms.MenuItem(); this.miLoadXml = new System.Windows.Forms.MenuItem(); this.miText = new System.Windows.Forms.MenuItem(); this.miMetaStock = new System.Windows.Forms.MenuItem(); this.miLoadFromYahooStreaming = new System.Windows.Forms.MenuItem(); this.miForexText = new System.Windows.Forms.MenuItem(); this.miLoadBond = new System.Windows.Forms.MenuItem(); this.miSp2 = new System.Windows.Forms.MenuItem(); this.miSetup = new System.Windows.Forms.MenuItem(); this.miPreview = new System.Windows.Forms.MenuItem(); this.miPrint = new System.Windows.Forms.MenuItem(); this.miSp1 = new System.Windows.Forms.MenuItem(); this.miExit = new System.Windows.Forms.MenuItem(); this.miHelp = new System.Windows.Forms.MenuItem(); this.miHotKey = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.miAbout = new System.Windows.Forms.MenuItem(); this.odLoadData = new System.Windows.Forms.OpenFileDialog(); this.cdFormulaColor = new System.Windows.Forms.ColorDialog(); this.pnBottom = new System.Windows.Forms.Panel(); this.sizeToolControl = new Easychart.Finance.Win.SizeToolControl(); this.ChartControl = new Easychart.Finance.Win.ChartWinControl(); this.pnClient = new System.Windows.Forms.Panel(); this.mmMining = new System.Windows.Forms.MenuItem(); this.miCreateDM = new System.Windows.Forms.MenuItem(); this.pnBottom.SuspendLayout(); this.pnClient.SuspendLayout(); this.SuspendLayout(); // // mmMain // this.mmMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mmData, this.mmMining, this.miHelp }); // // mmData // this.mmData.Index = 0; this.mmData.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mmLoadData, this.mmLoadDataForecast, this.miLoadFromEasyChart, this.miLoadFromProphet, this.miLoadBinary, this.miLoadXml, this.miText, this.miMetaStock, this.miLoadFromYahooStreaming, this.miForexText, this.miLoadBond, this.miSp2, this.miSetup, this.miPreview, this.miPrint, this.miSp1, this.miExit }); this.mmData.Text = "&Dữ Liệu"; // // mmLoadData // this.mmLoadData.Index = 0; this.mmLoadData.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.mmLoadData.Text = "&Vẽ Dữ Liệu Nguồn"; this.mmLoadData.Click += new System.EventHandler(this.mmLoadData_Click); // // mmLoadDataForecast // this.mmLoadDataForecast.Index = 1; this.mmLoadDataForecast.Text = "Vẽ Dữ Liệu Nguồn và Dự Báo"; this.mmLoadDataForecast.Click += new System.EventHandler(this.mmLoadDataForecast_Click); // // miLoadFromEasyChart // this.miLoadFromEasyChart.Index = 2; this.miLoadFromEasyChart.Text = ""; // // miLoadFromProphet // this.miLoadFromProphet.Index = 3; this.miLoadFromProphet.Text = ""; // // miLoadBinary // this.miLoadBinary.Index = 4; this.miLoadBinary.Text = ""; // // miLoadXml // this.miLoadXml.Index = 5; this.miLoadXml.Text = ""; // // miText // this.miText.Index = 6; this.miText.Text = ""; // // miMetaStock // this.miMetaStock.Index = 7; this.miMetaStock.Text = ""; // // miLoadFromYahooStreaming // this.miLoadFromYahooStreaming.Index = 8; this.miLoadFromYahooStreaming.Text = ""; // // miForexText // this.miForexText.Index = 9; this.miForexText.Text = ""; // // miLoadBond // this.miLoadBond.Index = 10; this.miLoadBond.Text = ""; // // miSp2 // this.miSp2.Index = 11; this.miSp2.Text = "-"; // // miSetup // this.miSetup.Index = 12; this.miSetup.Text = ""; // // miPreview // this.miPreview.Index = 13; this.miPreview.Text = ""; // // miPrint // this.miPrint.Index = 14; this.miPrint.Text = ""; // // miSp1 // this.miSp1.Index = 15; this.miSp1.Text = "-"; // // miExit // this.miExit.Index = 16; this.miExit.Shortcut = System.Windows.Forms.Shortcut.AltF4; this.miExit.Text = "Exit"; this.miExit.Click += new System.EventHandler(this.miExit_Click); // // miHelp // this.miHelp.Index = 2; this.miHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miHotKey, this.menuItem3, this.miAbout }); this.miHelp.Text = "&Trợ Giúp"; // // miHotKey // this.miHotKey.Index = 0; this.miHotKey.Text = "Hot Keys"; this.miHotKey.Click += new System.EventHandler(this.miHotKey_Click); // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Text = "-"; // // miAbout // this.miAbout.Index = 2; this.miAbout.Text = ""; // // odLoadData // this.odLoadData.DefaultExt = "csv"; this.odLoadData.Filter = "csv files (*.csv)|*.csv|data files (*.dat)|*.dat|All files (*.*)|*.*"; // // pnBottom // this.pnBottom.Controls.Add(this.sizeToolControl); this.pnBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnBottom.Location = new System.Drawing.Point(0, 489); this.pnBottom.Name = "pnBottom"; this.pnBottom.Size = new System.Drawing.Size(776, 24); this.pnBottom.TabIndex = 3; // // sizeToolControl // this.sizeToolControl.ChartControl = this.ChartControl; this.sizeToolControl.Dock = System.Windows.Forms.DockStyle.Fill; this.sizeToolControl.Location = new System.Drawing.Point(0, 0); this.sizeToolControl.Name = "sizeToolControl"; this.sizeToolControl.Size = new System.Drawing.Size(776, 24); this.sizeToolControl.TabIndex = 0; // // ChartControl // this.ChartControl.AdjustData = ((bool)(configurationAppSettings.GetValue("ChartControl.AdjustData", typeof(bool)))); this.ChartControl.AreaPercent = ((string)(configurationAppSettings.GetValue("ChartControl.AreaPercent", typeof(string)))); this.ChartControl.BackColor = System.Drawing.SystemColors.Control; this.ChartControl.CausesValidation = false; this.ChartControl.ChartDragMode = Easychart.Finance.ChartDragMode.Chart; this.ChartControl.ColumnWidth = 5; this.ChartControl.DefaultFormulas = ((string)(configurationAppSettings.GetValue("ChartControl.DefaultFormulas", typeof(string)))); this.ChartControl.Designing = false; this.ChartControl.Dock = System.Windows.Forms.DockStyle.Fill; this.ChartControl.EndTime = new System.DateTime(((long)(0))); this.ChartControl.FavoriteFormulas = ((string)(configurationAppSettings.GetValue("ChartControl.FavoriteFormulas", typeof(string)))); this.ChartControl.ForeColor = System.Drawing.Color.Coral; exchangeIntraday1.TimePeriods = new Easychart.Finance.TimePeriod[0]; exchangeIntraday1.TimeZone = -4; this.ChartControl.IntradayInfo = exchangeIntraday1; this.ChartControl.Location = new System.Drawing.Point(0, 0); this.ChartControl.MaxPrice = 0; this.ChartControl.MinColumnWidth = 1; this.ChartControl.MinPrice = 0; this.ChartControl.Name = "ChartControl"; this.ChartControl.PriceLabelFormat = "{CODE} O:{OPEN} H:{HIGH} L:{LOW} C:{CLOSE} Chg:{CHANGE}"; this.ChartControl.ResetYAfterXChanged = false; this.ChartControl.ShowCrossCursor = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowCrossCursor", typeof(bool)))); this.ChartControl.ShowCursorLabel = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowCursorLabel", typeof(bool)))); this.ChartControl.ShowIndicatorValues = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowIndicatorValues", typeof(bool)))); this.ChartControl.ShowOverlayValues = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowOverlayValues", typeof(bool)))); this.ChartControl.ShowStatistic = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowStatistic", typeof(bool)))); this.ChartControl.Size = new System.Drawing.Size(776, 489); this.ChartControl.Skin = ((string)(configurationAppSettings.GetValue("ChartControl.Skin", typeof(string)))); this.ChartControl.StartTime = new System.DateTime(((long)(0))); this.ChartControl.StickRenderType = Easychart.Finance.StickRenderType.Column; this.ChartControl.TabIndex = 0; this.ChartControl.NativePaint += new Easychart.Finance.NativePaintHandler(this.ChartControl_NativePaint); this.ChartControl.BeforeApplySkin += new Easychart.Finance.Win.ApplySkinHandler(this.ChartControl_BeforeApplySkin); this.ChartControl.AfterApplySkin += new System.EventHandler(this.ChartControl_AfterApplySkin); this.ChartControl.DataChanged += new System.EventHandler(this.ChartControl_DataChanged); // // pnClient // this.pnClient.Controls.Add(this.ChartControl); this.pnClient.Dock = System.Windows.Forms.DockStyle.Fill; this.pnClient.Location = new System.Drawing.Point(0, 0); this.pnClient.Name = "pnClient"; this.pnClient.Size = new System.Drawing.Size(776, 489); this.pnClient.TabIndex = 4; // // mmMining // this.mmMining.Index = 1; this.mmMining.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miCreateDM }); this.mmMining.Text = "Dự &Báo"; // // miCreateDM // this.miCreateDM.Index = 0; this.miCreateDM.Text = "Tạo mô hình cho Stock mới"; this.miCreateDM.Click += new System.EventHandler(this.miCreateDM_Click); // // DemoForm // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(776, 513); this.Controls.Add(this.pnClient); this.Controls.Add(this.pnBottom); this.Cursor = System.Windows.Forms.Cursors.Default; this.Font = new System.Drawing.Font("Verdana", 8.25F); this.Menu = this.mmMain; this.Name = "DemoForm"; this.Text = "DemoForm"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closed += new System.EventHandler(this.DemoForm_Closed); this.Load += new System.EventHandler(this.DemoForm_Load); this.pnBottom.ResumeLayout(false); this.pnClient.ResumeLayout(false); this.ResumeLayout(false); }
/// <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.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); Easychart.Finance.ExchangeIntraday exchangeIntraday1 = new Easychart.Finance.ExchangeIntraday(); this.mmMain = new System.Windows.Forms.MainMenu(this.components); this.mmData = new System.Windows.Forms.MenuItem(); this.miExport2CSV = new System.Windows.Forms.MenuItem(); this.mmLoadData = new System.Windows.Forms.MenuItem(); this.mmLoadDataForecast = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.miExit = new System.Windows.Forms.MenuItem(); this.mmMining = new System.Windows.Forms.MenuItem(); this.miCreateDM = new System.Windows.Forms.MenuItem(); this.miUpdateData = new System.Windows.Forms.MenuItem(); this.miForecast = new System.Windows.Forms.MenuItem(); this.miConfig = new System.Windows.Forms.MenuItem(); this.miHelp = new System.Windows.Forms.MenuItem(); this.miGuide = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.miAbout = new System.Windows.Forms.MenuItem(); this.miStat = new System.Windows.Forms.MenuItem(); this.miStatConfig = new System.Windows.Forms.MenuItem(); this.miStatPerPrice = new System.Windows.Forms.MenuItem(); this.miStatDurPerPrice = new System.Windows.Forms.MenuItem(); this.miStatPerVolume = new System.Windows.Forms.MenuItem(); this.miStatChangePrice = new System.Windows.Forms.MenuItem(); this.miStatFinance = new System.Windows.Forms.MenuItem(); this.miFinance = new System.Windows.Forms.MenuItem(); this.miFinBranch = new System.Windows.Forms.MenuItem(); this.miFinStock = new System.Windows.Forms.MenuItem(); this.odLoadData = new System.Windows.Forms.OpenFileDialog(); this.cdFormulaColor = new System.Windows.Forms.ColorDialog(); this.pnBottom = new System.Windows.Forms.Panel(); this.sizeToolControl = new Easychart.Finance.Win.SizeToolControl(); this.ChartControl = new Easychart.Finance.Win.ChartWinControl(); this.pnClient = new System.Windows.Forms.Panel(); this.miStatMarket = new System.Windows.Forms.MenuItem(); this.pnBottom.SuspendLayout(); this.pnClient.SuspendLayout(); this.SuspendLayout(); // // mmMain // this.mmMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mmData, this.mmMining, this.miHelp, this.miStat, this.miFinance }); // // mmData // this.mmData.Index = 0; this.mmData.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miExport2CSV, this.mmLoadData, this.mmLoadDataForecast, this.menuItem1, this.miExit }); this.mmData.Text = "&Dữ Liệu"; // // miExport2CSV // this.miExport2CSV.Index = 0; this.miExport2CSV.Text = "Xuất dữ liệu ra CSV file"; this.miExport2CSV.Click += new System.EventHandler(this.miExport2CSV_Click); // // mmLoadData // this.mmLoadData.Index = 1; this.mmLoadData.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.mmLoadData.Text = "&Vẽ Dữ Liệu Nguồn"; this.mmLoadData.Click += new System.EventHandler(this.mmLoadData_Click); // // mmLoadDataForecast // this.mmLoadDataForecast.Index = 2; this.mmLoadDataForecast.Text = "Vẽ Dữ Liệu Nguồn và Dự Báo"; this.mmLoadDataForecast.Click += new System.EventHandler(this.mmLoadDataForecast_Click); // // menuItem1 // this.menuItem1.Index = 3; this.menuItem1.Text = "-"; // // miExit // this.miExit.Index = 4; this.miExit.Shortcut = System.Windows.Forms.Shortcut.AltF4; this.miExit.Text = "Thoát"; this.miExit.Click += new System.EventHandler(this.miExit_Click); // // mmMining // this.mmMining.Index = 1; this.mmMining.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miCreateDM, this.miUpdateData, this.miForecast, this.miConfig }); this.mmMining.Text = "Dự &Báo"; // // miCreateDM // this.miCreateDM.Index = 0; this.miCreateDM.Text = "&Tạo mô hình cho Stock mới"; this.miCreateDM.Click += new System.EventHandler(this.miCreateDM_Click); // // miUpdateData // this.miUpdateData.Index = 1; this.miUpdateData.Text = "&Cập nhật dữ liệu mới"; this.miUpdateData.Click += new System.EventHandler(this.miUpdateData_Click); // // miForecast // this.miForecast.Index = 2; this.miForecast.Text = "&Dự báo tương lai"; this.miForecast.Click += new System.EventHandler(this.miForecast_Click); // // miConfig // this.miConfig.Index = 3; this.miConfig.Text = "Cấu &hình"; this.miConfig.Click += new System.EventHandler(this.miConfig_Click); // // miHelp // this.miHelp.Index = 2; this.miHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miGuide, this.menuItem3, this.miAbout }); this.miHelp.Text = "&Trợ Giúp"; this.miHelp.Visible = false; // // miGuide // this.miGuide.Index = 0; this.miGuide.Text = "&Hướng dẫn"; this.miGuide.Click += new System.EventHandler(this.miGuide_Click); // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Text = "-"; // // miAbout // this.miAbout.Index = 2; this.miAbout.Text = ""; // // miStat // this.miStat.Index = 3; this.miStat.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miStatConfig, this.miStatPerPrice, this.miStatDurPerPrice, this.miStatPerVolume, this.miStatChangePrice, this.miStatFinance, this.miStatMarket }); this.miStat.Text = "Thống Kê"; // // miStatConfig // this.miStatConfig.Index = 0; this.miStatConfig.Text = "Cấu Hình"; this.miStatConfig.Click += new System.EventHandler(this.miStatConfig_Click); // // miStatPerPrice // this.miStatPerPrice.Index = 1; this.miStatPerPrice.Text = "Theo giá min/max"; this.miStatPerPrice.Click += new System.EventHandler(this.miStatPerPrice_Click); // // miStatDurPerPrice // this.miStatDurPerPrice.Index = 2; this.miStatDurPerPrice.Text = "Theo giá first/last"; this.miStatDurPerPrice.Click += new System.EventHandler(this.miStatDurPerPrice_Click); // // miStatPerVolume // this.miStatPerVolume.Index = 3; this.miStatPerVolume.Text = "Theo lượng giao dịch"; this.miStatPerVolume.Click += new System.EventHandler(this.miStatPerVolume_Click); // // miStatChangePrice // this.miStatChangePrice.Index = 4; this.miStatChangePrice.Text = "Thay đổi giá"; this.miStatChangePrice.Click += new System.EventHandler(this.miStatChangePrice_Click); // // miStatFinance // this.miStatFinance.Index = 5; this.miStatFinance.Text = "Tài chính"; this.miStatFinance.Click += new System.EventHandler(this.miStatFinance_Click); // // miFinance // this.miFinance.Index = 4; this.miFinance.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miFinBranch, this.miFinStock }); this.miFinance.Text = "Tài Chính"; // // miFinBranch // this.miFinBranch.Index = 0; this.miFinBranch.Text = "Tài chính Ngành"; this.miFinBranch.Click += new System.EventHandler(this.miFinBranch_Click); // // miFinStock // this.miFinStock.Index = 1; this.miFinStock.Text = "Tài chính Công Ty"; this.miFinStock.Click += new System.EventHandler(this.miFinStock_Click); // // odLoadData // this.odLoadData.DefaultExt = "csv"; this.odLoadData.Filter = "csv files (*.csv)|*.csv|data files (*.dat)|*.dat|All files (*.*)|*.*"; // // pnBottom // this.pnBottom.Controls.Add(this.sizeToolControl); this.pnBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnBottom.Location = new System.Drawing.Point(0, 291); this.pnBottom.Name = "pnBottom"; this.pnBottom.Size = new System.Drawing.Size(695, 24); this.pnBottom.TabIndex = 3; // // sizeToolControl // this.sizeToolControl.ChartControl = this.ChartControl; this.sizeToolControl.Dock = System.Windows.Forms.DockStyle.Fill; this.sizeToolControl.Location = new System.Drawing.Point(0, 0); this.sizeToolControl.Name = "sizeToolControl"; this.sizeToolControl.Size = new System.Drawing.Size(695, 24); this.sizeToolControl.TabIndex = 0; // // ChartControl // this.ChartControl.AdjustData = ((bool)(configurationAppSettings.GetValue("ChartControl.AdjustData", typeof(bool)))); this.ChartControl.AreaPercent = ((string)(configurationAppSettings.GetValue("ChartControl.AreaPercent", typeof(string)))); this.ChartControl.BackColor = System.Drawing.SystemColors.Control; this.ChartControl.CausesValidation = false; this.ChartControl.ChartDragMode = Easychart.Finance.ChartDragMode.Chart; this.ChartControl.ColumnWidth = 5; this.ChartControl.DefaultFormulas = ((string)(configurationAppSettings.GetValue("ChartControl.DefaultFormulas", typeof(string)))); this.ChartControl.Designing = false; this.ChartControl.Dock = System.Windows.Forms.DockStyle.Fill; this.ChartControl.EndTime = new System.DateTime(((long)(0))); this.ChartControl.FavoriteFormulas = ((string)(configurationAppSettings.GetValue("ChartControl.FavoriteFormulas", typeof(string)))); this.ChartControl.ForeColor = System.Drawing.Color.Coral; exchangeIntraday1.TimePeriods = new Easychart.Finance.TimePeriod[0]; exchangeIntraday1.TimeZone = -4; this.ChartControl.IntradayInfo = exchangeIntraday1; this.ChartControl.Location = new System.Drawing.Point(0, 0); this.ChartControl.MaxPrice = 0; this.ChartControl.MinColumnWidth = 1; this.ChartControl.MinPrice = 0; this.ChartControl.Name = "ChartControl"; this.ChartControl.PriceLabelFormat = "{CODE} O:{OPEN} H:{HIGH} L:{LOW} C:{CLOSE} Chg:{CHANGE}"; this.ChartControl.ResetYAfterXChanged = false; this.ChartControl.ShowCrossCursor = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowCrossCursor", typeof(bool)))); this.ChartControl.ShowCursorLabel = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowCursorLabel", typeof(bool)))); this.ChartControl.ShowIndicatorValues = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowIndicatorValues", typeof(bool)))); this.ChartControl.ShowOverlayValues = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowOverlayValues", typeof(bool)))); this.ChartControl.ShowStatistic = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowStatistic", typeof(bool)))); this.ChartControl.Size = new System.Drawing.Size(695, 291); this.ChartControl.Skin = ((string)(configurationAppSettings.GetValue("ChartControl.Skin", typeof(string)))); this.ChartControl.StartTime = new System.DateTime(((long)(0))); this.ChartControl.StickRenderType = Easychart.Finance.StickRenderType.Column; this.ChartControl.TabIndex = 0; this.ChartControl.NativePaint += new Easychart.Finance.NativePaintHandler(this.ChartControl_NativePaint); this.ChartControl.AfterApplySkin += new System.EventHandler(this.ChartControl_AfterApplySkin); this.ChartControl.BeforeApplySkin += new Easychart.Finance.Win.ApplySkinHandler(this.ChartControl_BeforeApplySkin); this.ChartControl.DataChanged += new System.EventHandler(this.ChartControl_DataChanged); // // pnClient // this.pnClient.Controls.Add(this.ChartControl); this.pnClient.Dock = System.Windows.Forms.DockStyle.Fill; this.pnClient.Location = new System.Drawing.Point(0, 0); this.pnClient.Name = "pnClient"; this.pnClient.Size = new System.Drawing.Size(695, 291); this.pnClient.TabIndex = 4; // // miStatMarket // this.miStatMarket.Index = 6; this.miStatMarket.Text = "Điểm thị trường"; this.miStatMarket.Click += new System.EventHandler(this.miStatMarket_Click); // // frmMainForm // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(695, 315); this.Controls.Add(this.pnClient); this.Controls.Add(this.pnBottom); this.Cursor = System.Windows.Forms.Cursors.Default; this.Font = new System.Drawing.Font("Verdana", 8.25F); this.MaximizeBox = false; this.Menu = this.mmMain; this.Name = "frmMainForm"; this.Text = "Chuong trinh chinh"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.DemoForm_Load); this.Closed += new System.EventHandler(this.DemoForm_Closed); this.pnBottom.ResumeLayout(false); this.pnClient.ResumeLayout(false); this.ResumeLayout(false); }