本文整理汇总了C#中System.ComponentModel.ComponentResourceManager类的典型用法代码示例。如果您正苦于以下问题:C# System.ComponentModel.ComponentResourceManager类的具体用法?C# System.ComponentModel.ComponentResourceManager怎么用?C# System.ComponentModel.ComponentResourceManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.ComponentModel.ComponentResourceManager类属于命名空间,在下文中一共展示了System.ComponentModel.ComponentResourceManager类的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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TaskReportListForm));
this.ReportListBox = new System.Windows.Forms.ListBox();
this.SuspendLayout();
//
// ReportListBox
//
this.ReportListBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.ReportListBox.FormattingEnabled = true;
this.ReportListBox.HorizontalScrollbar = true;
this.ReportListBox.ItemHeight = 14;
this.ReportListBox.Location = new System.Drawing.Point(0, 0);
this.ReportListBox.Name = "ReportListBox";
this.ReportListBox.Size = new System.Drawing.Size(457, 326);
this.ReportListBox.TabIndex = 1;
this.ReportListBox.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.ReportListBox_MouseDoubleClick);
//
// TaskReportListForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 14F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(457, 329);
this.Controls.Add(this.ReportListBox);
this.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "TaskReportListForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Reports";
this.Load += new System.EventHandler(this.TaskReportList_Load);
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(SplashScreen));
this.SuspendLayout();
//
// SplashScreen
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.ClientSize = new System.Drawing.Size(599, 360);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "SplashScreen";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SplashScreen";
this.TopMost = true;
this.Load += new System.EventHandler(this.SplashScreen_Load);
this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.SplashScreen_MouseClick);
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(ScatterplotBox));
this.histogramView1 = new Accord.Controls.HistogramView();
this.SuspendLayout();
//
// scatterplotView1
//
this.histogramView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.histogramView1.Location = new System.Drawing.Point(0, 0);
this.histogramView1.Name = "histogramView1";
this.histogramView1.Histogram = ((Accord.Statistics.Visualizations.Histogram)(resources.GetObject("histogramtView1.Scatterplot")));
this.histogramView1.Size = new System.Drawing.Size(484, 362);
this.histogramView1.TabIndex = 0;
//
// ScatterplotBox
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(484, 362);
this.Controls.Add(this.histogramView1);
this.Name = "HistogramView";
this.Text = "Histogram";
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()
{
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);
}
示例5: Loaded
public override bool Loaded()
{
Grid.Host2 = Host;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GridUI));
var temp = (string)(resources.GetObject("$this.Text"));
but = new ToolStripMenuItem(temp);
but.Click += but_Click;
bool hit = false;
ToolStripItemCollection col = Host.FPMenuMap.Items;
int index = col.Count;
foreach (ToolStripItem item in col)
{
if (item.Text.Equals(Strings.AutoWP))
{
index = col.IndexOf(item);
((ToolStripMenuItem)item).DropDownItems.Add(but);
hit = true;
break;
}
}
if (hit == false)
col.Add(but);
return true;
}
示例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(rptProductAdd));
this.crvProductAdd = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
this.SuspendLayout();
//
// crvProductAdd
//
this.crvProductAdd.ActiveViewIndex = -1;
this.crvProductAdd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.crvProductAdd.Dock = System.Windows.Forms.DockStyle.Fill;
this.crvProductAdd.Location = new System.Drawing.Point(0, 0);
this.crvProductAdd.Name = "crvProductAdd";
this.crvProductAdd.SelectionFormula = "";
this.crvProductAdd.Size = new System.Drawing.Size(958, 406);
this.crvProductAdd.TabIndex = 0;
this.crvProductAdd.ViewTimeSelectionFormula = "";
//
// rptProductAdd
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(958, 406);
this.Controls.Add(this.crvProductAdd);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "rptProductAdd";
this.Text = "rptProductAdd";
this.Load += new System.EventHandler(this.rptProductAdd_Load);
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(aviso));
this.webBrowser = new System.Windows.Forms.WebBrowser();
this.SuspendLayout();
//
// webBrowser
//
this.webBrowser.Dock = System.Windows.Forms.DockStyle.Fill;
this.webBrowser.Location = new System.Drawing.Point(0, 0);
this.webBrowser.MinimumSize = new System.Drawing.Size(20, 20);
this.webBrowser.Name = "webBrowser";
this.webBrowser.Size = new System.Drawing.Size(425, 411);
this.webBrowser.TabIndex = 0;
//
// aviso
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(425, 411);
this.Controls.Add(this.webBrowser);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "aviso";
this.Load += new System.EventHandler(this.aviso_Load);
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(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();
}
示例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();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FileBrowser));
this.ListImage = new System.Windows.Forms.ImageList(this.components);
this.SuspendLayout();
//
// ListImage
//
this.ListImage.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ListImage.ImageStream")));
this.ListImage.TransparentColor = System.Drawing.Color.Transparent;
this.ListImage.Images.SetKeyName(0, "Drive.png");
this.ListImage.Images.SetKeyName(1, "Foclosed.png");
this.ListImage.Images.SetKeyName(2, "Foopened.png");
this.ListImage.Images.SetKeyName(3, "File.png");
//
// FileBrowser
//
this.Font = new System.Drawing.Font("Verdana", 9.75F);
this.ImageIndex = 0;
this.ImageList = this.ListImage;
this.LineColor = System.Drawing.Color.Black;
this.SelectedImageIndex = 0;
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(ErrorForm));
this.Label = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// Label
//
this.Label.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.Label.AutoSize = true;
this.Label.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Label.Location = new System.Drawing.Point(7, 47);
this.Label.Name = "Label";
this.Label.Size = new System.Drawing.Size(50, 20);
this.Label.TabIndex = 0;
this.Label.Text = "label1";
//
// ErrorForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.ClientSize = new System.Drawing.Size(411, 100);
this.Controls.Add(this.Label);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "ErrorForm";
this.Text = "错误信息提示";
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OrderReportUI));
this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
this.SuspendLayout();
//
// crystalReportViewer1
//
this.crystalReportViewer1.ActiveViewIndex = -1;
this.crystalReportViewer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
this.crystalReportViewer1.Location = new System.Drawing.Point(3, 0);
this.crystalReportViewer1.Name = "crystalReportViewer1";
this.crystalReportViewer1.Size = new System.Drawing.Size(569, 381);
this.crystalReportViewer1.TabIndex = 1;
this.crystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
//
// OrderReportUI
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(573, 381);
this.Controls.Add(this.crystalReportViewer1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "OrderReportUI";
this.Text = "Order Report";
this.Load += new System.EventHandler(this.OrderReportUI_Load);
this.ResumeLayout(false);
}
开发者ID:salamcseiu21,项目名称:Library-Management-With-CSharp-Desktop-,代码行数:37,代码来源:OrderReportUI.Designer.cs
示例12: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KernelResTree));
this.imageList_resIcon = new System.Windows.Forms.ImageList(this.components);
this.SuspendLayout();
//
// imageList_resIcon
//
this.imageList_resIcon.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList_resIcon.ImageStream")));
this.imageList_resIcon.TransparentColor = System.Drawing.Color.Fuchsia;
this.imageList_resIcon.Images.SetKeyName(0, "database.bmp");
this.imageList_resIcon.Images.SetKeyName(1, "searchfrom.bmp");
this.imageList_resIcon.Images.SetKeyName(2, "");
this.imageList_resIcon.Images.SetKeyName(3, "");
this.imageList_resIcon.Images.SetKeyName(4, "");
this.imageList_resIcon.Images.SetKeyName(5, "");
//
// KernelResTree
//
this.LineColor = System.Drawing.Color.Black;
this.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.KernelResTree_AfterExpand);
this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.KernelResTree_MouseUp);
this.ResumeLayout(false);
}
示例13: 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(WindowsMediaPlayer));
this.Player = new AxWMPLib.AxWindowsMediaPlayer();
((System.ComponentModel.ISupportInitialize)(this.Player)).BeginInit();
this.SuspendLayout();
//
// Player
//
this.Player.Dock = System.Windows.Forms.DockStyle.Fill;
this.Player.Enabled = true;
this.Player.Location = new System.Drawing.Point(0, 0);
this.Player.Name = "Player";
this.Player.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Player.OcxState")));
this.Player.Size = new System.Drawing.Size(573, 399);
this.Player.TabIndex = 0;
this.Player.OpenStateChange += new AxWMPLib._WMPOCXEvents_OpenStateChangeEventHandler(this.Player_OpenStateChange);
this.Player.PlayStateChange += new AxWMPLib._WMPOCXEvents_PlayStateChangeEventHandler(this.Player_PlayStateChange);
this.Player.PositionChange += new AxWMPLib._WMPOCXEvents_PositionChangeEventHandler(this.Player_PositionChange);
//
// WindowsMediaPlayer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.Player);
this.Name = "WindowsMediaPlayer";
this.Size = new System.Drawing.Size(573, 399);
((System.ComponentModel.ISupportInitialize)(this.Player)).EndInit();
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ErrorForm));
this.tbMessage = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// tbMessage
//
this.tbMessage.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbMessage.Location = new System.Drawing.Point(0, 0);
this.tbMessage.Multiline = true;
this.tbMessage.Name = "tbMessage";
this.tbMessage.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.tbMessage.Size = new System.Drawing.Size(476, 372);
this.tbMessage.TabIndex = 5;
//
// ErrorForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(476, 372);
this.Controls.Add(this.tbMessage);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "ErrorForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Exception";
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(rptSaleMonthYears));
this.CtrSaleMonthYears = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
this.SuspendLayout();
//
// CtrSaleMonthYears
//
this.CtrSaleMonthYears.ActiveViewIndex = -1;
this.CtrSaleMonthYears.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.CtrSaleMonthYears.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange;
this.CtrSaleMonthYears.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.CtrSaleMonthYears.Location = new System.Drawing.Point(-3, 0);
this.CtrSaleMonthYears.Name = "CtrSaleMonthYears";
this.CtrSaleMonthYears.SelectionFormula = "";
this.CtrSaleMonthYears.Size = new System.Drawing.Size(995, 573);
this.CtrSaleMonthYears.TabIndex = 0;
this.CtrSaleMonthYears.ViewTimeSelectionFormula = "";
//
// rptSaleMonthYears
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(992, 573);
this.Controls.Add(this.CtrSaleMonthYears);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "rptSaleMonthYears";
this.Text = "rptSaleMonthYears";
this.Load += new System.EventHandler(this.rptSaleMonthYears_Load);
this.ResumeLayout(false);
}