Exemple #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);
 }
Exemple #2
0
 private void InitializeComponent()
 {
     this.m_split                = new System.Windows.Forms.SplitContainer();
     this.m_grid_fav             = new pr.gui.DataGridView();
     this.m_grid_all             = new pr.gui.DataGridView();
     this.m_panel_add_instrument = new System.Windows.Forms.Panel();
     this.m_cb_symbols           = new pr.gui.ComboBox();
     this.m_btn_add_instrument   = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.m_split)).BeginInit();
     this.m_split.Panel1.SuspendLayout();
     this.m_split.Panel2.SuspendLayout();
     this.m_split.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.m_grid_fav)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.m_grid_all)).BeginInit();
     this.m_panel_add_instrument.SuspendLayout();
     this.SuspendLayout();
     //
     // m_split
     //
     this.m_split.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.m_split.Location    = new System.Drawing.Point(0, 0);
     this.m_split.Name        = "m_split";
     this.m_split.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // m_split.Panel1
     //
     this.m_split.Panel1.Controls.Add(this.m_grid_fav);
     //
     // m_split.Panel2
     //
     this.m_split.Panel2.Controls.Add(this.m_grid_all);
     this.m_split.Panel2.Controls.Add(this.m_panel_add_instrument);
     this.m_split.Size             = new System.Drawing.Size(238, 599);
     this.m_split.SplitterDistance = 283;
     this.m_split.TabIndex         = 0;
     //
     // m_grid_fav
     //
     this.m_grid_fav.AllowUserToAddRows          = false;
     this.m_grid_fav.AllowUserToDeleteRows       = false;
     this.m_grid_fav.AllowUserToResizeRows       = false;
     this.m_grid_fav.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.m_grid_fav.AutoSizeRowsMode            = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.m_grid_fav.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.m_grid_fav.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.m_grid_fav.Location        = new System.Drawing.Point(0, 0);
     this.m_grid_fav.Name            = "m_grid_fav";
     this.m_grid_fav.ReadOnly        = true;
     this.m_grid_fav.RowHeadersWidth = 20;
     this.m_grid_fav.SelectionMode   = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.m_grid_fav.Size            = new System.Drawing.Size(238, 283);
     this.m_grid_fav.TabIndex        = 0;
     //
     // m_grid_all
     //
     this.m_grid_all.AllowUserToAddRows          = false;
     this.m_grid_all.AllowUserToDeleteRows       = false;
     this.m_grid_all.AllowUserToResizeRows       = false;
     this.m_grid_all.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.m_grid_all.AutoSizeRowsMode            = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.m_grid_all.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.m_grid_all.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.m_grid_all.Location        = new System.Drawing.Point(0, 24);
     this.m_grid_all.Name            = "m_grid_all";
     this.m_grid_all.ReadOnly        = true;
     this.m_grid_all.RowHeadersWidth = 20;
     this.m_grid_all.SelectionMode   = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.m_grid_all.Size            = new System.Drawing.Size(238, 288);
     this.m_grid_all.TabIndex        = 1;
     //
     // m_panel_add_instrument
     //
     this.m_panel_add_instrument.Controls.Add(this.m_cb_symbols);
     this.m_panel_add_instrument.Controls.Add(this.m_btn_add_instrument);
     this.m_panel_add_instrument.Dock     = System.Windows.Forms.DockStyle.Top;
     this.m_panel_add_instrument.Location = new System.Drawing.Point(0, 0);
     this.m_panel_add_instrument.Name     = "m_panel_add_instrument";
     this.m_panel_add_instrument.Size     = new System.Drawing.Size(238, 24);
     this.m_panel_add_instrument.TabIndex = 2;
     //
     // m_cb_symbols
     //
     this.m_cb_symbols.DisplayProperty   = null;
     this.m_cb_symbols.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.m_cb_symbols.Font              = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.m_cb_symbols.FormattingEnabled = true;
     this.m_cb_symbols.Location          = new System.Drawing.Point(0, 0);
     this.m_cb_symbols.Name              = "m_cb_symbols";
     this.m_cb_symbols.PreserveSelectionThruFocusChange = false;
     this.m_cb_symbols.Size     = new System.Drawing.Size(203, 23);
     this.m_cb_symbols.TabIndex = 1;
     //
     // m_btn_add_instrument
     //
     this.m_btn_add_instrument.Dock     = System.Windows.Forms.DockStyle.Right;
     this.m_btn_add_instrument.Location = new System.Drawing.Point(203, 0);
     this.m_btn_add_instrument.Name     = "m_btn_add_instrument";
     this.m_btn_add_instrument.Size     = new System.Drawing.Size(35, 24);
     this.m_btn_add_instrument.TabIndex = 0;
     this.m_btn_add_instrument.Text     = "+";
     this.m_btn_add_instrument.UseVisualStyleBackColor = true;
     //
     // InstrumentsUI
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.m_split);
     this.Name = "InstrumentsUI";
     this.Size = new System.Drawing.Size(238, 599);
     this.m_split.Panel1.ResumeLayout(false);
     this.m_split.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.m_split)).EndInit();
     this.m_split.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.m_grid_fav)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.m_grid_all)).EndInit();
     this.m_panel_add_instrument.ResumeLayout(false);
     this.ResumeLayout(false);
 }