示例#1
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AlarmClockUI));
     this.m_tsc              = new pr.gui.ToolStripContainer();
     this.m_grid             = new pr.gui.DataGridView();
     this.m_ts               = new System.Windows.Forms.ToolStrip();
     this.m_btn_add_reminder = new System.Windows.Forms.ToolStripButton();
     this.m_il               = new System.Windows.Forms.ImageList(this.components);
     this.m_tt               = new System.Windows.Forms.ToolTip(this.components);
     this.m_tsc.ContentPanel.SuspendLayout();
     this.m_tsc.TopToolStripPanel.SuspendLayout();
     this.m_tsc.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.m_grid)).BeginInit();
     this.m_ts.SuspendLayout();
     this.SuspendLayout();
     //
     // m_tsc
     //
     //
     // m_tsc.ContentPanel
     //
     this.m_tsc.ContentPanel.Controls.Add(this.m_grid);
     this.m_tsc.ContentPanel.Size = new System.Drawing.Size(392, 362);
     this.m_tsc.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.m_tsc.Location = new System.Drawing.Point(0, 0);
     this.m_tsc.Name     = "m_tsc";
     this.m_tsc.Size     = new System.Drawing.Size(392, 401);
     this.m_tsc.TabIndex = 0;
     this.m_tsc.Text     = "toolStripContainer1";
     //
     // m_tsc.TopToolStripPanel
     //
     this.m_tsc.TopToolStripPanel.Controls.Add(this.m_ts);
     //
     // m_grid
     //
     this.m_grid.AllowUserToAddRows            = false;
     this.m_grid.AllowUserToResizeRows         = false;
     this.m_grid.AutoSizeColumnsMode           = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.m_grid.AutoSizeRowsMode              = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.m_grid.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.m_grid.ColumnHeadersVisible          = false;
     dataGridViewCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle1.Font               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode           = System.Windows.Forms.DataGridViewTriState.True;
     this.m_grid.DefaultCellStyle              = dataGridViewCellStyle1;
     this.m_grid.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.m_grid.Location          = new System.Drawing.Point(0, 0);
     this.m_grid.Name              = "m_grid";
     this.m_grid.RowHeadersVisible = false;
     this.m_grid.SelectionMode     = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.m_grid.Size              = new System.Drawing.Size(392, 362);
     this.m_grid.TabIndex          = 0;
     //
     // m_ts
     //
     this.m_ts.Dock             = System.Windows.Forms.DockStyle.None;
     this.m_ts.ImageScalingSize = new System.Drawing.Size(32, 32);
     this.m_ts.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.m_btn_add_reminder
     });
     this.m_ts.Location = new System.Drawing.Point(3, 0);
     this.m_ts.Name     = "m_ts";
     this.m_ts.Size     = new System.Drawing.Size(48, 39);
     this.m_ts.TabIndex = 0;
     //
     // m_btn_add_reminder
     //
     this.m_btn_add_reminder.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.m_btn_add_reminder.Image                 = global::Tradee.Properties.Resources.bell;
     this.m_btn_add_reminder.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.m_btn_add_reminder.Name = "m_btn_add_reminder";
     this.m_btn_add_reminder.Size = new System.Drawing.Size(36, 36);
     this.m_btn_add_reminder.Text = "toolStripButton1";
     //
     // m_il
     //
     this.m_il.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("m_il.ImageStream")));
     this.m_il.TransparentColor = System.Drawing.Color.Transparent;
     this.m_il.Images.SetKeyName(0, "reminders.png");
     //
     // AlarmClockUI
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.m_tsc);
     this.Name = "AlarmClockUI";
     this.Size = new System.Drawing.Size(392, 401);
     this.m_tsc.ContentPanel.ResumeLayout(false);
     this.m_tsc.TopToolStripPanel.ResumeLayout(false);
     this.m_tsc.TopToolStripPanel.PerformLayout();
     this.m_tsc.ResumeLayout(false);
     this.m_tsc.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.m_grid)).EndInit();
     this.m_ts.ResumeLayout(false);
     this.m_ts.PerformLayout();
     this.ResumeLayout(false);
 }
示例#2
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainUI));
     this.m_tsc                          = new pr.gui.ToolStripContainer();
     this.m_ss                           = new System.Windows.Forms.StatusStrip();
     this.m_status                       = new System.Windows.Forms.ToolStripStatusLabel();
     this.m_dc                           = new pr.gui.DockContainer();
     this.m_menu                         = new System.Windows.Forms.MenuStrip();
     this.m_menu_file                    = new System.Windows.Forms.ToolStripMenuItem();
     this.m_menu_file_exit               = new System.Windows.Forms.ToolStripMenuItem();
     this.m_menu_tools                   = new System.Windows.Forms.ToolStripMenuItem();
     this.m_menu_tools_simulate          = new System.Windows.Forms.ToolStripMenuItem();
     this.m_timer                        = new System.Windows.Forms.Timer(this.components);
     this.toolStripSeparator1            = new System.Windows.Forms.ToolStripSeparator();
     this.m_menu_tools_req_acct_update   = new System.Windows.Forms.ToolStripMenuItem();
     this.m_menu_tools_req_trade_history = new System.Windows.Forms.ToolStripMenuItem();
     this.m_tsc.BottomToolStripPanel.SuspendLayout();
     this.m_tsc.ContentPanel.SuspendLayout();
     this.m_tsc.TopToolStripPanel.SuspendLayout();
     this.m_tsc.SuspendLayout();
     this.m_ss.SuspendLayout();
     this.m_menu.SuspendLayout();
     this.SuspendLayout();
     //
     // m_tsc
     //
     //
     // m_tsc.BottomToolStripPanel
     //
     this.m_tsc.BottomToolStripPanel.Controls.Add(this.m_ss);
     //
     // m_tsc.ContentPanel
     //
     this.m_tsc.ContentPanel.Controls.Add(this.m_dc);
     this.m_tsc.ContentPanel.Size = new System.Drawing.Size(906, 628);
     this.m_tsc.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.m_tsc.Location = new System.Drawing.Point(0, 0);
     this.m_tsc.Name     = "m_tsc";
     this.m_tsc.Size     = new System.Drawing.Size(906, 674);
     this.m_tsc.TabIndex = 3;
     this.m_tsc.Text     = "toolStripContainer1";
     //
     // m_tsc.TopToolStripPanel
     //
     this.m_tsc.TopToolStripPanel.Controls.Add(this.m_menu);
     //
     // m_ss
     //
     this.m_ss.Dock = System.Windows.Forms.DockStyle.None;
     this.m_ss.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.m_status
     });
     this.m_ss.Location = new System.Drawing.Point(0, 0);
     this.m_ss.Name     = "m_ss";
     this.m_ss.Size     = new System.Drawing.Size(906, 22);
     this.m_ss.TabIndex = 0;
     //
     // m_status
     //
     this.m_status.Name = "m_status";
     this.m_status.Size = new System.Drawing.Size(26, 17);
     this.m_status.Text = "Idle";
     //
     // m_dc
     //
     this.m_dc.ActiveContent  = null;
     this.m_dc.ActiveDockable = null;
     this.m_dc.ActivePane     = null;
     this.m_dc.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.m_dc.Location       = new System.Drawing.Point(0, 0);
     this.m_dc.Name           = "m_dc";
     this.m_dc.Size           = new System.Drawing.Size(906, 628);
     this.m_dc.TabIndex       = 2;
     this.m_dc.Text           = "dockContainer1";
     //
     // m_menu
     //
     this.m_menu.Dock = System.Windows.Forms.DockStyle.None;
     this.m_menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.m_menu_file,
         this.m_menu_tools
     });
     this.m_menu.Location = new System.Drawing.Point(0, 0);
     this.m_menu.Name     = "m_menu";
     this.m_menu.Size     = new System.Drawing.Size(906, 24);
     this.m_menu.TabIndex = 0;
     //
     // m_menu_file
     //
     this.m_menu_file.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.m_menu_file_exit
     });
     this.m_menu_file.Name = "m_menu_file";
     this.m_menu_file.Size = new System.Drawing.Size(37, 20);
     this.m_menu_file.Text = "&File";
     //
     // m_menu_file_exit
     //
     this.m_menu_file_exit.Name = "m_menu_file_exit";
     this.m_menu_file_exit.Size = new System.Drawing.Size(152, 22);
     this.m_menu_file_exit.Text = "E&xit";
     //
     // m_menu_tools
     //
     this.m_menu_tools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.m_menu_tools_simulate,
         this.toolStripSeparator1,
         this.m_menu_tools_req_acct_update,
         this.m_menu_tools_req_trade_history
     });
     this.m_menu_tools.Name = "m_menu_tools";
     this.m_menu_tools.Size = new System.Drawing.Size(47, 20);
     this.m_menu_tools.Text = "&Tools";
     //
     // m_menu_tools_simulate
     //
     this.m_menu_tools_simulate.Name = "m_menu_tools_simulate";
     this.m_menu_tools_simulate.Size = new System.Drawing.Size(205, 22);
     this.m_menu_tools_simulate.Text = "&Simulate";
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(202, 6);
     //
     // m_menu_tools_req_acct_update
     //
     this.m_menu_tools_req_acct_update.Name = "m_menu_tools_req_acct_update";
     this.m_menu_tools_req_acct_update.Size = new System.Drawing.Size(205, 22);
     this.m_menu_tools_req_acct_update.Text = "Request &Account Update";
     //
     // m_menu_tools_req_trade_history
     //
     this.m_menu_tools_req_trade_history.Name = "m_menu_tools_req_trade_history";
     this.m_menu_tools_req_trade_history.Size = new System.Drawing.Size(205, 22);
     this.m_menu_tools_req_trade_history.Text = "Request Trade &History";
     //
     // MainUI
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(906, 674);
     this.Controls.Add(this.m_tsc);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MainMenuStrip = this.m_menu;
     this.Name          = "MainUI";
     this.Text          = "Tradee";
     this.m_tsc.BottomToolStripPanel.ResumeLayout(false);
     this.m_tsc.BottomToolStripPanel.PerformLayout();
     this.m_tsc.ContentPanel.ResumeLayout(false);
     this.m_tsc.TopToolStripPanel.ResumeLayout(false);
     this.m_tsc.TopToolStripPanel.PerformLayout();
     this.m_tsc.ResumeLayout(false);
     this.m_tsc.PerformLayout();
     this.m_ss.ResumeLayout(false);
     this.m_ss.PerformLayout();
     this.m_menu.ResumeLayout(false);
     this.m_menu.PerformLayout();
     this.ResumeLayout(false);
 }