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


C# ComponentResourceManager.GetObject方法代码示例

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


在下文中一共展示了ComponentResourceManager.GetObject方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: MFDisplay

        public MFDisplay()
        {
            InitializeComponent();

            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MFDisplay));
          
            if (this.IsInDesignMode)
            {
                this.objXMFDisplay = new Carubbi.ObjectXMFDisplay.AxObjectXMFDisplay();
            }
            else
            {
                this.objXMFDisplay = ImplementationResolver.Resolve("AxObjectXMFDisplay");
            }

            ((System.ComponentModel.ISupportInitialize)(this.objXMFDisplay)).BeginInit();

            this.SuspendLayout();
            // 
            // objXMFDisplay
            // 
            if (this.IsInDesignMode)
            {
                (this.objXMFDisplay as Carubbi.ObjectXMFDisplay.AxObjectXMFDisplay).Dock = System.Windows.Forms.DockStyle.Fill;
                (this.objXMFDisplay as Carubbi.ObjectXMFDisplay.AxObjectXMFDisplay).Enabled = true;
                (this.objXMFDisplay as Carubbi.ObjectXMFDisplay.AxObjectXMFDisplay).Location = new System.Drawing.Point(0, 0);
                (this.objXMFDisplay as Carubbi.ObjectXMFDisplay.AxObjectXMFDisplay).Name = "objXMFDisplay";
                (this.objXMFDisplay as Carubbi.ObjectXMFDisplay.AxObjectXMFDisplay).OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("objXMFDisplay.OcxState")));
                (this.objXMFDisplay as Carubbi.ObjectXMFDisplay.AxObjectXMFDisplay).Size = new System.Drawing.Size(480, 320);
                (this.objXMFDisplay as Carubbi.ObjectXMFDisplay.AxObjectXMFDisplay).TabIndex = 0;
            }
            else
            {
                this.objXMFDisplay.Call("CreateControl");
                this.objXMFDisplay.SetProperty("Dock", System.Windows.Forms.DockStyle.Fill);
                this.objXMFDisplay.SetProperty("Enabled", true);
                this.objXMFDisplay.SetProperty("Location", new System.Drawing.Point(0, 0));
                this.objXMFDisplay.SetProperty("Name", "objXMFDisplay");
                this.objXMFDisplay.SetProperty("OcxState", ((System.Windows.Forms.AxHost.State)(resources.GetObject("objXMFDisplay.OcxState"))));
                this.objXMFDisplay.SetProperty("Size", new System.Drawing.Size(480, 320));
                this.objXMFDisplay.SetProperty("TabIndex", 0);
                this.objXMFDisplay.SetProperty("EventVersion", 1);
                this.objXMFDisplay.SetProperty("CharacterSetID2", 32);
                this.objXMFDisplay.SetProperty("FontTypeFace", "Term3270");
                this.objXMFDisplay.SetProperty("AutoFont", true);
                this.objXMFDisplay.SetProperty("AutoFontMinimumWidth", 2);
                this.objXMFDisplay.SetProperty("CharacterCase", false);
                this.objXMFDisplay.SetProperty("ClipboardConfiguration", 0);
                this.objXMFDisplay.SetProperty("CursorBlinkRate", 1000);
                this.objXMFDisplay.SetProperty("ShowLightPenCursor", true);
                this.objXMFDisplay.SetProperty("WatermarkConfiguration", 0);
            }

            this.Controls.Add(this.objXMFDisplay as Control);
            ((System.ComponentModel.ISupportInitialize)(this.objXMFDisplay)).EndInit();
            this.ResumeLayout(false);
        }
开发者ID:rcarubbi,项目名称:Carubbi.Components,代码行数:57,代码来源:MFDisplay.cs

示例2: UMTSCellNeighborForm

 public UMTSCellNeighborForm(UMTSCell umtsCell, CollectionsModel model)
 {
     this.InitializeComponent();
     this.m_curUMTSCell = umtsCell;
     this.m_UMTSColl = model.UMTSCellColl;
     manager = new ComponentResourceManager(typeof(UMTSCellNeighborForm));
     this.dgvInter.UncheckedColHeaderText = (List<string>)manager.GetObject("dgvNeighborsListDiff.UncheckedColHeaderText");
     this.dgvInterTechnology.UncheckedColHeaderText = (List<string>)manager.GetObject("dataGridViewBase1.UncheckedColHeaderText");
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:9,代码来源:UMTSCellNeighborForm.cs

示例3: Form1

 public Form1()
 {
     //this.Visible = true;
     InitializeComponent();
     ComponentResourceManager resources = new ComponentResourceManager(typeof(Form1));
     _iconOn = (Icon)resources.GetObject("notifyIconOn.Icon");
     _iconOff = (Icon)resources.GetObject("notifyIconOff.Icon");
     this.ToggleKeepAwakeState();
     this.notifyIcon1.Visible = true;
 }
开发者ID:bojordan,项目名称:CupOfCoffee,代码行数:10,代码来源:Form1.cs

示例4: MAIN

 public MAIN()
 {
     InitializeComponent();
     //init menu images
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MAIN));
     copyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripButton.Image")));
     cutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripButton.Image")));
     pasteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripButton.Image")));
     //ScpIndexer.LoadScpCmd();
     //ScriptCommunityPack.LoadKeywords();
 }
开发者ID:msx752,项目名称:ScriptCommunityPack-Editor,代码行数:11,代码来源:REditor.cs

示例5: TreeExampleUserControl

    public TreeExampleUserControl() {
      var resources = new ComponentResourceManager(typeof(TreeExampleUserControl));
      InitializeComponent(resources);

      foreach (var image in new[] {"level1", "level2", "level3" } )
        _level.Add(((Bitmap) (resources.GetObject(image))));

      ThemeResolutionService.ApplyThemeToControlTree(this, "TelerikMetroBlue");

      var item = new RadMenuItem("None");
      item.Click += item_Click;
      radDropDownButton1.Items.Add(item);

      item = new RadMenuItem("Alphabetically");
      item.Click += item_Click;
      radDropDownButton1.Items.Add(item);

      var searchIcon = new ImagePrimitive { Image = ((Image) (resources.GetObject("TV_search"))), Alignment = ContentAlignment.MiddleRight };
      radTextBox1.TextBoxElement.Children.Add(searchIcon);
      radTextBox1.TextBoxElement.TextBoxItem.Alignment = ContentAlignment.MiddleLeft;
      radTextBox1.TextBoxElement.TextBoxItem.PropertyChanged += TextBoxItem_PropertyChanged;
      radTreeView1.TreeViewElement.AllowAlternatingRowColor = true;
      radTreeView1.AllowEdit = false;
      radTreeView1.AllowAdd = false;
      radTreeView1.AllowRemove = false;
      radTreeView1.ItemHeight = 34;
      radTreeView1.AllowDefaultContextMenu = false;

      AutoScroll = false;

      radPanel3.PanelElement.PanelFill.BackColor = Color.White;
      radPanel3.BackColor = Color.White;
      radPanel3.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid;
      radPanel3.PanelElement.PanelBorder.TopColor = Color.FromArgb(196, 199, 182);
      radPanel3.PanelElement.PanelBorder.LeftColor = Color.FromArgb(196, 199, 182);
      radPanel3.PanelElement.PanelBorder.RightColor = Color.FromArgb(196, 199, 182);
      radPanel3.PanelElement.PanelBorder.BottomColor = Color.White;
      radPanel3.PanelElement.PanelBorder.BoxStyle = BorderBoxStyle.FourBorders;
      radPanel3.PanelElement.PanelBorder.BorderDrawMode = BorderDrawModes.VerticalOverHorizontal;
      radPanel3.PanelElement.PanelBorder.GradientStyle = GradientStyles.Solid;

      radPanel1.PanelElement.PanelFill.BackColor = Color.FromArgb(26, 93, 192);
      radPanel1.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid;
      radPanel1.PanelElement.PanelBorder.Visibility = ElementVisibility.Collapsed;
      radPanel1.PanelElement.Font = new Font("Segoe UI Light", 20, FontStyle.Regular);
      radPanel1.ForeColor = Color.White;
      radPanel1.PanelElement.Padding = new Padding(8, 2, 2, 2);
      radPanel1.Text = @"Music Collection";
    }
开发者ID:Latency,项目名称:TINTIN-.NET,代码行数:49,代码来源:TreeExampleUserControl.cs

示例6: ZoomBar

 public ZoomBar()
     : base(new ZoomTracker())
 {
     //load .resx
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ZoomBar));
     zoom_in = (Bitmap)resources.GetObject("zoom_in");
     zoom_out = (Bitmap)resources.GetObject("zoom_out");
     //
     HMiniTracker tracker = this.Control as ZoomTracker;
     tracker.Width = 120;
     tracker.Assign(5, ScaleFactor.CommonZooms.Length - 1, 0);
     tracker.ValueChanged += new ValueChangedEH(tracker_ValueChanged);
     //make room for buttons
     this.Padding = new Padding(20, 0, 20, 0);
 }
开发者ID:kjburns31,项目名称:vixen-modules,代码行数:15,代码来源:ZoomBar.cs

示例7: InitializeComponent

 private void InitializeComponent()
 {
     this.components = (IContainer)new Container();
     ComponentResourceManager resources = new ComponentResourceManager(typeof(about));
     this.pictureBox1 = new PictureBox();
     this.richTextBox1 = new RichTextBox();
     this.richTextBox2 = new RichTextBox();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.SuspendLayout();
     this.pictureBox1.Image = (Image)resources.GetObject("pictureBox1.Image");
     this.pictureBox1.Location = new Point(14, 16);
     this.pictureBox1.Margin = new Padding(3, 4, 3, 4);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(128, 128);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     this.richTextBox1.Font = new Font("Arial Unicode MS", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte)134);
     this.richTextBox1.Location = new Point(148, 13);
     this.richTextBox1.Margin = new Padding(3, 4, 3, 4);
     this.richTextBox1.Name = "richTextBox1";
     this.richTextBox1.ReadOnly = true;
     this.richTextBox1.Size = new Size(333, 131);
     this.richTextBox1.TabIndex = 1;
     this.richTextBox1.Text = resources.GetString("richTextBox1.Text");
     this.richTextBox2.Location = new Point(14, 151);
     this.richTextBox2.Name = "richTextBox2";
     this.richTextBox2.ReadOnly = true;
     this.richTextBox2.ScrollBars = RichTextBoxScrollBars.None;
     this.richTextBox2.Size = new Size(467, 249);
     this.richTextBox2.TabIndex = 2;
     this.richTextBox2.Text = resources.GetString("richTextBox2.Text");
     this.AutoScaleDimensions = new SizeF(7f, 16f);
     this.AutoScaleMode = AutoScaleMode.Font;
     this.ClientSize = new Size(496, 412);
     this.Controls.Add((Control)this.richTextBox2);
     this.Controls.Add((Control)this.richTextBox1);
     this.Controls.Add((Control)this.pictureBox1);
     this.Font = new Font("Arial Unicode MS", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte)0);
     this.Icon = (Icon)resources.GetObject("$this.Icon");
     this.Margin = new Padding(3, 4, 3, 4);
     this.MaximizeBox = false;
     this.Name = "about";
     this.Text = "About HopeRF";
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:kaaLabs15,项目名称:LoRa,代码行数:48,代码来源:About.cs

示例8: InitializeComponent

 /// <summary> 
 /// �����֧������ķ��� - ��Ҫʹ�ô���༭�� 
 /// �޸Ĵ˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NavigationControl));
     this.imageTree2 = new System.Windows.Forms.ImageList(this.components);
     this.Tree = new System.Windows.Forms.TreeView();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // imageTree2
     //
     this.imageTree2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageTree2.ImageStream")));
     this.imageTree2.TransparentColor = System.Drawing.Color.Transparent;
     this.imageTree2.Images.SetKeyName(0, "folder_closed_ii.ico");
     this.imageTree2.Images.SetKeyName(1, "desktop.ico");
     this.imageTree2.Images.SetKeyName(2, "closed_floder.ico");
     this.imageTree2.Images.SetKeyName(3, "calendar.ico");
     //
     // Tree
     //
     this.Tree.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.Tree.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Tree.ImageIndex = 0;
     this.Tree.ImageList = this.imageTree2;
     this.Tree.Location = new System.Drawing.Point(0, 0);
     this.Tree.Name = "Tree";
     this.Tree.SelectedImageIndex = 0;
     this.Tree.Size = new System.Drawing.Size(200, 400);
     this.Tree.TabIndex = 0;
     this.Tree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.Tree_AfterSelect);
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "folder_close2.ico");
     this.imageList1.Images.SetKeyName(1, "folder_open.ico");
     this.imageList1.Images.SetKeyName(2, "closed_floder.ico");
     this.imageList1.Images.SetKeyName(3, "folder2.ico");
     this.imageList1.Images.SetKeyName(4, "opened_folder2.ico");
     //
     // NavigationControl
     //
     this.Controls.Add(this.Tree);
     this.Name = "NavigationControl";
     this.Size = new System.Drawing.Size(200, 400);
     this.ResumeLayout(false);
 }
开发者ID:treejames,项目名称:HYMES,代码行数:52,代码来源:NavigationControl.designer.cs

示例9: 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

示例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(About));
            this.lblVersion = new System.Windows.Forms.Label();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.linkWebsite = new System.Windows.Forms.LinkLabel();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.SuspendLayout();
            // 
            // lblVersion
            // 
            this.lblVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblVersion.Location = new System.Drawing.Point(64, 12);
            this.lblVersion.Name = "lblVersion";
            this.lblVersion.Size = new System.Drawing.Size(266, 24);
            this.lblVersion.TabIndex = 0;
            this.lblVersion.Text = "dotNetInstaller Installer Editor";
            // 
            // pictureBox1
            // 
            this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
            this.pictureBox1.Location = new System.Drawing.Point(12, 12);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(48, 48);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox1.TabIndex = 1;
            this.pictureBox1.TabStop = false;
            // 
            // linkWebsite
            // 
            this.linkWebsite.AutoSize = true;
            this.linkWebsite.Location = new System.Drawing.Point(66, 36);
            this.linkWebsite.Name = "linkWebsite";
            this.linkWebsite.Size = new System.Drawing.Size(177, 13);
            this.linkWebsite.TabIndex = 3;
            this.linkWebsite.TabStop = true;
            this.linkWebsite.Text = "http://dotnetinstaller.codeplex.com/";
            this.linkWebsite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkWebsite_LinkClicked);
            // 
            // About
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(324, 89);
            this.Controls.Add(this.linkWebsite);
            this.Controls.Add(this.pictureBox1);
            this.Controls.Add(this.lblVersion);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "About";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "About";
            this.Load += new System.EventHandler(this.About_Load);
            this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.About_KeyUp);
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
开发者ID:Jairajp1992,项目名称:dotnetinstaller,代码行数:64,代码来源:About.cs

示例11: 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

示例12: DropDownCheckBox

 public DropDownCheckBox()
 {
     _focudPen = new Pen(Color.FromArgb(127, 157, 185), 1);
     _focudPen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
     _borderPenEnabled = new Pen(Color.FromArgb(127, 157, 185), 1);
     _borderPenDisabled = new Pen(Color.FromArgb(201, 199, 186), 1);
     _borderPen = _borderPenEnabled;
     InitializeComponent();
     ComponentResourceManager resources = new ComponentResourceManager(typeof(DropDownCheckBox));
     _img_dropdown = ((System.Drawing.Image)(resources.GetObject("dropdown")));
     _img_dropdown_over = ((System.Drawing.Image)(resources.GetObject("dropdown_over")));
     _img_dropdown_click = ((System.Drawing.Image)(resources.GetObject("dropdown_click")));
     _img_dropdown_disabled = ((System.Drawing.Image)(resources.GetObject("dropdown_disabled")));
     btDrop.Image = _img_dropdown;
     btDrop.InitialImage = _img_dropdown;
 }
开发者ID:alnemer,项目名称:excel-qa-tools,代码行数:16,代码来源:DropDownCheckBox.cs

示例13: 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

示例14: InitializeComponent

 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
     this.picApp = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.picApp)).BeginInit();
     this.SuspendLayout();
     //
     // picApp
     //
     this.picApp.Location = new System.Drawing.Point(0, 0);
     this.picApp.Name = "picApp";
     this.picApp.Size = new System.Drawing.Size(292, 136);
     this.picApp.TabIndex = 0;
     this.picApp.TabStop = false;
     this.picApp.Click += new System.EventHandler(this.pictureBox1_Click);
     //
     // frmMain
     //
     this.ClientSize = new System.Drawing.Size(292, 136);
     this.Controls.Add(this.picApp);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Name = "frmMain";
     this.Text = "In Game";
     ((System.ComponentModel.ISupportInitialize)(this.picApp)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:Razr9,项目名称:Steam-Idle,代码行数:28,代码来源:frmMain.cs

示例15: InitializeComponent

 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPrintPreview));
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name = "crystalReportViewer1";
     this.crystalReportViewer1.SelectionFormula = "";
     this.crystalReportViewer1.Size = new System.Drawing.Size(284, 262);
     this.crystalReportViewer1.TabIndex = 0;
     this.crystalReportViewer1.ViewTimeSelectionFormula = "";
     //
     // frmPrintPreview
     //
     this.ClientSize = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.crystalReportViewer1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "frmPrintPreview";
     this.ResumeLayout(false);
 }
开发者ID:ScoreSolutions,项目名称:DLT-SCAN,代码行数:26,代码来源:frmPrintPreview.cs


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