本文整理汇总了C#中System.ComponentModel.ComponentResourceManager.ApplyResources方法的典型用法代码示例。如果您正苦于以下问题:C# System.ComponentModel.ComponentResourceManager.ApplyResources方法的具体用法?C# System.ComponentModel.ComponentResourceManager.ApplyResources怎么用?C# System.ComponentModel.ComponentResourceManager.ApplyResources使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.ComponentModel.ComponentResourceManager
的用法示例。
在下文中一共展示了System.ComponentModel.ComponentResourceManager.ApplyResources方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeComponent
/// <summary>
/// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
/// le contenu de cette méthode avec l'éditeur de code.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoadingUC));
this.loading_text = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// loading_text
//
this.loading_text.BackColor = System.Drawing.Color.Transparent;
this.loading_text.CausesValidation = false;
this.loading_text.Cursor = System.Windows.Forms.Cursors.WaitCursor;
resources.ApplyResources(this.loading_text, "loading_text");
this.loading_text.ForeColor = System.Drawing.SystemColors.ControlLight;
this.loading_text.Image = global::GamePages.Properties.Resources.Sablier2;
this.loading_text.Name = "loading_text";
this.loading_text.UseCompatibleTextRendering = true;
//
// LoadingUC
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Transparent;
this.BackgroundImage = global::GamePages.Properties.Resources.Loading_Text;
this.Controls.Add(this.loading_text);
this.Name = "LoadingUC";
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DiagramFormProperties));
this.PropertyGrid = new System.Windows.Forms.PropertyGrid();
this.SuspendLayout();
//
// PropertyGrid
//
resources.ApplyResources(this.PropertyGrid, "PropertyGrid");
this.PropertyGrid.Name = "PropertyGrid";
this.PropertyGrid.PropertySort = System.Windows.Forms.PropertySort.NoSort;
this.PropertyGrid.ToolbarVisible = false;
this.PropertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.PropertyGridPropertyValueChanged);
//
// DiagramFormProperties
//
resources.ApplyResources(this, "$this");
this.CanClose = false;
this.Controls.Add(this.PropertyGrid);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "DiagramFormProperties";
this.SlidingTime = 200;
this.WindowGroupName = "";
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProgressIndicator));
this.status = new System.Windows.Forms.Label();
this.progressBar = new System.Windows.Forms.ProgressBar();
this.cancel = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// status
//
this.status.AccessibleDescription = null;
this.status.AccessibleName = null;
resources.ApplyResources(this.status, "status");
this.status.Font = null;
this.status.Name = "status";
//
// progressBar
//
this.progressBar.AccessibleDescription = null;
this.progressBar.AccessibleName = null;
resources.ApplyResources(this.progressBar, "progressBar");
this.progressBar.BackgroundImage = null;
this.progressBar.Font = null;
this.progressBar.Name = "progressBar";
//
// cancel
//
this.cancel.AccessibleDescription = null;
this.cancel.AccessibleName = null;
resources.ApplyResources(this.cancel, "cancel");
this.cancel.BackgroundImage = null;
this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cancel.Font = null;
this.cancel.Name = "cancel";
this.cancel.UseVisualStyleBackColor = true;
this.cancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// ProgressIndicator
//
this.AccessibleDescription = null;
this.AccessibleName = null;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImage = null;
this.CancelButton = this.cancel;
this.ControlBox = false;
this.Controls.Add(this.cancel);
this.Controls.Add(this.progressBar);
this.Controls.Add(this.status);
this.Font = null;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = null;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ProgressIndicator";
this.ShowInTaskbar = false;
this.ResumeLayout(false);
this.PerformLayout();
}
示例4: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction sp_delete_RecommendShirtColorTest_RowCount_TestAction;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(sp_delete_RecommendShirtColor_UnitTests));
Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction sp_delete_RecommendShirtColorTest_RowCount_PretestAction;
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition1;
this.sp_delete_RecommendShirtColorTest_RowCountData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
sp_delete_RecommendShirtColorTest_RowCount_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
sp_delete_RecommendShirtColorTest_RowCount_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
rowCountCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
//
// sp_delete_RecommendShirtColorTest_RowCount_TestAction
//
sp_delete_RecommendShirtColorTest_RowCount_TestAction.Conditions.Add(rowCountCondition1);
resources.ApplyResources(sp_delete_RecommendShirtColorTest_RowCount_TestAction, "sp_delete_RecommendShirtColorTest_RowCount_TestAction");
//
// sp_delete_RecommendShirtColorTest_RowCount_PretestAction
//
resources.ApplyResources(sp_delete_RecommendShirtColorTest_RowCount_PretestAction, "sp_delete_RecommendShirtColorTest_RowCount_PretestAction");
//
// sp_delete_RecommendShirtColorTest_RowCountData
//
this.sp_delete_RecommendShirtColorTest_RowCountData.PosttestAction = null;
this.sp_delete_RecommendShirtColorTest_RowCountData.PretestAction = sp_delete_RecommendShirtColorTest_RowCount_PretestAction;
this.sp_delete_RecommendShirtColorTest_RowCountData.TestAction = sp_delete_RecommendShirtColorTest_RowCount_TestAction;
//
// rowCountCondition1
//
rowCountCondition1.Enabled = true;
rowCountCondition1.Name = "rowCountCondition1";
rowCountCondition1.ResultSet = 1;
rowCountCondition1.RowCount = 2;
}
示例5: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormParameters));
this.ctlParameters = new IfcDoc.CtlParameters();
this.SuspendLayout();
//
// ctlParameters
//
this.ctlParameters.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.ctlParameters.ConceptItem = null;
this.ctlParameters.ConceptLeaf = null;
this.ctlParameters.ConceptRoot = null;
this.ctlParameters.CurrentInstance = null;
resources.ApplyResources(this.ctlParameters, "ctlParameters");
this.ctlParameters.Name = "ctlParameters";
this.ctlParameters.Project = null;
//
// FormParameters
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.ctlParameters);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FormParameters";
this.ShowInTaskbar = false;
this.ResumeLayout(false);
}
示例6: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BugToolWizard));
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWizard)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.XSHelpButton)).BeginInit();
this.SuspendLayout();
//
// pictureBoxWizard
//
resources.ApplyResources(this.pictureBoxWizard, "pictureBoxWizard");
this.pictureBoxWizard.Image = global::XenAdmin.Properties.Resources._000_GetServerReport_h32bit_32;
//
// XSHelpButton
//
resources.ApplyResources(this.XSHelpButton, "XSHelpButton");
//
// BugToolWizard
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Name = "BugToolWizard";
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWizard)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.XSHelpButton)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
示例7: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CameraForm));
this.videoSourcePlayer = new AForge.Controls.VideoSourcePlayer();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// videoSourcePlayer
//
resources.ApplyResources(this.videoSourcePlayer, "videoSourcePlayer");
this.videoSourcePlayer.Name = "videoSourcePlayer";
this.videoSourcePlayer.VideoSource = null;
this.videoSourcePlayer.Click += new System.EventHandler(this.videoSourcePlayer_Click);
//
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Name = "label1";
this.label1.Click += new System.EventHandler(this.videoSourcePlayer_Click);
//
// CameraForm
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Black;
this.Controls.Add(this.label1);
this.Controls.Add(this.videoSourcePlayer);
this.Name = "CameraForm";
this.ShowInTaskbar = false;
this.TopMost = true;
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.CameraForm_FormClosed);
this.ResumeLayout(false);
}
示例8: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HistoryItemInfoForm));
this.olvMain = new HistoryLib.CustomControls.ObjectListView();
this.SuspendLayout();
//
// olvMain
//
resources.ApplyResources(this.olvMain, "olvMain");
this.olvMain.FullRowSelect = true;
this.olvMain.GridLines = true;
this.olvMain.HideSelection = false;
this.olvMain.MultiSelect = false;
this.olvMain.Name = "olvMain";
this.olvMain.SetObjectType = HistoryLib.CustomControls.ObjectListView.ObjectType.Properties;
this.olvMain.UseCompatibleStateImageBehavior = false;
this.olvMain.View = System.Windows.Forms.View.Details;
//
// HistoryItemInfoForm
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.olvMain);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
this.MaximizeBox = false;
this.Name = "HistoryItemInfoForm";
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DRFailoverWizardReportPage));
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.textBoxSummary = new System.Windows.Forms.TextBox();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
//
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
this.tableLayoutPanel1.Controls.Add(this.textBoxSummary, 0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
//
// textBoxSummary
//
resources.ApplyResources(this.textBoxSummary, "textBoxSummary");
this.textBoxSummary.Name = "textBoxSummary";
this.textBoxSummary.ReadOnly = true;
//
// DRFailoverWizardReportPage
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.tableLayoutPanel1);
this.Name = "DRFailoverWizardReportPage";
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WelcomePage));
this.labelWelcome = new System.Windows.Forms.Label();
this.dictionaryProperties = new MLifter.Controls.DictionaryProperties();
this.SuspendLayout();
//
// labelWelcome
//
resources.ApplyResources(this.labelWelcome, "labelWelcome");
this.labelWelcome.Name = "labelWelcome";
//
// dictionaryProperties
//
this.dictionaryProperties.DictionaryLocationVisible = true;
this.dictionaryProperties.DictionaryNameReadOnly = false;
resources.ApplyResources(this.dictionaryProperties, "dictionaryProperties");
this.dictionaryProperties.Name = "dictionaryProperties";
//
// WelcomePage
//
this.Controls.Add(this.labelWelcome);
this.Controls.Add(this.dictionaryProperties);
resources.ApplyResources(this, "$this");
this.HelpAvailable = true;
this.LeftImage = global::MLifter.Controls.Properties.Resources.setup;
this.Name = "WelcomePage";
this.Load += new System.EventHandler(this.WelcomePage_Load);
this.VisibleChanged += new System.EventHandler(this.WelcomePage_VisibleChanged);
this.Controls.SetChildIndex(this.dictionaryProperties, 0);
this.Controls.SetChildIndex(this.labelWelcome, 0);
this.ResumeLayout(false);
}
示例11: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReportViewerForm));
this.crvReport = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
this.SuspendLayout();
//
// crvReport
//
resources.ApplyResources(this.crvReport, "crvReport");
this.crvReport.ActiveViewIndex = -1;
this.crvReport.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.crvReport.Cursor = System.Windows.Forms.Cursors.Default;
this.crvReport.Name = "crvReport";
//
// ReportViewerForm
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.crvReport);
this.Name = "ReportViewerForm";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.ReportViewerForm_Load);
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();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PickEntryStep));
this.treeView = new System.Windows.Forms.TreeView();
this.treeImages = new System.Windows.Forms.ImageList(this.components);
this.SuspendLayout();
//
// treeView
//
resources.ApplyResources(this.treeView, "treeView");
this.treeView.FullRowSelect = true;
this.treeView.HideSelection = false;
this.treeView.ImageList = this.treeImages;
this.treeView.Name = "treeView";
this.treeView.DoubleClick += new System.EventHandler(this.TreeView_DoubleClick);
//
// treeImages
//
this.treeImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
resources.ApplyResources(this.treeImages, "treeImages");
this.treeImages.TransparentColor = System.Drawing.Color.Transparent;
//
// PickEntryStep
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Transparent;
this.Controls.Add(this.treeView);
this.Name = "PickEntryStep";
this.Tag = "Double click on the file in the directory tree below to be the entry point for yo" +
"ur application. This should be an executable.";
this.ResumeLayout(false);
}
示例13: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmWaiting));
this.label1 = new System.Windows.Forms.Label();
this.labTxt = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
//
// labTxt
//
resources.ApplyResources(this.labTxt, "labTxt");
this.labTxt.Name = "labTxt";
//
// frmWaiting
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ControlBox = false;
this.Controls.Add(this.labTxt);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "frmWaiting";
this.ResumeLayout(false);
}
示例14: InitializeComponent
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HelpForm));
this.closeButton = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// closeButton
//
this.closeButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
resources.ApplyResources(this.closeButton, "closeButton");
this.closeButton.Name = "closeButton";
this.closeButton.UseVisualStyleBackColor = true;
this.closeButton.Click += new System.EventHandler(this.CloseButton_Click);
//
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
//
// HelpForm
//
this.AcceptButton = this.closeButton;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.closeButton;
this.Controls.Add(this.label1);
this.Controls.Add(this.closeButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "HelpForm";
this.ShowIcon = false;
this.ResumeLayout(false);
}
示例15: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Help));
this.label2 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label2
//
resources.ApplyResources(this.label2, "label2");
this.label2.Name = "label2";
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// button1
//
resources.ApplyResources(this.button1, "button1");
this.button1.Name = "button1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Help
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.button1);
this.Controls.Add(this.label2);
this.Name = "Help";
this.ResumeLayout(false);
this.PerformLayout();
}