public StockChart() { InitializeComponent(); ctrl = new StockChartCtrl(); ctrl.Dock = DockStyle.Fill; this.Controls.Add(ctrl); }
private void StockChart_FormClosing(object sender, FormClosingEventArgs e) { //e.Cancel = true; //this.Hide(); for (int i = this.Controls.Count; i > 0; i--) { StockChartCtrl c = this.Controls[i - 1] as StockChartCtrl; c.Dispose(); } this.Controls.Clear(); }
/// <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(MyStock)); this.stockSettingsContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.timeSheetMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dayLineMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.weekLinepMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.monthLineMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.deletePersonalStockMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.excelToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.queryResultStocksContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.加入自选ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.删除自选ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.timeSheetMenuItemOfAllStocks = new System.Windows.Forms.ToolStripMenuItem(); this.dayKMenuItemOfAllStocks = new System.Windows.Forms.ToolStripMenuItem(); this.weekKMenuItemOfAllStocks = new System.Windows.Forms.ToolStripMenuItem(); this.MonthKMenuItemOfAllStocks = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); this.tabPagePersonalOption = new System.Windows.Forms.TabPage(); this.tabControl2 = new System.Windows.Forms.TabControl(); this.tabPageMyStockSetting = new System.Windows.Forms.TabPage(); this.dgvStocksetting = new System.Windows.Forms.DataGridView(); this.tabPageAllStockList = new System.Windows.Forms.TabPage(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.dgvQueryResultStocks = new System.Windows.Forms.DataGridView(); this.Code = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.No = new System.Windows.Forms.DataGridViewTextBoxColumn(); this._Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.InShort = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.CategroyDesc = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.txtSrockName = new System.Windows.Forms.TextBox(); this.btnQueryStock = new System.Windows.Forms.Button(); this.btnRefreshPersonalStockSetting = new System.Windows.Forms.Button(); this.btnUpdateStockInfo = new System.Windows.Forms.Button(); this.tabPageMyStockColumnsSetting = new System.Windows.Forms.TabPage(); this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); this.btnMyStockColumnSetting = new System.Windows.Forms.Button(); this.cBoxListMyStockColumnsSetting = new System.Windows.Forms.CheckedListBox(); this.tabPageStockList = new System.Windows.Forms.TabPage(); this.tabControl3 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.dgvMonitorStocks = new System.Windows.Forms.DataGridView(); this.S_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.S_Code = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.S_Low = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.S_Now = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.S_High = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.S_BuyPrice = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.S_Profit = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.S_ProfitOrLoss = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.S_Percent = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.SCount = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.M_Order = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.CategroyDescMonitor = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.MDesc = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.monitorContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.timeSheetMenuItemOfMyStock = new System.Windows.Forms.ToolStripMenuItem(); this.dayKMenuItemOfMyStock = new System.Windows.Forms.ToolStripMenuItem(); this.weekKMenuItemOfMyStock = new System.Windows.Forms.ToolStripMenuItem(); this.monthKMenuItemOfMyStock = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.excelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.cboxListMonitorSetting = new System.Windows.Forms.CheckedListBox(); this.btnSaveMonitorSetting = new System.Windows.Forms.Button(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPageStockChart = new System.Windows.Forms.TabPage(); this.tabPageSetting = new System.Windows.Forms.TabPage(); this.tabPageCheckInOut = new System.Windows.Forms.TabPage(); this.dgvCheckHistory = new System.Windows.Forms.DataGridView(); this.checkHistoryContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.SaveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.StockName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.StockCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.StockNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.StockInShort = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.WarnPrice_Min = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.WarnPrice_Max = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.WarnPercent_Min = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.WarnPercent_Max = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BuyCount = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BuyPrice = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Order = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.HasProfitOrLoss = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.HasProfitBefore = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ProfitOrLossHistory = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ShowInFolatWindow = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.Warn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.CategroyDescPersonal = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.PDesc = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.stockChartCtrl = new Justin.Stock.StockChartCtrl(); this.systemSettingCtrl1 = new Justin.Stock.Controls.SystemSettingCtrl(); this.stockSettingsContextMenu.SuspendLayout(); this.queryResultStocksContextMenu.SuspendLayout(); this.tabPagePersonalOption.SuspendLayout(); this.tabControl2.SuspendLayout(); this.tabPageMyStockSetting.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvStocksetting)).BeginInit(); this.tabPageAllStockList.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvQueryResultStocks)).BeginInit(); this.tableLayoutPanel3.SuspendLayout(); this.tabPageMyStockColumnsSetting.SuspendLayout(); this.tableLayoutPanel4.SuspendLayout(); this.tabPageStockList.SuspendLayout(); this.tabControl3.SuspendLayout(); this.tabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvMonitorStocks)).BeginInit(); this.monitorContextMenu.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPageStockChart.SuspendLayout(); this.tabPageSetting.SuspendLayout(); this.tabPageCheckInOut.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvCheckHistory)).BeginInit(); this.checkHistoryContextMenuStrip.SuspendLayout(); this.SuspendLayout(); // // stockSettingsContextMenu // this.stockSettingsContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripSeparator6, this.保存ToolStripMenuItem, this.toolStripSeparator1, this.timeSheetMenuItem, this.dayLineMenuItem, this.weekLinepMenuItem, this.monthLineMenuItem, this.toolStripSeparator2, this.deletePersonalStockMenuItem, this.toolStripSeparator5, this.excelToolStripMenuItem1}); this.stockSettingsContextMenu.Name = "MySrockMenu"; this.stockSettingsContextMenu.Size = new System.Drawing.Size(101, 182); this.stockSettingsContextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.stockSettingsContextMenu_Opening); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(97, 6); // // 保存ToolStripMenuItem // this.保存ToolStripMenuItem.Name = "保存ToolStripMenuItem"; this.保存ToolStripMenuItem.Size = new System.Drawing.Size(100, 22); this.保存ToolStripMenuItem.Text = "保存"; this.保存ToolStripMenuItem.Click += new System.EventHandler(this.保存ToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(97, 6); // // timeSheetMenuItem // this.timeSheetMenuItem.Name = "timeSheetMenuItem"; this.timeSheetMenuItem.Size = new System.Drawing.Size(100, 22); this.timeSheetMenuItem.Text = "分时"; this.timeSheetMenuItem.Click += new System.EventHandler(this.timeSheetMenuItem_Click); // // dayLineMenuItem // this.dayLineMenuItem.Name = "dayLineMenuItem"; this.dayLineMenuItem.Size = new System.Drawing.Size(100, 22); this.dayLineMenuItem.Text = "日线"; this.dayLineMenuItem.Click += new System.EventHandler(this.dayKMenuItem_Click); // // weekLinepMenuItem // this.weekLinepMenuItem.Name = "weekLinepMenuItem"; this.weekLinepMenuItem.Size = new System.Drawing.Size(100, 22); this.weekLinepMenuItem.Text = "周线"; this.weekLinepMenuItem.Click += new System.EventHandler(this.weekKMenuItem_Click); // // monthLineMenuItem // this.monthLineMenuItem.Name = "monthLineMenuItem"; this.monthLineMenuItem.Size = new System.Drawing.Size(100, 22); this.monthLineMenuItem.Text = "月线"; this.monthLineMenuItem.Click += new System.EventHandler(this.monthKMenuItem_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(97, 6); // // deletePersonalStockMenuItem // this.deletePersonalStockMenuItem.Name = "deletePersonalStockMenuItem"; this.deletePersonalStockMenuItem.Size = new System.Drawing.Size(100, 22); this.deletePersonalStockMenuItem.Text = "删除"; this.deletePersonalStockMenuItem.Click += new System.EventHandler(this.deletePersonalStockMenuItem_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(97, 6); // // excelToolStripMenuItem1 // this.excelToolStripMenuItem1.Name = "excelToolStripMenuItem1"; this.excelToolStripMenuItem1.Size = new System.Drawing.Size(100, 22); this.excelToolStripMenuItem1.Text = "Excel"; this.excelToolStripMenuItem1.Click += new System.EventHandler(this.excelToolStripMenuItem1_Click); // // queryResultStocksContextMenu // this.queryResultStocksContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripSeparator7, this.加入自选ToolStripMenuItem, this.删除自选ToolStripMenuItem, this.toolStripSeparator8, this.timeSheetMenuItemOfAllStocks, this.dayKMenuItemOfAllStocks, this.weekKMenuItemOfAllStocks, this.MonthKMenuItemOfAllStocks, this.toolStripSeparator9}); this.queryResultStocksContextMenu.Name = "contextMenuStrip1"; this.queryResultStocksContextMenu.Size = new System.Drawing.Size(123, 154); // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(119, 6); // // 加入自选ToolStripMenuItem // this.加入自选ToolStripMenuItem.Name = "加入自选ToolStripMenuItem"; this.加入自选ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.加入自选ToolStripMenuItem.Text = "加入自选"; this.加入自选ToolStripMenuItem.Click += new System.EventHandler(this.加入自选ToolStripMenuItem_Click); // // 删除自选ToolStripMenuItem // this.删除自选ToolStripMenuItem.Name = "删除自选ToolStripMenuItem"; this.删除自选ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.删除自选ToolStripMenuItem.Text = "删除自选"; this.删除自选ToolStripMenuItem.Click += new System.EventHandler(this.删除自选ToolStripMenuItem_Click); // // toolStripSeparator8 // this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Size = new System.Drawing.Size(119, 6); // // timeSheetMenuItemOfAllStocks // this.timeSheetMenuItemOfAllStocks.Name = "timeSheetMenuItemOfAllStocks"; this.timeSheetMenuItemOfAllStocks.Size = new System.Drawing.Size(122, 22); this.timeSheetMenuItemOfAllStocks.Text = "分时"; this.timeSheetMenuItemOfAllStocks.Click += new System.EventHandler(this.timeSheetMenuItem_Click); // // dayKMenuItemOfAllStocks // this.dayKMenuItemOfAllStocks.Name = "dayKMenuItemOfAllStocks"; this.dayKMenuItemOfAllStocks.Size = new System.Drawing.Size(122, 22); this.dayKMenuItemOfAllStocks.Text = "日线"; this.dayKMenuItemOfAllStocks.Click += new System.EventHandler(this.dayKMenuItem_Click); // // weekKMenuItemOfAllStocks // this.weekKMenuItemOfAllStocks.Name = "weekKMenuItemOfAllStocks"; this.weekKMenuItemOfAllStocks.Size = new System.Drawing.Size(122, 22); this.weekKMenuItemOfAllStocks.Text = "周线"; this.weekKMenuItemOfAllStocks.Click += new System.EventHandler(this.weekKMenuItem_Click); // // MonthKMenuItemOfAllStocks // this.MonthKMenuItemOfAllStocks.Name = "MonthKMenuItemOfAllStocks"; this.MonthKMenuItemOfAllStocks.Size = new System.Drawing.Size(122, 22); this.MonthKMenuItemOfAllStocks.Text = "月线"; this.MonthKMenuItemOfAllStocks.Click += new System.EventHandler(this.monthKMenuItem_Click); // // toolStripSeparator9 // this.toolStripSeparator9.Name = "toolStripSeparator9"; this.toolStripSeparator9.Size = new System.Drawing.Size(119, 6); // // tabPagePersonalOption // this.tabPagePersonalOption.Controls.Add(this.tabControl2); this.tabPagePersonalOption.Location = new System.Drawing.Point(4, 22); this.tabPagePersonalOption.Name = "tabPagePersonalOption"; this.tabPagePersonalOption.Padding = new System.Windows.Forms.Padding(3); this.tabPagePersonalOption.Size = new System.Drawing.Size(730, 484); this.tabPagePersonalOption.TabIndex = 1; this.tabPagePersonalOption.Text = "Personal"; this.tabPagePersonalOption.UseVisualStyleBackColor = true; // // tabControl2 // this.tabControl2.Controls.Add(this.tabPageMyStockSetting); this.tabControl2.Controls.Add(this.tabPageAllStockList); this.tabControl2.Controls.Add(this.tabPageMyStockColumnsSetting); this.tabControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl2.Location = new System.Drawing.Point(3, 3); this.tabControl2.Name = "tabControl2"; this.tabControl2.SelectedIndex = 0; this.tabControl2.Size = new System.Drawing.Size(724, 478); this.tabControl2.TabIndex = 0; this.tabControl2.SelectedIndexChanged += new System.EventHandler(this.tabControl2_SelectedIndexChanged); // // tabPageMyStockSetting // this.tabPageMyStockSetting.Controls.Add(this.dgvStocksetting); this.tabPageMyStockSetting.Location = new System.Drawing.Point(4, 22); this.tabPageMyStockSetting.Name = "tabPageMyStockSetting"; this.tabPageMyStockSetting.Padding = new System.Windows.Forms.Padding(3); this.tabPageMyStockSetting.Size = new System.Drawing.Size(716, 452); this.tabPageMyStockSetting.TabIndex = 0; this.tabPageMyStockSetting.Text = "Setting"; this.tabPageMyStockSetting.UseVisualStyleBackColor = true; // // dgvStocksetting // this.dgvStocksetting.AllowUserToAddRows = false; this.dgvStocksetting.AllowUserToDeleteRows = false; this.dgvStocksetting.AllowUserToOrderColumns = true; this.dgvStocksetting.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dgvStocksetting.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; this.dgvStocksetting.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight; this.dgvStocksetting.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvStocksetting.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.StockName, this.StockCode, this.StockNo, this.StockInShort, this.WarnPrice_Min, this.WarnPrice_Max, this.WarnPercent_Min, this.WarnPercent_Max, this.BuyCount, this.BuyPrice, this.Order, this.HasProfitOrLoss, this.HasProfitBefore, this.ProfitOrLossHistory, this.ShowInFolatWindow, this.Warn, this.CategroyDescPersonal, this.PDesc}); this.dgvStocksetting.ContextMenuStrip = this.stockSettingsContextMenu; this.dgvStocksetting.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvStocksetting.Location = new System.Drawing.Point(3, 3); this.dgvStocksetting.MultiSelect = false; this.dgvStocksetting.Name = "dgvStocksetting"; this.dgvStocksetting.RowTemplate.Height = 23; this.dgvStocksetting.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dgvStocksetting.Size = new System.Drawing.Size(710, 446); this.dgvStocksetting.TabIndex = 22; this.dgvStocksetting.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvStocksetting_CellMouseDown); // // tabPageAllStockList // this.tabPageAllStockList.Controls.Add(this.tableLayoutPanel2); this.tabPageAllStockList.Location = new System.Drawing.Point(4, 22); this.tabPageAllStockList.Name = "tabPageAllStockList"; this.tabPageAllStockList.Padding = new System.Windows.Forms.Padding(3); this.tabPageAllStockList.Size = new System.Drawing.Size(716, 452); this.tabPageAllStockList.TabIndex = 1; this.tabPageAllStockList.Text = "AllStockList"; this.tabPageAllStockList.UseVisualStyleBackColor = true; // // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 1; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Controls.Add(this.dgvQueryResultStocks, 0, 1); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel3, 0, 0); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 2; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 70F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(710, 446); this.tableLayoutPanel2.TabIndex = 7; // // dgvQueryResultStocks // this.dgvQueryResultStocks.AllowUserToAddRows = false; this.dgvQueryResultStocks.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dgvQueryResultStocks.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; this.dgvQueryResultStocks.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight; this.dgvQueryResultStocks.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvQueryResultStocks.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Code, this.No, this._Name, this.InShort, this.CategroyDesc}); this.dgvQueryResultStocks.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvQueryResultStocks.Location = new System.Drawing.Point(3, 38); this.dgvQueryResultStocks.MultiSelect = false; this.dgvQueryResultStocks.Name = "dgvQueryResultStocks"; this.dgvQueryResultStocks.RowTemplate.Height = 23; this.dgvQueryResultStocks.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dgvQueryResultStocks.Size = new System.Drawing.Size(704, 405); this.dgvQueryResultStocks.TabIndex = 10; this.dgvQueryResultStocks.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvQueryResultStocks_CellMouseDown); // // Code // this.Code.ContextMenuStrip = this.queryResultStocksContextMenu; this.Code.DataPropertyName = "Code"; this.Code.HeaderText = "Code"; this.Code.Name = "Code"; this.Code.ReadOnly = true; this.Code.Width = 57; // // No // this.No.DataPropertyName = "No"; this.No.HeaderText = "No"; this.No.Name = "No"; this.No.ReadOnly = true; this.No.Width = 46; // // _Name // this._Name.DataPropertyName = "Name"; this._Name.HeaderText = "StockName"; this._Name.Name = "_Name"; this._Name.ReadOnly = true; this._Name.Width = 88; // // InShort // this.InShort.DataPropertyName = "SpellingInShort"; this.InShort.HeaderText = "InShort"; this.InShort.Name = "InShort"; this.InShort.Width = 66; // // CategroyDesc // this.CategroyDesc.DataPropertyName = "CategroyDesc"; this.CategroyDesc.HeaderText = "Categroy"; this.CategroyDesc.Name = "CategroyDesc"; this.CategroyDesc.ReadOnly = true; this.CategroyDesc.Width = 74; // // tableLayoutPanel3 // this.tableLayoutPanel3.ColumnCount = 4; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.Controls.Add(this.txtSrockName, 0, 0); this.tableLayoutPanel3.Controls.Add(this.btnQueryStock, 1, 0); this.tableLayoutPanel3.Controls.Add(this.btnRefreshPersonalStockSetting, 2, 0); this.tableLayoutPanel3.Controls.Add(this.btnUpdateStockInfo, 3, 0); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 3); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 1; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.Size = new System.Drawing.Size(704, 29); this.tableLayoutPanel3.TabIndex = 16; // // txtSrockName // this.txtSrockName.Dock = System.Windows.Forms.DockStyle.Fill; this.txtSrockName.Location = new System.Drawing.Point(3, 3); this.txtSrockName.Name = "txtSrockName"; this.txtSrockName.Size = new System.Drawing.Size(458, 20); this.txtSrockName.TabIndex = 10; // // btnQueryStock // this.btnQueryStock.Dock = System.Windows.Forms.DockStyle.Fill; this.btnQueryStock.Location = new System.Drawing.Point(467, 3); this.btnQueryStock.Name = "btnQueryStock"; this.btnQueryStock.Size = new System.Drawing.Size(74, 23); this.btnQueryStock.TabIndex = 11; this.btnQueryStock.Text = "查询个股"; this.btnQueryStock.UseVisualStyleBackColor = true; this.btnQueryStock.Click += new System.EventHandler(this.btnQueryStock_Click); // // btnRefreshPersonalStockSetting // this.btnRefreshPersonalStockSetting.Dock = System.Windows.Forms.DockStyle.Fill; this.btnRefreshPersonalStockSetting.Location = new System.Drawing.Point(547, 3); this.btnRefreshPersonalStockSetting.Name = "btnRefreshPersonalStockSetting"; this.btnRefreshPersonalStockSetting.Size = new System.Drawing.Size(74, 23); this.btnRefreshPersonalStockSetting.TabIndex = 12; this.btnRefreshPersonalStockSetting.Text = "刷新个股"; this.btnRefreshPersonalStockSetting.UseVisualStyleBackColor = true; this.btnRefreshPersonalStockSetting.Click += new System.EventHandler(this.btnRefreshPersonalStockSetting_Click); // // btnUpdateStockInfo // this.btnUpdateStockInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.btnUpdateStockInfo.Location = new System.Drawing.Point(627, 3); this.btnUpdateStockInfo.Name = "btnUpdateStockInfo"; this.btnUpdateStockInfo.Size = new System.Drawing.Size(74, 23); this.btnUpdateStockInfo.TabIndex = 13; this.btnUpdateStockInfo.Text = "代码更新"; this.btnUpdateStockInfo.UseVisualStyleBackColor = true; this.btnUpdateStockInfo.Click += new System.EventHandler(this.btnUpdateStockInfo_Click); // // tabPageMyStockColumnsSetting // this.tabPageMyStockColumnsSetting.Controls.Add(this.tableLayoutPanel4); this.tabPageMyStockColumnsSetting.Location = new System.Drawing.Point(4, 22); this.tabPageMyStockColumnsSetting.Name = "tabPageMyStockColumnsSetting"; this.tabPageMyStockColumnsSetting.Size = new System.Drawing.Size(716, 452); this.tabPageMyStockColumnsSetting.TabIndex = 2; this.tabPageMyStockColumnsSetting.Text = "ColumnsSetting"; this.tabPageMyStockColumnsSetting.UseVisualStyleBackColor = true; // // tableLayoutPanel4 // this.tableLayoutPanel4.ColumnCount = 1; this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.Controls.Add(this.btnMyStockColumnSetting, 0, 1); this.tableLayoutPanel4.Controls.Add(this.cBoxListMyStockColumnsSetting, 0, 0); this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel4.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel4.Name = "tableLayoutPanel4"; this.tableLayoutPanel4.RowCount = 2; this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 92.77109F)); this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 7.228916F)); this.tableLayoutPanel4.Size = new System.Drawing.Size(716, 452); this.tableLayoutPanel4.TabIndex = 0; // // btnMyStockColumnSetting // this.btnMyStockColumnSetting.Dock = System.Windows.Forms.DockStyle.Fill; this.btnMyStockColumnSetting.Location = new System.Drawing.Point(3, 422); this.btnMyStockColumnSetting.Name = "btnMyStockColumnSetting"; this.btnMyStockColumnSetting.Size = new System.Drawing.Size(710, 27); this.btnMyStockColumnSetting.TabIndex = 2; this.btnMyStockColumnSetting.Text = "√"; this.btnMyStockColumnSetting.UseVisualStyleBackColor = true; this.btnMyStockColumnSetting.Click += new System.EventHandler(this.btnMyStockColumnSetting_Click); // // cBoxListMyStockColumnsSetting // this.cBoxListMyStockColumnsSetting.CheckOnClick = true; this.cBoxListMyStockColumnsSetting.Dock = System.Windows.Forms.DockStyle.Fill; this.cBoxListMyStockColumnsSetting.FormattingEnabled = true; this.cBoxListMyStockColumnsSetting.Location = new System.Drawing.Point(3, 3); this.cBoxListMyStockColumnsSetting.Name = "cBoxListMyStockColumnsSetting"; this.cBoxListMyStockColumnsSetting.Size = new System.Drawing.Size(710, 413); this.cBoxListMyStockColumnsSetting.TabIndex = 3; // // tabPageStockList // this.tabPageStockList.Controls.Add(this.tabControl3); this.tabPageStockList.Location = new System.Drawing.Point(4, 22); this.tabPageStockList.Name = "tabPageStockList"; this.tabPageStockList.Padding = new System.Windows.Forms.Padding(3); this.tabPageStockList.Size = new System.Drawing.Size(730, 484); this.tabPageStockList.TabIndex = 0; this.tabPageStockList.Text = "Monitor"; this.tabPageStockList.UseVisualStyleBackColor = true; // // tabControl3 // this.tabControl3.Controls.Add(this.tabPage1); this.tabControl3.Controls.Add(this.tabPage2); this.tabControl3.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl3.Location = new System.Drawing.Point(3, 3); this.tabControl3.Name = "tabControl3"; this.tabControl3.SelectedIndex = 0; this.tabControl3.Size = new System.Drawing.Size(724, 478); this.tabControl3.TabIndex = 2; this.tabControl3.SelectedIndexChanged += new System.EventHandler(this.tabControl3_SelectedIndexChanged); // // tabPage1 // this.tabPage1.Controls.Add(this.dgvMonitorStocks); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(716, 452); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "List"; this.tabPage1.UseVisualStyleBackColor = true; // // dgvMonitorStocks // this.dgvMonitorStocks.AllowUserToAddRows = false; this.dgvMonitorStocks.AllowUserToDeleteRows = false; this.dgvMonitorStocks.AllowUserToOrderColumns = true; this.dgvMonitorStocks.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dgvMonitorStocks.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; this.dgvMonitorStocks.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight; this.dgvMonitorStocks.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvMonitorStocks.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.S_Name, this.S_Code, this.S_Low, this.S_Now, this.S_High, this.S_BuyPrice, this.S_Profit, this.S_ProfitOrLoss, this.S_Percent, this.SCount, this.M_Order, this.CategroyDescMonitor, this.MDesc}); this.dgvMonitorStocks.ContextMenuStrip = this.monitorContextMenu; this.dgvMonitorStocks.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvMonitorStocks.Location = new System.Drawing.Point(3, 3); this.dgvMonitorStocks.MultiSelect = false; this.dgvMonitorStocks.Name = "dgvMonitorStocks"; this.dgvMonitorStocks.ReadOnly = true; this.dgvMonitorStocks.RowTemplate.Height = 23; this.dgvMonitorStocks.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dgvMonitorStocks.Size = new System.Drawing.Size(710, 446); this.dgvMonitorStocks.TabIndex = 1; this.dgvMonitorStocks.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvMonitorStocks_CellMouseDown); // // S_Name // this.S_Name.DataPropertyName = "Name"; this.S_Name.Frozen = true; this.S_Name.HeaderText = "名称"; this.S_Name.Name = "S_Name"; this.S_Name.ReadOnly = true; this.S_Name.Width = 56; // // S_Code // this.S_Code.DataPropertyName = "Code"; this.S_Code.HeaderText = "Code"; this.S_Code.Name = "S_Code"; this.S_Code.ReadOnly = true; this.S_Code.Width = 57; // // S_Low // this.S_Low.DataPropertyName = "PriceTodayLow"; this.S_Low.HeaderText = "最低"; this.S_Low.Name = "S_Low"; this.S_Low.ReadOnly = true; this.S_Low.Width = 56; // // S_Now // this.S_Now.DataPropertyName = "PriceNow"; this.S_Now.HeaderText = "现价"; this.S_Now.Name = "S_Now"; this.S_Now.ReadOnly = true; this.S_Now.Width = 56; // // S_High // this.S_High.DataPropertyName = "PriceTodayHigh"; this.S_High.HeaderText = "最高"; this.S_High.Name = "S_High"; this.S_High.ReadOnly = true; this.S_High.Width = 56; // // S_BuyPrice // this.S_BuyPrice.DataPropertyName = "BuyPrice"; this.S_BuyPrice.HeaderText = "成本"; this.S_BuyPrice.Name = "S_BuyPrice"; this.S_BuyPrice.ReadOnly = true; this.S_BuyPrice.Width = 56; // // S_Profit // this.S_Profit.DataPropertyName = "CurrentProfit"; this.S_Profit.HeaderText = "盈亏"; this.S_Profit.Name = "S_Profit"; this.S_Profit.ReadOnly = true; this.S_Profit.Width = 56; // // S_ProfitOrLoss // this.S_ProfitOrLoss.DataPropertyName = "SumProfit"; this.S_ProfitOrLoss.HeaderText = "总盈亏"; this.S_ProfitOrLoss.Name = "S_ProfitOrLoss"; this.S_ProfitOrLoss.ReadOnly = true; this.S_ProfitOrLoss.Width = 68; // // S_Percent // this.S_Percent.DataPropertyName = "SurgedRange"; this.S_Percent.HeaderText = "涨幅"; this.S_Percent.Name = "S_Percent"; this.S_Percent.ReadOnly = true; this.S_Percent.Width = 56; // // SCount // this.SCount.DataPropertyName = "BuyCount"; this.SCount.HeaderText = "股数"; this.SCount.Name = "SCount"; this.SCount.ReadOnly = true; this.SCount.Width = 56; // // M_Order // this.M_Order.DataPropertyName = "Order"; this.M_Order.HeaderText = "排序"; this.M_Order.Name = "M_Order"; this.M_Order.ReadOnly = true; this.M_Order.Width = 56; // // CategroyDescMonitor // this.CategroyDescMonitor.DataPropertyName = "CategroyDesc"; this.CategroyDescMonitor.HeaderText = "分类"; this.CategroyDescMonitor.Name = "CategroyDescMonitor"; this.CategroyDescMonitor.ReadOnly = true; this.CategroyDescMonitor.Visible = false; this.CategroyDescMonitor.Width = 56; // // MDesc // this.MDesc.DataPropertyName = "Description"; this.MDesc.HeaderText = "备注"; this.MDesc.Name = "MDesc"; this.MDesc.ReadOnly = true; this.MDesc.Width = 56; // // monitorContextMenu // this.monitorContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripSeparator4, this.timeSheetMenuItemOfMyStock, this.dayKMenuItemOfMyStock, this.weekKMenuItemOfMyStock, this.monthKMenuItemOfMyStock, this.toolStripSeparator3, this.excelToolStripMenuItem}); this.monitorContextMenu.Name = "MySrockMenu"; this.monitorContextMenu.Size = new System.Drawing.Size(101, 126); this.monitorContextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.monitorContextMenu_Opening); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(97, 6); // // timeSheetMenuItemOfMyStock // this.timeSheetMenuItemOfMyStock.Name = "timeSheetMenuItemOfMyStock"; this.timeSheetMenuItemOfMyStock.Size = new System.Drawing.Size(100, 22); this.timeSheetMenuItemOfMyStock.Text = "分时"; this.timeSheetMenuItemOfMyStock.Click += new System.EventHandler(this.timeSheetMenuItem_Click); // // dayKMenuItemOfMyStock // this.dayKMenuItemOfMyStock.Name = "dayKMenuItemOfMyStock"; this.dayKMenuItemOfMyStock.Size = new System.Drawing.Size(100, 22); this.dayKMenuItemOfMyStock.Text = "日线"; this.dayKMenuItemOfMyStock.Click += new System.EventHandler(this.dayKMenuItem_Click); // // weekKMenuItemOfMyStock // this.weekKMenuItemOfMyStock.Name = "weekKMenuItemOfMyStock"; this.weekKMenuItemOfMyStock.Size = new System.Drawing.Size(100, 22); this.weekKMenuItemOfMyStock.Text = "周线"; this.weekKMenuItemOfMyStock.Click += new System.EventHandler(this.weekKMenuItem_Click); // // monthKMenuItemOfMyStock // this.monthKMenuItemOfMyStock.Name = "monthKMenuItemOfMyStock"; this.monthKMenuItemOfMyStock.Size = new System.Drawing.Size(100, 22); this.monthKMenuItemOfMyStock.Text = "月线"; this.monthKMenuItemOfMyStock.Click += new System.EventHandler(this.monthKMenuItem_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(97, 6); // // excelToolStripMenuItem // this.excelToolStripMenuItem.Name = "excelToolStripMenuItem"; this.excelToolStripMenuItem.Size = new System.Drawing.Size(100, 22); this.excelToolStripMenuItem.Text = "Excel"; this.excelToolStripMenuItem.Click += new System.EventHandler(this.excelToolStripMenuItem_Click); // // tabPage2 // this.tabPage2.Controls.Add(this.tableLayoutPanel1); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(716, 452); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Setting"; this.tabPage2.UseVisualStyleBackColor = true; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Controls.Add(this.cboxListMonitorSetting, 0, 0); this.tableLayoutPanel1.Controls.Add(this.btnSaveMonitorSetting, 0, 1); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 3); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(710, 446); this.tableLayoutPanel1.TabIndex = 1; // // cboxListMonitorSetting // this.cboxListMonitorSetting.CheckOnClick = true; this.cboxListMonitorSetting.Dock = System.Windows.Forms.DockStyle.Fill; this.cboxListMonitorSetting.FormattingEnabled = true; this.cboxListMonitorSetting.Location = new System.Drawing.Point(3, 3); this.cboxListMonitorSetting.Name = "cboxListMonitorSetting"; this.cboxListMonitorSetting.Size = new System.Drawing.Size(704, 412); this.cboxListMonitorSetting.TabIndex = 0; // // btnSaveMonitorSetting // this.btnSaveMonitorSetting.Dock = System.Windows.Forms.DockStyle.Fill; this.btnSaveMonitorSetting.Location = new System.Drawing.Point(3, 421); this.btnSaveMonitorSetting.Name = "btnSaveMonitorSetting"; this.btnSaveMonitorSetting.Size = new System.Drawing.Size(704, 22); this.btnSaveMonitorSetting.TabIndex = 1; this.btnSaveMonitorSetting.Text = "√"; this.btnSaveMonitorSetting.UseVisualStyleBackColor = true; this.btnSaveMonitorSetting.Click += new System.EventHandler(this.btnSaveMonitorSetting_Click); // // tabControl1 // this.tabControl1.Controls.Add(this.tabPageStockList); this.tabControl1.Controls.Add(this.tabPagePersonalOption); this.tabControl1.Controls.Add(this.tabPageStockChart); this.tabControl1.Controls.Add(this.tabPageSetting); this.tabControl1.Controls.Add(this.tabPageCheckInOut); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(738, 510); this.tabControl1.TabIndex = 0; this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged); // // tabPageStockChart // this.tabPageStockChart.Controls.Add(this.stockChartCtrl); this.tabPageStockChart.Location = new System.Drawing.Point(4, 22); this.tabPageStockChart.Name = "tabPageStockChart"; this.tabPageStockChart.Size = new System.Drawing.Size(730, 484); this.tabPageStockChart.TabIndex = 3; this.tabPageStockChart.Text = "Chart"; this.tabPageStockChart.UseVisualStyleBackColor = true; // // tabPageSetting // this.tabPageSetting.Controls.Add(this.systemSettingCtrl1); this.tabPageSetting.Location = new System.Drawing.Point(4, 22); this.tabPageSetting.Name = "tabPageSetting"; this.tabPageSetting.Size = new System.Drawing.Size(730, 484); this.tabPageSetting.TabIndex = 4; this.tabPageSetting.Text = "Settings"; this.tabPageSetting.UseVisualStyleBackColor = true; // // tabPageCheckInOut // this.tabPageCheckInOut.Controls.Add(this.dgvCheckHistory); this.tabPageCheckInOut.Location = new System.Drawing.Point(4, 22); this.tabPageCheckInOut.Name = "tabPageCheckInOut"; this.tabPageCheckInOut.Size = new System.Drawing.Size(730, 484); this.tabPageCheckInOut.TabIndex = 5; this.tabPageCheckInOut.Text = "CheckInOut"; this.tabPageCheckInOut.UseVisualStyleBackColor = true; // // dgvCheckHistory // this.dgvCheckHistory.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dgvCheckHistory.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; this.dgvCheckHistory.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight; this.dgvCheckHistory.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvCheckHistory.ContextMenuStrip = this.checkHistoryContextMenuStrip; this.dgvCheckHistory.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvCheckHistory.Location = new System.Drawing.Point(0, 0); this.dgvCheckHistory.MultiSelect = false; this.dgvCheckHistory.Name = "dgvCheckHistory"; this.dgvCheckHistory.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dgvCheckHistory.Size = new System.Drawing.Size(730, 484); this.dgvCheckHistory.TabIndex = 0; // // checkHistoryContextMenuStrip // this.checkHistoryContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.SaveToolStripMenuItem}); this.checkHistoryContextMenuStrip.Name = "checkHistoryContextMenuStrip"; this.checkHistoryContextMenuStrip.Size = new System.Drawing.Size(99, 26); // // SaveToolStripMenuItem // this.SaveToolStripMenuItem.Name = "SaveToolStripMenuItem"; this.SaveToolStripMenuItem.Size = new System.Drawing.Size(98, 22); this.SaveToolStripMenuItem.Text = "保存"; this.SaveToolStripMenuItem.Click += new System.EventHandler(this.SaveToolStripMenuItem_Click); // // StockName // this.StockName.DataPropertyName = "Name"; this.StockName.Frozen = true; this.StockName.HeaderText = "Name"; this.StockName.Name = "StockName"; this.StockName.ReadOnly = true; this.StockName.Width = 60; // // StockCode // this.StockCode.DataPropertyName = "Code"; this.StockCode.Frozen = true; this.StockCode.HeaderText = "Code"; this.StockCode.Name = "StockCode"; this.StockCode.ReadOnly = true; this.StockCode.Visible = false; this.StockCode.Width = 57; // // StockNo // this.StockNo.DataPropertyName = "No"; this.StockNo.HeaderText = "No"; this.StockNo.Name = "StockNo"; this.StockNo.ReadOnly = true; this.StockNo.Visible = false; this.StockNo.Width = 46; // // StockInShort // this.StockInShort.DataPropertyName = "SpellingInShort"; this.StockInShort.HeaderText = "InShort"; this.StockInShort.Name = "StockInShort"; this.StockInShort.ReadOnly = true; this.StockInShort.Width = 66; // // WarnPrice_Min // this.WarnPrice_Min.DataPropertyName = "WarnPrice_Min"; this.WarnPrice_Min.HeaderText = "¥Min"; this.WarnPrice_Min.Name = "WarnPrice_Min"; this.WarnPrice_Min.Width = 61; // // WarnPrice_Max // this.WarnPrice_Max.DataPropertyName = "WarnPrice_Max"; this.WarnPrice_Max.HeaderText = "¥Max"; this.WarnPrice_Max.Name = "WarnPrice_Max"; this.WarnPrice_Max.Width = 64; // // WarnPercent_Min // this.WarnPercent_Min.DataPropertyName = "WarnPercent_Min"; this.WarnPercent_Min.HeaderText = "%Min"; this.WarnPercent_Min.Name = "WarnPercent_Min"; this.WarnPercent_Min.Width = 57; // // WarnPercent_Max // this.WarnPercent_Max.DataPropertyName = "WarnPercent_Max"; this.WarnPercent_Max.HeaderText = "%Max"; this.WarnPercent_Max.Name = "WarnPercent_Max"; this.WarnPercent_Max.Width = 60; // // BuyCount // this.BuyCount.DataPropertyName = "BuyCount"; this.BuyCount.HeaderText = "股数"; this.BuyCount.Name = "BuyCount"; this.BuyCount.Width = 56; // // BuyPrice // this.BuyPrice.DataPropertyName = "BuyPrice"; this.BuyPrice.HeaderText = "购入价"; this.BuyPrice.Name = "BuyPrice"; this.BuyPrice.Width = 68; // // Order // this.Order.DataPropertyName = "Order"; this.Order.HeaderText = "排序"; this.Order.Name = "Order"; this.Order.Width = 56; // // HasProfitOrLoss // this.HasProfitOrLoss.HeaderText = "已盈亏"; this.HasProfitOrLoss.Name = "HasProfitOrLoss"; this.HasProfitOrLoss.ReadOnly = true; this.HasProfitOrLoss.Width = 68; // // HasProfitBefore // this.HasProfitBefore.DataPropertyName = "HasProfit"; this.HasProfitBefore.HeaderText = "HasProfitBefore"; this.HasProfitBefore.Name = "HasProfitBefore"; this.HasProfitBefore.Visible = false; this.HasProfitBefore.Width = 106; // // ProfitOrLossHistory // this.ProfitOrLossHistory.DataPropertyName = "ProfitHistory"; this.ProfitOrLossHistory.HeaderText = "历史盈亏"; this.ProfitOrLossHistory.Name = "ProfitOrLossHistory"; this.ProfitOrLossHistory.Width = 80; // // ShowInFolatWindow // this.ShowInFolatWindow.DataPropertyName = "ShowInFolatWindow"; this.ShowInFolatWindow.HeaderText = "显示"; this.ShowInFolatWindow.Name = "ShowInFolatWindow"; this.ShowInFolatWindow.Width = 37; // // Warn // this.Warn.DataPropertyName = "Warn"; this.Warn.HeaderText = "预警"; this.Warn.Name = "Warn"; this.Warn.Width = 37; // // CategroyDescPersonal // this.CategroyDescPersonal.DataPropertyName = "CategroyDesc"; this.CategroyDescPersonal.HeaderText = "分类"; this.CategroyDescPersonal.Name = "CategroyDescPersonal"; this.CategroyDescPersonal.ReadOnly = true; this.CategroyDescPersonal.Visible = false; this.CategroyDescPersonal.Width = 56; // // PDesc // this.PDesc.DataPropertyName = "Description"; this.PDesc.HeaderText = "备注"; this.PDesc.Name = "PDesc"; this.PDesc.Width = 56; // // stockChartCtrl // this.stockChartCtrl.Dock = System.Windows.Forms.DockStyle.Fill; this.stockChartCtrl.Location = new System.Drawing.Point(0, 0); this.stockChartCtrl.Name = "stockChartCtrl"; this.stockChartCtrl.Size = new System.Drawing.Size(730, 484); this.stockChartCtrl.TabIndex = 0; // // systemSettingCtrl1 // this.systemSettingCtrl1.Dock = System.Windows.Forms.DockStyle.Left; this.systemSettingCtrl1.Location = new System.Drawing.Point(0, 0); this.systemSettingCtrl1.Name = "systemSettingCtrl1"; this.systemSettingCtrl1.Size = new System.Drawing.Size(585, 484); this.systemSettingCtrl1.TabIndex = 0; // // MyStock // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(738, 510); this.Controls.Add(this.tabControl1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "MyStock"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MyStock_FormClosing); this.Load += new System.EventHandler(this.MyStock_Load); this.stockSettingsContextMenu.ResumeLayout(false); this.queryResultStocksContextMenu.ResumeLayout(false); this.tabPagePersonalOption.ResumeLayout(false); this.tabControl2.ResumeLayout(false); this.tabPageMyStockSetting.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvStocksetting)).EndInit(); this.tabPageAllStockList.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvQueryResultStocks)).EndInit(); this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel3.PerformLayout(); this.tabPageMyStockColumnsSetting.ResumeLayout(false); this.tableLayoutPanel4.ResumeLayout(false); this.tabPageStockList.ResumeLayout(false); this.tabControl3.ResumeLayout(false); this.tabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvMonitorStocks)).EndInit(); this.monitorContextMenu.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPageStockChart.ResumeLayout(false); this.tabPageSetting.ResumeLayout(false); this.tabPageCheckInOut.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvCheckHistory)).EndInit(); this.checkHistoryContextMenuStrip.ResumeLayout(false); this.ResumeLayout(false); }