本文整理汇总了C#中System.ComponentModel.IContainer类的典型用法代码示例。如果您正苦于以下问题:C# System.ComponentModel.IContainer类的具体用法?C# System.ComponentModel.IContainer怎么用?C# System.ComponentModel.IContainer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.ComponentModel.IContainer类属于命名空间,在下文中一共展示了System.ComponentModel.IContainer类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeComponent
/// <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();
this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();
this.TfsTaskBindingSource = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.TfsTaskBindingSource)).BeginInit();
this.SuspendLayout();
//
// reportViewer1
//
this.reportViewer1.LocalReport.ReportPath = "Tasks.rdlc";
this.reportViewer1.Location = new System.Drawing.Point(0, 0);
this.reportViewer1.Name = "reportViewer1";
this.reportViewer1.Size = new System.Drawing.Size(800, 600);
this.reportViewer1.TabIndex = 0;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(682, 534);
this.Controls.Add(this.reportViewer1);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.TfsTaskBindingSource)).EndInit();
this.ResumeLayout(false);
}
示例2: InitializeComponent
/// <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();
this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
this.PaymentReport1 = new PatientManager.Forms.Reporting.PaymentReport();
this.paymentBindingSource = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.paymentBindingSource)).BeginInit();
this.SuspendLayout();
//
// crystalReportViewer1
//
this.crystalReportViewer1.ActiveViewIndex = 0;
this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
this.crystalReportViewer1.Name = "crystalReportViewer1";
this.crystalReportViewer1.ReportSource = this.PaymentReport1;
this.crystalReportViewer1.Size = new System.Drawing.Size(993, 648);
this.crystalReportViewer1.TabIndex = 0;
this.crystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
//
// PaymentReportForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(993, 648);
this.Controls.Add(this.crystalReportViewer1);
this.Name = "PaymentReportForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Payment Report";
((System.ComponentModel.ISupportInitialize)(this.paymentBindingSource)).EndInit();
this.ResumeLayout(false);
}
示例3: InitializeComponent
/// <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();
this.MainTimer = new System.Windows.Forms.Timer(this.components);
this.SuspendLayout();
//
// MainTimer
//
this.MainTimer.Enabled = true;
this.MainTimer.Interval = 40;
this.MainTimer.Tick += new System.EventHandler(this.MainTimer_Tick);
//
// yobaivan
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(794, 572);
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(800, 600);
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(800, 600);
this.Name = "yobaivan";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "rehcfx";
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.yobaivan_KeyDown);
this.ResumeLayout(false);
}
示例4: InitializeComponent
/// <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();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
this.SuspendLayout();
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// webBrowser1
//
this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill;
this.webBrowser1.Location = new System.Drawing.Point(0, 0);
this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
this.webBrowser1.Name = "webBrowser1";
this.webBrowser1.Size = new System.Drawing.Size(284, 262);
this.webBrowser1.TabIndex = 0;
//
// ISayHey
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 262);
this.Controls.Add(this.webBrowser1);
this.Name = "ISayHey";
this.Text = "ISayHey";
this.Load += new System.EventHandler(this.ISayHey_Load);
this.ResumeLayout(false);
}
示例5: InitializeComponent
/// <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();
this.serialPort1 = new System.IO.Ports.SerialPort(this.components);
this.textBox1 = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// serialPort1
//
this.serialPort1.ErrorReceived += new System.IO.Ports.SerialErrorReceivedEventHandler(this.serialPort1_ErrorReceived);
this.serialPort1.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.serialPort1_DataReceived);
//
// textBox1
//
this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox1.Location = new System.Drawing.Point(0, 0);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(291, 32);
this.textBox1.TabIndex = 0;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 45);
this.Controls.Add(this.textBox1);
this.Name = "Form1";
this.Text = "Form1";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.ResumeLayout(false);
this.PerformLayout();
}
示例6: InitializeComponent
/// <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();
this.Viewer = new GitUI.Editor.FileViewer();
this.SuspendLayout();
//
// Viewer
//
this.Viewer.Dock = System.Windows.Forms.DockStyle.Fill;
this.Viewer.Font = new System.Drawing.Font("Segoe UI", 7.5F);
this.Viewer.Location = new System.Drawing.Point(0, 0);
this.Viewer.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.Viewer.Name = "Viewer";
this.Viewer.Size = new System.Drawing.Size(733, 571);
this.Viewer.TabIndex = 0;
//
// FormEdit
//
this.ClientSize = new System.Drawing.Size(733, 571);
this.Controls.Add(this.Viewer);
this.Name = "FormEdit";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "View";
this.ResumeLayout(false);
}
示例7: InitializeComponent
/// <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();
this.NameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.VariableTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
//
// Grid
//
this.Grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.NameDataGridViewTextBoxColumn,
this.VariableTypeDataGridViewTextBoxColumn});
//
// NameDataGridViewTextBoxColumn
//
this.NameDataGridViewTextBoxColumn.DataPropertyName = "Name";
this.NameDataGridViewTextBoxColumn.HeaderText = "Name";
this.NameDataGridViewTextBoxColumn.Name = "NameDataGridViewTextBoxColumn";
this.NameDataGridViewTextBoxColumn.ReadOnly = true;
//
// VariableTypeDataGridViewTextBoxColumn
//
this.VariableTypeDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.VariableTypeDataGridViewTextBoxColumn.DataPropertyName = "VariableType";
this.VariableTypeDataGridViewTextBoxColumn.HeaderText = "Variable Type";
this.VariableTypeDataGridViewTextBoxColumn.Name = "VariableTypeDataGridViewTextBoxColumn";
this.VariableTypeDataGridViewTextBoxColumn.ReadOnly = true;
//
// VariableBindingSource
//
this.BindingSource.AllowNew = false;
this.BindingSource.DataSource = typeof(Mono.Cecil.Cil.VariableDefinition);
}
示例8: InitializeComponent
/// <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();
this.timer1 = new System.Windows.Forms.Timer( this.components );
this.SuspendLayout();
//
// timer1
//
this.timer1.Interval = 30;
this.timer1.Tick += new System.EventHandler( this.timer1_Tick );
//
// SplashForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.ClientSize = new System.Drawing.Size( 509, 217 );
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Margin = new System.Windows.Forms.Padding( 4 );
this.Name = "SplashForm";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Splash";
this.TopMost = true;
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler( this.SplashForm_FormClosed );
this.ResumeLayout( false );
}
示例9: InitializeComponent
/// <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();
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
this.deleteStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.contextMenuStrip.SuspendLayout();
this.SuspendLayout();
//
// contextMenuStrip
//
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.deleteStripMenuItem});
this.contextMenuStrip.Name = "contextMenuStrip";
this.contextMenuStrip.Size = new System.Drawing.Size(117, 26);
//
// deleteStripMenuItem
//
this.deleteStripMenuItem.Name = "deleteStripMenuItem";
this.deleteStripMenuItem.Size = new System.Drawing.Size(116, 22);
this.deleteStripMenuItem.Text = "Delete";
this.deleteStripMenuItem.Click += new System.EventHandler(this.deleteStripMenuItem_Click);
//
// CommandToolStrip
//
this.AllowDrop = true;
this.DragEnter += new System.Windows.Forms.DragEventHandler(this.CommandToolStrip_DragEnter);
this.DragDrop += new System.Windows.Forms.DragEventHandler(this.CommandToolStrip_DragDrop);
this.contextMenuStrip.ResumeLayout(false);
this.ResumeLayout(false);
}
示例10: InitializeComponent
/// <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();
this.pnlSettings = new System.Windows.Forms.Panel();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.SuspendLayout();
//
// pnlSettings
//
this.pnlSettings.AutoSize = true;
this.pnlSettings.Location = new System.Drawing.Point(0, 0);
this.pnlSettings.Name = "pnlSettings";
this.pnlSettings.Size = new System.Drawing.Size(233, 131);
this.pnlSettings.TabIndex = 0;
//
// uc_object_type_commands
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.pnlSettings);
this.Name = "uc_object_type_commands";
this.Size = new System.Drawing.Size(233, 131);
this.ResumeLayout(false);
this.PerformLayout();
}
示例11: InitializeComponent
/// <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();
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
this.refreshSessionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.contextMenuStrip.SuspendLayout();
this.SuspendLayout();
//
// contextMenuStrip
//
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.refreshSessionsToolStripMenuItem});
this.contextMenuStrip.Name = "contextMenuStrip";
this.contextMenuStrip.Size = new System.Drawing.Size(187, 48);
//
// refreshSessionsToolStripMenuItem
//
this.refreshSessionsToolStripMenuItem.Name = "refreshSessionsToolStripMenuItem";
this.refreshSessionsToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F5;
this.refreshSessionsToolStripMenuItem.Size = new System.Drawing.Size(186, 22);
this.refreshSessionsToolStripMenuItem.Text = "Refresh Sessions";
this.refreshSessionsToolStripMenuItem.Click += new System.EventHandler(this.refreshSessionsToolStripMenuItem_Click);
//
// SessionControl
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ContextMenuStrip = this.contextMenuStrip;
this.Name = "SessionControl";
this.contextMenuStrip.ResumeLayout(false);
this.ResumeLayout(false);
}
示例12: InitializeComponent
/// <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();
this.label1 = new System.Windows.Forms.Label();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(111, 62);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(159, 37);
this.label1.TabIndex = 0;
this.label1.Text = "Loading...";
//
// LoadScreen
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Highlight;
this.ClientSize = new System.Drawing.Size(389, 161);
this.Controls.Add(this.label1);
this.DoubleBuffered = true;
this.ForeColor = System.Drawing.SystemColors.ControlText;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "LoadScreen";
this.Text = "LoadScreen";
this.ResumeLayout(false);
this.PerformLayout();
}
示例13: InitializeComponent
/// <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(Form1));
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
this.SuspendLayout();
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 30000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// notifyIcon1
//
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
this.notifyIcon1.Text = "notifyIcon1";
this.notifyIcon1.Visible = true;
this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(133, 45);
this.Name = "Form1";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
}
示例14: InitializeComponent
/// <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();
this.label2 = new ATMLCommonLibrary.controls.HelpLabel(this.components);
this.cmbSecurityClass = new System.Windows.Forms.ComboBox();
this.chkClassified = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// label2
//
this.label2.AutoSize = true;
this.label2.HelpMessageKey = "SecurityClassification.Classified";
this.label2.Location = new System.Drawing.Point(5, 4);
this.label2.Name = "label2";
this.label2.RequiredField = false;
this.label2.RequiredFieldMarkerFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Size = new System.Drawing.Size(51, 13);
this.label2.TabIndex = 2;
this.label2.Text = "Classified";
//
// cmbSecurityClass
//
this.cmbSecurityClass.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.cmbSecurityClass.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbSecurityClass.Enabled = false;
this.cmbSecurityClass.FormattingEnabled = true;
this.cmbSecurityClass.Items.AddRange(new object[] {
"UNCLASSIFIED",
"CLASSIFIED",
"SECRET",
"CONFIDENTIAL",
"TOP SECRET"});
this.cmbSecurityClass.Location = new System.Drawing.Point(80, 0);
this.cmbSecurityClass.Name = "cmbSecurityClass";
this.cmbSecurityClass.Size = new System.Drawing.Size(299, 21);
this.cmbSecurityClass.TabIndex = 1;
this.cmbSecurityClass.SelectedIndexChanged += new System.EventHandler(this.cmb_SelectedIndexChanged);
//
// chkClassified
//
this.chkClassified.AutoSize = true;
this.chkClassified.Location = new System.Drawing.Point(62, 4);
this.chkClassified.Name = "chkClassified";
this.chkClassified.Size = new System.Drawing.Size(15, 14);
this.chkClassified.TabIndex = 0;
this.chkClassified.UseVisualStyleBackColor = true;
this.chkClassified.CheckedChanged += new System.EventHandler(this.chk_CheckedChanged);
//
// SecurityClassificationControl
//
this.Controls.Add(this.label2);
this.Controls.Add(this.cmbSecurityClass);
this.Controls.Add(this.chkClassified);
this.Name = "SecurityClassificationControl";
this.Size = new System.Drawing.Size(379, 21);
this.ResumeLayout(false);
this.PerformLayout();
}
示例15: InitializeComponent
/// <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(Refactor_SortNamespacesByScopePlugIn));
this.refactoringProvider = new DevExpress.Refactor.Core.RefactoringProvider(this.components);
((System.ComponentModel.ISupportInitialize)(this.refactoringProvider)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// refactoringProvider
//
this.refactoringProvider.ActionHintText = "";
this.refactoringProvider.AutoActivate = true;
this.refactoringProvider.AutoUndo = false;
this.refactoringProvider.CodeIssueMessage = null;
this.refactoringProvider.Description = "";
this.refactoringProvider.DisplayName = "Sort Namespaces by Scope";
this.refactoringProvider.Image = ((System.Drawing.Bitmap)(resources.GetObject("refactoringProvider.Image")));
this.refactoringProvider.NeedsSelection = false;
this.refactoringProvider.ProviderName = "NamespaceByScopeSorter";
this.refactoringProvider.Register = true;
this.refactoringProvider.SupportsAsyncMode = false;
((System.ComponentModel.ISupportInitialize)(this.refactoringProvider)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
开发者ID:kevinmiles,项目名称:dxcorecommunityplugins,代码行数:29,代码来源:Refactor_SortNamespacesByScope.Designer.cs