当前位置: 首页>>代码示例>>C#>>正文


C# ComponentModel.ComponentResourceManager类代码示例

本文整理汇总了C#中System.ComponentModel.ComponentResourceManager的典型用法代码示例。如果您正苦于以下问题:C# ComponentResourceManager类的具体用法?C# ComponentResourceManager怎么用?C# ComponentResourceManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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(AboutForm));
     this.label1 = new System.Windows.Forms.Label();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(64, 16);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(248, 32);
     this.label1.TabIndex = 1;
     this.label1.Text = "HyperLoad 2.0";
     //
     // listBox1
     //
     this.listBox1.Items.AddRange(new object[] {
     "This program is completely free to use!",
     "",
     "Hyperload is an open-source program that can be used to",
     "program *.HEX files to your microcontroller.",
     "",
     "The Hyperload Protocol & related information can be found at:",
     "www.sociaLLedge.com/sjsu"});
     this.listBox1.Location = new System.Drawing.Point(14, 84);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(304, 108);
     this.listBox1.TabIndex = 5;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.listBox1);
     this.groupBox1.Location = new System.Drawing.Point(8, 8);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(320, 210);
     this.groupBox1.TabIndex = 8;
     this.groupBox1.TabStop = false;
     //
     // AboutForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor = System.Drawing.SystemColors.Control;
     this.ClientSize = new System.Drawing.Size(338, 225);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "AboutForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "About";
     this.Deactivate += new System.EventHandler(this.AboutForm_Deactivate);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
开发者ID:kammce,项目名称:SJSU-DEV-Linux,代码行数:64,代码来源:AboutForm.cs

示例2: InitializeComponent

 private void InitializeComponent()
 {
     ComponentResourceManager manager = new ComponentResourceManager(typeof(frmCommSiRFAwarePic));
     this.label1 = new Label();
     this.button_OK = new Button();
     this.pictureBox1 = new PictureBox();
     this.label2 = new Label();
     ((ISupportInitialize) this.pictureBox1).BeginInit();
     base.SuspendLayout();
     this.label1.AutoSize = true;
     this.label1.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.label1.Location = new Point(0x31, 0xf9);
     this.label1.Name = "label1";
     this.label1.Size = new Size(0x19b, 0x10);
     this.label1.TabIndex = 1;
     this.label1.Text = "For 4e EVK: Toggle the Pulse switch to return to normal power mode.";
     this.button_OK.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button_OK.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.button_OK.Location = new Point(0xd9, 0x137);
     this.button_OK.Name = "button_OK";
     this.button_OK.Size = new Size(0x48, 0x17);
     this.button_OK.TabIndex = 3;
     this.button_OK.Text = "&OK";
     this.button_OK.UseVisualStyleBackColor = true;
     this.button_OK.Click += new EventHandler(this.button_OK_Click);
     this.pictureBox1.BackgroundImage = Resources.EVK4e_Arrows;
     this.pictureBox1.ErrorImage = null;
     this.pictureBox1.InitialImage = null;
     this.pictureBox1.Location = new Point(0x24, 0x18);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(0x1b4, 0xc9);
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     this.label2.AutoSize = true;
     this.label2.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.label2.Location = new Point(0x7b, 0x112);
     this.label2.Name = "label2";
     this.label2.Size = new Size(0x11b, 0x10);
     this.label2.TabIndex = 4;
     this.label2.Text = "Press OK and then Exit the SiRFaware window.";
     base.AcceptButton = this.button_OK;
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     base.ClientSize = new Size(0x1fd, 0x15f);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.button_OK);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.pictureBox1);
     base.Icon = (Icon) manager.GetObject("$this.Icon");
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "frmCommSiRFAwarePic";
     base.ShowInTaskbar = false;
     base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = "Switching from SiRFaware to Full Power Mode on 4e";
     ((ISupportInitialize) this.pictureBox1).EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
开发者ID:facchinm,项目名称:SiRFLive,代码行数:60,代码来源:frmCommSiRFAwarePic.cs

示例3: ActivityBindForm

 public ActivityBindForm(IServiceProvider serviceProvider, ITypeDescriptorContext context)
 {
     this.context = context;
     this.serviceProvider = serviceProvider;
     this.InitializeComponent();
     this.createProperty.Checked = true;
     this.helpTextBox.Multiline = true;
     IUIService service = (IUIService) this.serviceProvider.GetService(typeof(IUIService));
     if (service != null)
     {
         this.Font = (Font) service.Styles["DialogFont"];
     }
     ComponentResourceManager manager = new ComponentResourceManager(typeof(ActivityBindForm));
     this.ActivityBindDialogTitleFormat = manager.GetString("ActivityBindDialogTitleFormat");
     this.PropertyAssignableFormat = manager.GetString("PropertyAssignableFormat");
     this.DescriptionFormat = manager.GetString("DescriptionFormat");
     this.EditIndex = manager.GetString("EditIndex");
     this.PleaseSelectCorrectActivityProperty = manager.GetString("PleaseSelectCorrectActivityProperty");
     this.PleaseSelectActivityProperty = manager.GetString("PleaseSelectActivityProperty");
     this.IncorrectIndexChange = manager.GetString("IncorrectIndexChange");
     this.CreateNewMemberHelpFormat = manager.GetString("CreateNewMemberHelpFormat");
     this.memberTypes = new ImageList();
     this.memberTypes.ImageStream = (ImageListStreamer) manager.GetObject("memberTypes.ImageStream");
     this.memberTypes.TransparentColor = AmbientTheme.TransparentColor;
     this.properties = CustomActivityDesignerHelper.GetCustomProperties(context);
 }
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:26,代码来源:ActivityBindForm.cs

示例4: InitializeComponent

 private void InitializeComponent()
 {
     ComponentResourceManager resources = new ComponentResourceManager(typeof(HelpForm));
     this.docViewer = new WebBrowser();
     base.SuspendLayout();
     this.docViewer.AllowWebBrowserDrop = false;
     this.docViewer.Dock = DockStyle.Fill;
     this.docViewer.IsWebBrowserContextMenuEnabled = false;
     this.docViewer.Location = new Point(0, 0);
     this.docViewer.MinimumSize = new Size(20, 20);
     this.docViewer.Name = "docViewer";
     this.docViewer.Size = new Size(0x124, 0x252);
     this.docViewer.TabIndex = 2;
     this.docViewer.TabStop = false;
     this.docViewer.Url = new Uri("", UriKind.Relative);
     this.docViewer.WebBrowserShortcutsEnabled = false;
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     base.ClientSize = new Size(0x124, 0x252);
     base.Controls.Add(this.docViewer);
     base.Icon = (Icon) resources.GetObject("$this.Icon");
     base.Name = "HelpForm";
     base.StartPosition = FormStartPosition.Manual;
     this.Text = "HelpForm";
     base.ResumeLayout(false);
 }
开发者ID:JamesH001,项目名称:SX1231,代码行数:26,代码来源:HelpForm.cs

示例5: CecButtonConfigUI

        public CecButtonConfigUI(CecButtonConfigItem button)
        {
            _button = button;
              InitializeComponent();

              var keys = Enum.GetValues(typeof (WindowsAPI.VirtualKeyCode));
              string[] friendlyNames = new string[keys.Length];
              for (int i = 0; i < keys.Length; i++)
            friendlyNames[i] = WindowsAPI.GetVirtualKeyName((WindowsAPI.VirtualKeyCode)keys.GetValue(i));
              Array.Sort(friendlyNames);
              foreach (var item in friendlyNames)
            cbAddKey.Items.Add(item);

              button.SettingChanged += delegate
                                 {
                                   _lastSelectedText = 0;
                                   tbAction.Text = button.Value.AsFriendlyString().Trim();
                                 };

              lButtonName.Text = button.Label.Text;
              tbAction.Text = button.Value.AsFriendlyString().Trim();

              //TODO
              cbAddAction.Items.Add(ApplicationInput.FriendlyActionName(ActionType.CloseControllerApplication));
              cbAddAction.Items.Add(ApplicationInput.FriendlyActionName(ActionType.StartApplication));

              // take the icon of the main window
              ComponentResourceManager resources = new ComponentResourceManager(typeof(CECTray));
              Icon = resources.GetObject("$this.Icon") as Icon;
        }
开发者ID:n8o,项目名称:libcec,代码行数:30,代码来源:CecButtonConfigUI.cs

示例6: InitializeComponent

 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(todayDeviceID));
     this.label1 = new System.Windows.Forms.Label();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.label1.Location = new System.Drawing.Point(35, 4);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(150, 28);
     this.label1.Text = "label1";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // pictureBox1
     //
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(4, 4);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(25, 28);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     //
     // todayDeviceID
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.label1);
     this.Name = "todayDeviceID";
     this.Size = new System.Drawing.Size(230, 37);
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.todayDeviceID_Paint);
     this.ResumeLayout(false);
 }
开发者ID:hjgode,项目名称:todayPlugins,代码行数:35,代码来源:todayDeviceID.cs

示例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();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DoubleBox));
            this.lblCaption = new System.Windows.Forms.Label();
            this.txtValue = new System.Windows.Forms.TextBox();
            this.ttHelp = new System.Windows.Forms.ToolTip(this.components);
            this.SuspendLayout();
            // 
            // lblCaption
            // 
            resources.ApplyResources(this.lblCaption, "lblCaption");
            this.lblCaption.Name = "lblCaption";
            // 
            // txtValue
            // 
            resources.ApplyResources(this.txtValue, "txtValue");
            this.txtValue.Name = "txtValue";
            this.txtValue.TextChanged += new System.EventHandler(this.txtValue_TextChanged);
            // 
            // DoubleBox
            // 
            resources.ApplyResources(this, "$this");
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.txtValue);
            this.Controls.Add(this.lblCaption);
            this.Name = "DoubleBox";
            this.ResumeLayout(false);
            this.PerformLayout();

        }
开发者ID:zhongshuiyuan,项目名称:mapwindowsix,代码行数:35,代码来源:DoubleBox.cs

示例8: InitializeComponent

 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmLHXZ));
     this.btnClose = new Button();
     this.txt = new TextBox();
     base.SuspendLayout();
     this.btnClose.Location = new Point(150, 217);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new Size(113, 29);
     this.btnClose.TabIndex = 12;
     this.btnClose.Text = "关闭";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new EventHandler(this.btnClose_Click);
     this.txt.Location = new Point(0, 0);
     this.txt.Multiline = true;
     this.txt.Name = "txt";
     this.txt.Size = new Size(424, 211);
     this.txt.TabIndex = 13;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(422, 256);
     base.Controls.Add(this.txt);
     base.Controls.Add(this.btnClose);
     this.Font = new Font("宋体", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.MaximizeBox = false;
     this.MaximumSize = new Size(430, 290);
     this.MinimumSize = new Size(430, 290);
     base.Name = "frmLHXZ";
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = "理化性质";
     base.ResumeLayout(false);
     base.PerformLayout();
 }
开发者ID:wangshu,项目名称:NY_HACK,代码行数:33,代码来源:frmLHXZ.cs

示例9: updateCulture

        public void updateCulture(String cultureName)
        {


            CultureInfo _newCulture = new CultureInfo(cultureName);
            
            ComponentResourceManager resources = new ComponentResourceManager(typeof(MainForm));
            if(_currentCulture != _newCulture)
            {
                _currentCulture = _newCulture;
                if (_parentControl != null)
                {
                    Thread.CurrentThread.CurrentUICulture = _newCulture;

                    //Changes the resources (text) of all controls to the new locale
                    updateControls(resources, _parentControl);

                    //Applies the same changes to all menus
                    updateMenus(resources, _parentControl);


                }
            }

            
            
        }
开发者ID:Oplkill,项目名称:WorldSmith,代码行数:27,代码来源:LocaleManager.cs

示例10: InitializeComponent

 /// <summary>
 /// �f�U�C�i �T�|�[�g�ɕK�v�ȃ��\�b�h�ł��B���̃��\�b�h�̓�e��
 /// �R�[�h �G�f�B�^�ŕύX���Ȃ��ł��������B
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormOptions));
     this.PropertyGridOptions = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // PropertyGridOptions
     //
     this.PropertyGridOptions.Dock = System.Windows.Forms.DockStyle.Fill;
     this.PropertyGridOptions.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.PropertyGridOptions.Location = new System.Drawing.Point(0, 0);
     this.PropertyGridOptions.Name = "PropertyGridOptions";
     this.PropertyGridOptions.Size = new System.Drawing.Size(472, 454);
     this.PropertyGridOptions.TabIndex = 0;
     //
     // FormOptions
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 12);
     this.ClientSize = new System.Drawing.Size(472, 454);
     this.Controls.Add(this.PropertyGridOptions);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "FormOptions";
     this.Text = "�I�v�V����";
     this.ResumeLayout(false);
 }
开发者ID:saasan,项目名称:PSUTools,代码行数:30,代码来源:FormOptions.cs

示例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(UpdatesWindow));
            this.webBrowser1 = new System.Windows.Forms.WebBrowser();
            this.SuspendLayout();
            // 
            // 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(794, 572);
            this.webBrowser1.TabIndex = 0;
            this.webBrowser1.Url = new System.Uri("", System.UriKind.Relative);
            // 
            // UpdatesWindow
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BackColor = System.Drawing.SystemColors.Control;
            this.ClientSize = new System.Drawing.Size(794, 572);
            this.Controls.Add(this.webBrowser1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "UpdatesWindow";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Update Notice";
            this.ResumeLayout(false);

		}
开发者ID:carriercomm,项目名称:codegenerator,代码行数:34,代码来源:UpdatesWindow.cs

示例12: InitializeComponent

 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoadingControl));
     this.labelMessage = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // labelMessage
     //
     this.labelMessage.BackColor = System.Drawing.Color.Transparent;
     this.labelMessage.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelMessage.ForeColor = System.Drawing.Color.White;
     this.labelMessage.Location = new System.Drawing.Point(35, -4);
     this.labelMessage.Name = "labelMessage";
     this.labelMessage.Size = new System.Drawing.Size(249, 27);
     this.labelMessage.TabIndex = 0;
     this.labelMessage.Text = "Loading...";
     this.labelMessage.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.labelMessage.Paint += new System.Windows.Forms.PaintEventHandler(this.labelMessage_Paint);
     //
     // LoadingControl
     //
     this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.Controls.Add(this.labelMessage);
     this.DoubleBuffered = true;
     this.Name = "LoadingControl";
     this.Size = new System.Drawing.Size(600, 140);
     this.ResumeLayout(false);
 }
开发者ID:Stoner19,项目名称:Memory-Lifter,代码行数:29,代码来源:LoadingControl.cs

示例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(Main));
            this.btnCapture = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // btnCapture
            // 
            this.btnCapture.BackgroundImage = global::digioz.desktop.capture.Properties.Resources.Record;
            this.btnCapture.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.btnCapture.Location = new System.Drawing.Point(119, 2);
            this.btnCapture.Name = "btnCapture";
            this.btnCapture.Size = new System.Drawing.Size(54, 53);
            this.btnCapture.TabIndex = 0;
            this.btnCapture.UseVisualStyleBackColor = true;
            this.btnCapture.Click += new System.EventHandler(this.btnCapture_Click);
            // 
            // Main
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.White;
            this.ClientSize = new System.Drawing.Size(298, 58);
            this.Controls.Add(this.btnCapture);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "Main";
            this.ShowIcon = false;
            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
            this.Text = "DigiOz Screen Capture";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.ResumeLayout(false);

        }
开发者ID:digioz,项目名称:windows-applications,代码行数:38,代码来源:Main.Designer.cs

示例14: InitializeComponent

		private void InitializeComponent()
		{
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ZoomTo));
			this.label1 = new System.Windows.Forms.Label();
			this.cbMagnify = new System.Windows.Forms.ComboBox();
			this.bOK = new System.Windows.Forms.Button();
			this.bCancel = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// label1
			// 
			resources.ApplyResources(this.label1, "label1");
			this.label1.Name = "label1";
			// 
			// cbMagnify
			// 
			resources.ApplyResources(this.cbMagnify, "cbMagnify");
			this.cbMagnify.Items.AddRange(new object[] {
            resources.GetString("cbMagnify.Items"),
            resources.GetString("cbMagnify.Items1"),
            resources.GetString("cbMagnify.Items2"),
            resources.GetString("cbMagnify.Items3"),
            resources.GetString("cbMagnify.Items4"),
            resources.GetString("cbMagnify.Items5"),
            resources.GetString("cbMagnify.Items6"),
            resources.GetString("cbMagnify.Items7"),
            resources.GetString("cbMagnify.Items8"),
            resources.GetString("cbMagnify.Items9"),
            resources.GetString("cbMagnify.Items10")});
			this.cbMagnify.Name = "cbMagnify";
			// 
			// bOK
			// 
			resources.ApplyResources(this.bOK, "bOK");
			this.bOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.bOK.Name = "bOK";
			this.bOK.Click += new System.EventHandler(this.bOK_Click);
			// 
			// bCancel
			// 
			resources.ApplyResources(this.bCancel, "bCancel");
			this.bCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.bCancel.Name = "bCancel";
			this.bCancel.Click += new System.EventHandler(this.bCancel_Click);
			// 
			// ZoomTo
			// 
			resources.ApplyResources(this, "$this");
			this.Controls.Add(this.bCancel);
			this.Controls.Add(this.bOK);
			this.Controls.Add(this.cbMagnify);
			this.Controls.Add(this.label1);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "ZoomTo";
			this.ShowInTaskbar = false;
			this.ResumeLayout(false);

		}
开发者ID:Elboodo,项目名称:My-FyiReporting,代码行数:60,代码来源:ZoomTo.Designer.cs

示例15: ConfigurarVelocidadMaxima

		public ConfigurarVelocidadMaxima ()
		{
			Label texto = new Label();
			texto.Location = new Point (10,10);
			texto.Size = new Size (110, 20);
			texto.Text = "Velocidad Maxima:";
			texto.Anchor = ((AnchorStyles)(AnchorStyles.Left | AnchorStyles.Top));

			entrada = new TextBox ();
			entrada.Location = new Point (130, 10);
			entrada.Size = new Size (200, 20);
			entrada.Text = "50";
			entrada.Anchor = ((AnchorStyles)(AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right | AnchorStyles.Bottom));

			aceptar = new Button ();
			aceptar.Text = "Aceptar";
			aceptar.Location = new Point (280,40);
			aceptar.Size = new Size (50, 23);
			aceptar.Anchor = ((AnchorStyles)(AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Bottom));
			aceptar.Click += new EventHandler (eventoAceptar);

			this.Text = "Configuración - Velocidad Maxima";
			this.ClientSize = new Size (340 , 70);
			ComponentResourceManager recurso = new ComponentResourceManager(typeof(Ventana));
			this.Icon = (Icon)(recurso.GetObject("$this.Icon"));

			Controls.Add (texto);
			Controls.Add (entrada);
			Controls.Add (aceptar);
		}
开发者ID:CarlBarr,项目名称:Simulador-Trafico-Vehicular,代码行数:30,代码来源:ConfigurarVelocidadMaxima.cs


注:本文中的System.ComponentModel.ComponentResourceManager类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。