private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.dataGridView = new System.Windows.Forms.DataGridView(); this.creatoridDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.m_postBS = new System.Windows.Forms.BindingSource(this.components); this.timer = new System.Windows.Forms.Timer(this.components); this.timerDisplayedScrolling = new System.Windows.Forms.Timer(this.components); this.cultureManager = new Waveface.Localization.CultureManager(this.components); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.m_postBS)).BeginInit(); this.SuspendLayout(); // // dataGridView // this.dataGridView.AllowUserToAddRows = false; this.dataGridView.AllowUserToDeleteRows = false; this.dataGridView.AllowUserToResizeRows = false; this.dataGridView.AutoGenerateColumns = false; this.dataGridView.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); this.dataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView.ColumnHeadersVisible = false; this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.creatoridDataGridViewTextBoxColumn }); this.dataGridView.DataSource = this.m_postBS; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle2.FormatProvider = new System.Globalization.CultureInfo("en-US"); dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridView.DefaultCellStyle = dataGridViewCellStyle2; this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView.EnableHeadersVisualStyles = false; this.dataGridView.Location = new System.Drawing.Point(0, 0); this.dataGridView.Margin = new System.Windows.Forms.Padding(0); this.dataGridView.Name = "dataGridView"; this.dataGridView.ReadOnly = true; this.dataGridView.RowHeadersVisible = false; this.dataGridView.RowTemplate.DefaultCellStyle.SelectionBackColor = System.Drawing.SystemColors.InactiveCaption; this.dataGridView.RowTemplate.DefaultCellStyle.SelectionForeColor = System.Drawing.SystemColors.InactiveCaptionText; this.dataGridView.RowTemplate.Height = 64; this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView.Size = new System.Drawing.Size(385, 274); this.dataGridView.TabIndex = 0; this.dataGridView.VirtualMode = true; this.dataGridView.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView_CellMouseClick); this.dataGridView.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.dataGridView_CellPainting); this.dataGridView.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView_RowPostPaint); // // creatoridDataGridViewTextBoxColumn // this.creatoridDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.creatoridDataGridViewTextBoxColumn.DataPropertyName = "creator_id"; dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 0); this.creatoridDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1; this.creatoridDataGridViewTextBoxColumn.HeaderText = ""; this.creatoridDataGridViewTextBoxColumn.Name = "creatoridDataGridViewTextBoxColumn"; this.creatoridDataGridViewTextBoxColumn.ReadOnly = true; this.creatoridDataGridViewTextBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.False; // // m_postBS // this.m_postBS.DataSource = typeof(Waveface.API.V2.Post); this.m_postBS.PositionChanged += new System.EventHandler(this.postBS_PositionChanged); // // timer // this.timer.Enabled = true; this.timer.Interval = 30000; this.timer.Tick += new System.EventHandler(this.timer_Tick); // // timerDisplayedScrolling // this.timerDisplayedScrolling.Interval = 500; this.timerDisplayedScrolling.Tick += new System.EventHandler(this.timerDisplayedScrolling_Tick); // // cultureManager // this.cultureManager.ManagedControl = this; // // PostsList // this.BackColor = System.Drawing.SystemColors.Window; this.Controls.Add(this.dataGridView); this.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Margin = new System.Windows.Forms.Padding(0); this.Name = "PostsList"; this.Size = new System.Drawing.Size(385, 274); this.Load += new System.EventHandler(this.PostsList_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.m_postBS)).EndInit(); 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() // { private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DetailView)); this.panelTop = new System.Windows.Forms.Panel(); this.btnRemove = new Waveface.Component.XPButton(); this.btnEdit = new Waveface.Component.XPButton(); this.btnComment = new Waveface.Component.XPButton(); this.labelWho = new System.Windows.Forms.Label(); this.labelTime = new System.Windows.Forms.Label(); this.panelMain = new System.Windows.Forms.Panel(); this.timerGC = new System.Windows.Forms.Timer(this.components); this.cultureManager = new Waveface.Localization.CultureManager(this.components); this.panelTop.SuspendLayout(); this.SuspendLayout(); // // panelTop // this.panelTop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(95)))), ((int)(((byte)(98))))); this.panelTop.Controls.Add(this.btnRemove); this.panelTop.Controls.Add(this.btnEdit); this.panelTop.Controls.Add(this.btnComment); this.panelTop.Controls.Add(this.labelWho); this.panelTop.Controls.Add(this.labelTime); resources.ApplyResources(this.panelTop, "panelTop"); this.panelTop.Name = "panelTop"; // // btnRemove // this.btnRemove.AdjustImageLocation = new System.Drawing.Point(0, 0); resources.ApplyResources(this.btnRemove, "btnRemove"); this.btnRemove.BtnShape = Waveface.Component.emunType.BtnShape.Rectangle; this.btnRemove.BtnStyle = Waveface.Component.emunType.XPStyle.Silver; this.btnRemove.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(95)))), ((int)(((byte)(98))))); this.btnRemove.Image = global::Waveface.Properties.Resources.trash; this.btnRemove.Name = "btnRemove"; this.btnRemove.UseVisualStyleBackColor = true; this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click); // // btnEdit // this.btnEdit.AdjustImageLocation = new System.Drawing.Point(0, 0); resources.ApplyResources(this.btnEdit, "btnEdit"); this.btnEdit.BtnShape = Waveface.Component.emunType.BtnShape.Rectangle; this.btnEdit.BtnStyle = Waveface.Component.emunType.XPStyle.Silver; this.btnEdit.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(95)))), ((int)(((byte)(98))))); this.btnEdit.Image = global::Waveface.Properties.Resources.page; this.btnEdit.Name = "btnEdit"; this.btnEdit.UseVisualStyleBackColor = true; this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click); // // btnComment // this.btnComment.AdjustImageLocation = new System.Drawing.Point(0, 0); resources.ApplyResources(this.btnComment, "btnComment"); this.btnComment.BtnShape = Waveface.Component.emunType.BtnShape.Rectangle; this.btnComment.BtnStyle = Waveface.Component.emunType.XPStyle.Silver; this.btnComment.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(95)))), ((int)(((byte)(98))))); this.btnComment.Image = global::Waveface.Properties.Resources.white_edit; this.btnComment.Name = "btnComment"; this.btnComment.UseVisualStyleBackColor = true; this.btnComment.Click += new System.EventHandler(this.btnComment_Click); // // labelWho // resources.ApplyResources(this.labelWho, "labelWho"); this.labelWho.ForeColor = System.Drawing.SystemColors.HighlightText; this.labelWho.Name = "labelWho"; // // labelTime // resources.ApplyResources(this.labelTime, "labelTime"); this.labelTime.ForeColor = System.Drawing.SystemColors.HighlightText; this.labelTime.Name = "labelTime"; // // panelMain // resources.ApplyResources(this.panelMain, "panelMain"); this.panelMain.Name = "panelMain"; // // timerGC // this.timerGC.Interval = 60000; this.timerGC.Tick += new System.EventHandler(this.timerGC_Tick); // // cultureManager // this.cultureManager.ManagedControl = this; // // DetailView // this.Controls.Add(this.panelMain); this.Controls.Add(this.panelTop); resources.ApplyResources(this, "$this"); this.Name = "DetailView"; this.panelTop.ResumeLayout(false); this.panelTop.PerformLayout(); this.ResumeLayout(false); }