• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# ComponentModel.IContainer类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



IContainer类属于System.ComponentModel命名空间,在下文中一共展示了IContainer类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
         System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Splash));
         this.pictureBox1 = new System.Windows.Forms.PictureBox();
         this.timer1 = new System.Windows.Forms.Timer(this.components);
         this.SuspendLayout();
         //
         // pictureBox1
         //
         this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
         this.pictureBox1.Image = ((System.Drawing.Bitmap)(resources.GetObject("pictureBox1.Image")));
         this.pictureBox1.Name = "pictureBox1";
         this.pictureBox1.Size = new System.Drawing.Size(632, 416);
         this.pictureBox1.TabIndex = 0;
         this.pictureBox1.TabStop = false;
         //
         // Splash
         //
         this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
         this.ClientSize = new System.Drawing.Size(632, 416);
         this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                       this.pictureBox1});
         this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
         this.Name = "Splash";
         this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
         this.Text = "Splash";
         this.ResumeLayout(false);
 }
开发者ID:mymindleaks,项目名称:dX---discover-and-eXplore,代码行数:33,代码来源:Splash.cs


示例2: InitializeComponent

		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MEImages));
			this.buttonImages = new System.Windows.Forms.ImageList(this.components);
			this.SuspendLayout();
			//
			// buttonImages
			//
			this.buttonImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("buttonImages.ImageStream")));
			this.buttonImages.TransparentColor = System.Drawing.Color.Fuchsia;
			this.buttonImages.Images.SetKeyName(0, "");
			this.buttonImages.Images.SetKeyName(1, "Headed Comp Rule.ico");
			this.buttonImages.Images.SetKeyName(2, "non-Headed Comp Rule.ico");
			this.buttonImages.Images.SetKeyName(3, "Phoneme.ico");
			this.buttonImages.Images.SetKeyName(4, "");
			this.buttonImages.Images.SetKeyName(5, "Natural Class.ico");
			this.buttonImages.Images.SetKeyName(6, "Environment.ico");
			this.buttonImages.Images.SetKeyName(7, "adhoc Morpheme rule.ico");
			this.buttonImages.Images.SetKeyName(8, "adhoc Allomorph rule.ico");
			this.buttonImages.Images.SetKeyName(9, "adhoc Group.ico");
			this.buttonImages.Images.SetKeyName(10, "Insert Cat.ico");
			this.buttonImages.Images.SetKeyName(11, "Insert Feature.ico");
			this.buttonImages.Images.SetKeyName(12, "Insert Complex Feature.ico");
			this.buttonImages.Images.SetKeyName(13, "Exception Feature.ico");
			this.buttonImages.Images.SetKeyName(14, "Metathesis.ico");
			//
			// MEImages
			//
			this.Name = "MEImages";
			this.ResumeLayout(false);

		}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:37,代码来源:MEImages.cs


示例3: InitializeComponent

        private void InitializeComponent()
        {
            components = new System.ComponentModel.Container();
            ServiceName = "SensorMonitor(ASTP)";

            _core = new Core();
        }
开发者ID:erynet,项目名称:SensorMonitor,代码行数:7,代码来源:Hybrid.cs


示例4: InitializeComponent

		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PortMapViewer));
			this._treeView = new System.Windows.Forms.TreeView();
			this._imageList = new System.Windows.Forms.ImageList(this.components);
			this.SuspendLayout();
			// 
			// _treeView
			// 
			this._treeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this._treeView.Dock = System.Windows.Forms.DockStyle.Fill;
			this._treeView.ImageList = this._imageList;
			this._treeView.Location = new System.Drawing.Point(0, 0);
			this._treeView.Name = "_treeView";
			this._treeView.Size = new System.Drawing.Size(150, 150);
			this._treeView.TabIndex = 0;
			// 
			// _imageList
			// 
			this._imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
			this._imageList.ImageSize = new System.Drawing.Size(16, 16);
			this._imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_imageList.ImageStream")));
			this._imageList.TransparentColor = System.Drawing.Color.Transparent;
			// 
			// PortMapViewer
			// 
			this.Controls.Add(this._treeView);
			this.Name = "PortMapViewer";
			this.ResumeLayout(false);

		}
开发者ID:FireBall1725,项目名称:Razor.Framework,代码行数:36,代码来源:PortMapViewer.cs


示例5: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmSplash));
     this.tmrClose = new System.Windows.Forms.Timer(this.components);
     this.picSplash = new System.Windows.Forms.PictureBox();
     this.lblCopyright = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // tmrClose
     //
     this.tmrClose.Enabled = true;
     this.tmrClose.Interval = 2500;
     this.tmrClose.Tick += new System.EventHandler(this.tmrClose_Tick);
     //
     // picSplash
     //
     this.picSplash.Image = ((System.Drawing.Image)(resources.GetObject("picSplash.Image")));
     this.picSplash.Location = new System.Drawing.Point(0, 0);
     this.picSplash.Name = "picSplash";
     this.picSplash.Size = new System.Drawing.Size(448, 200);
     this.picSplash.TabIndex = 0;
     this.picSplash.TabStop = false;
     //
     // lblCopyright
     //
     this.lblCopyright.BackColor = System.Drawing.SystemColors.Window;
     this.lblCopyright.Location = new System.Drawing.Point(232, 168);
     this.lblCopyright.Name = "lblCopyright";
     this.lblCopyright.Size = new System.Drawing.Size(208, 24);
     this.lblCopyright.TabIndex = 2;
     this.lblCopyright.Text = "Kostas Stroggylos 2003-2004";
     this.lblCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.White;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(161)));
     this.label1.Location = new System.Drawing.Point(144, 96);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(296, 23);
     this.label1.TabIndex = 6;
     this.label1.Text = "A.U.E.B. Distributed Web Crawling Project";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // frmSplash
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(448, 200);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.lblCopyright);
     this.Controls.Add(this.picSplash);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "frmSplash";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "frmSplash";
     this.ResumeLayout(false);
 }
开发者ID:modernist,项目名称:CrawlWave,代码行数:64,代码来源:frmSplash.cs


示例6: startTweenEvent

		public void startTweenEvent(object _objHolder,
		 int _destXpos,
		 int _destYpos,
		 string _animType,
		 int _timeInterval)
		{

			counter = 0;
			timeStart = counter;
			timeDest = _timeInterval;
			animType = _animType;

			this.components = new System.ComponentModel.Container();
			this.timer1 = new System.Windows.Forms.Timer(this.components);
			this.timer1.Interval = 5;
			this.timer1.Tick += new System.EventHandler(this.timer1_Tick);

			objHolder = new System.Windows.Forms.Control();
			objHolder = (Control)_objHolder;
			objTimer = this.timer1;

			Arr_startPos[0] = objHolder.Location.X;
			Arr_startPos[1] = objHolder.Location.Y;
			Arr_destPos[0] = _destXpos;
			Arr_destPos[1] = _destYpos;

			objTimer.Stop();
			objTimer.Enabled = false;
			objTimer.Enabled = true;
		}
开发者ID:exaphaser,项目名称:JSC-Cross-Compiler,代码行数:30,代码来源:TweenLibrary.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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RegistryBrowser));
			this.tvRegistry = new System.Windows.Forms.TreeView();
			this.ilTreeImages = new System.Windows.Forms.ImageList(this.components);
			this.SuspendLayout();
			// 
			// tvRegistry
			// 
			this.tvRegistry.Dock = System.Windows.Forms.DockStyle.Fill;
			this.tvRegistry.ImageList = this.ilTreeImages;
			this.tvRegistry.Name = "tvRegistry";
			this.tvRegistry.Size = new System.Drawing.Size(392, 333);
			this.tvRegistry.TabIndex = 0;
			this.tvRegistry.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvRegistry_BeforeExpand);
			// 
			// ilTreeImages
			// 
			this.ilTreeImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
			this.ilTreeImages.ImageSize = new System.Drawing.Size(13, 13);
			this.ilTreeImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilTreeImages.ImageStream")));
			this.ilTreeImages.TransparentColor = System.Drawing.Color.Transparent;
			// 
			// RegistryBrowser
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(392, 333);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.tvRegistry});
			this.Name = "RegistryBrowser";
			this.Text = "Registry Browser";
			this.ResumeLayout(false);

		}
开发者ID:ppatoria,项目名称:SoftwareDevelopment,代码行数:39,代码来源:MAIN.CS


示例8: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PicasaExitButton));
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit;
     this.imageList1.ImageSize = new System.Drawing.Size(13, 13);
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // pictureBox1
     //
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(13, 13);
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseEnter += new System.EventHandler(this.pictureBox1_MouseEnter);
     this.pictureBox1.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave);
     //
     // PicasaExitButton
     //
     this.Controls.Add(this.pictureBox1);
     this.Name = "PicasaExitButton";
     this.Size = new System.Drawing.Size(13, 13);
     this.ResumeLayout(false);
 }
开发者ID:CarverLab,项目名称:Oyster,代码行数:37,代码来源:PicasaExitButton.cs


示例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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(LayerTool));
     this.imageList = new System.Windows.Forms.ImageList(this.components);
     //
     // imageList
     //
     this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit;
     this.imageList.ImageSize = new System.Drawing.Size(16, 16);
     this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
     this.imageList.TransparentColor = System.Drawing.Color.Magenta;
     //
     // LayerTool
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(234, 166);
     this.ControlBox = false;
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "LayerTool";
     this.ShowInTaskbar = false;
     this.Text = "LayerTool";
     this.TopMost = true;
 }
开发者ID:zeromus,项目名称:maped3,代码行数:32,代码来源:LayerTool.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()
 {
     this.components = new System.ComponentModel.Container();
     this._tvProcess = new System.Windows.Forms.TreeView();
     this._ilState = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // _tvProcess
     //
     this._tvProcess.Dock = System.Windows.Forms.DockStyle.Fill;
     this._tvProcess.HideSelection = false;
     this._tvProcess.ImageList = this._ilState;
     this._tvProcess.Location = new System.Drawing.Point(0, 0);
     this._tvProcess.Name = "_tvProcess";
     this._tvProcess.Size = new System.Drawing.Size(150, 150);
     this._tvProcess.TabIndex = 0;
     this._tvProcess.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this._tvProcess_AfterSelect);
     this._tvProcess.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this._tvProcess_BeforeSelect);
     //
     // _ilState
     //
     this._ilState.ImageSize = new System.Drawing.Size(16, 16);
     this._ilState.TransparentColor = System.Drawing.Color.Transparent;
     //
     // ProcessTree
     //
     this.Controls.Add(this._tvProcess);
     this.Name = "ProcessTree";
     this.Load += new System.EventHandler(this.ProcessTree_Load);
     this.ResumeLayout(false);
 }
开发者ID:ilya11211,项目名称:nprof,代码行数:35,代码来源:ProcessTree.cs


示例11: startTweenEvent

        ///<summary>
        ///this method kicks off the process
        ///</summary>
        public void startTweenEvent(object _objHolder, int _destXpos, int _destYpos, string _animType, int _timeInterval)
        {
            //inits the parameters for the tween process
                counter		= 0;
                timeStart	= counter;
                timeDest	= _timeInterval;
                animType	= _animType;

                this.components			= new System.ComponentModel.Container();
                this.timer1				= new System.Windows.Forms.Timer(this.components);
                this.timer1.Interval	= 1;
                this.timer1.Tick		+= new System.EventHandler(this.timer1_Tick);

                //Manages the object passed in to be tweened.
                //I create a new instance of a control and then force the object to convert to
                //a control. Doing it this way, the method accepts ANY control,
                //rather than hard-coding "Button" or some other specific control.
                objHolder	= new System.Windows.Forms.Control();
                objHolder	= (Control) _objHolder;
                objTimer	= this.timer1;

                //initializes the object's position in the pos Arrays
                Arr_startPos[0]	= objHolder.Location.X;
                Arr_startPos[1]	= objHolder.Location.Y;
                Arr_destPos[0]	= _destXpos;
                Arr_destPos[1]	= _destYpos;

                //resets the timer and finally starts it
                objTimer.Stop();
                objTimer.Enabled = false;
                objTimer.Enabled = true;
        }
开发者ID:hebus,项目名称:Tools,代码行数:35,代码来源:tween.cs


示例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(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


示例13: InitializeComponent

		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormImageViewer));
			this.imageListTools = new System.Windows.Forms.ImageList(this.components);
			this.PictureBox1 = new System.Windows.Forms.PictureBox();
			this.ToolBarMain = new OpenDental.UI.ODToolBar();
			((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
			this.SuspendLayout();
			// 
			// imageListTools
			// 
			this.imageListTools.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListTools.ImageStream")));
			this.imageListTools.TransparentColor = System.Drawing.Color.Transparent;
			this.imageListTools.Images.SetKeyName(0,"");
			this.imageListTools.Images.SetKeyName(1,"");
			// 
			// PictureBox1
			// 
			this.PictureBox1.BackColor = System.Drawing.SystemColors.Window;
			this.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
			this.PictureBox1.Cursor = System.Windows.Forms.Cursors.Arrow;
			this.PictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.PictureBox1.Location = new System.Drawing.Point(0,25);
			this.PictureBox1.Name = "PictureBox1";
			this.PictureBox1.Size = new System.Drawing.Size(903,673);
			this.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
			this.PictureBox1.TabIndex = 12;
			this.PictureBox1.TabStop = false;
			this.PictureBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PictureBox1_MouseDown);
			this.PictureBox1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.PictureBox1_MouseMove);
			this.PictureBox1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PictureBox1_MouseUp);
			// 
			// ToolBarMain
			// 
			this.ToolBarMain.Dock = System.Windows.Forms.DockStyle.Top;
			this.ToolBarMain.ImageList = this.imageListTools;
			this.ToolBarMain.Location = new System.Drawing.Point(0,0);
			this.ToolBarMain.Name = "ToolBarMain";
			this.ToolBarMain.Size = new System.Drawing.Size(903,25);
			this.ToolBarMain.TabIndex = 11;
			this.ToolBarMain.ButtonClick += new OpenDental.UI.ODToolBarButtonClickEventHandler(this.ToolBarMain_ButtonClick);
			// 
			// FormImageViewer
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5,13);
			this.ClientSize = new System.Drawing.Size(903,698);
			this.Controls.Add(this.PictureBox1);
			this.Controls.Add(this.ToolBarMain);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "FormImageViewer";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "Image Viewer";
			this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
			this.Load += new System.EventHandler(this.FormImageViewer_Load);
			this.Resize += new System.EventHandler(this.FormImageViewer_Resize);
			((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit();
			this.ResumeLayout(false);

		}
开发者ID:romeroyonatan,项目名称:opendental,代码行数:64,代码来源:FormImageViewer.cs


示例14: ItopVectorControl

 public ItopVectorControl()
 {
     //int num1;
     this.components = null;
     this.pageSetting=new PageSettings();
     this.svgDocument = new SvgDocument();
     this.mainIcon = null;
     this.roots = new Hashtable(0x10);
     this.unnamed = string.Empty;
     this.InitializeComponent();
     this.mainIcon = this.GetIconFromResource(base.GetType(), "ItopVector.ItopVectorControl.Resource.main.ico");
     this.CreateMenu();
     this.drawArea1.OperationChanged += new EventHandler(this.ChangeOperation);
     this.drawArea1.ScaleChanged += new EventHandler(this.ChangeScale);
     this.drawArea1.OnTrackPopup += new TrackPopupEventHandler(this.TrackPopup);
     this.drawArea1.OnTipEvent += new OnTipEventHandler(this.ToolTip);
     this.drawArea1.PostBrushEvent += new PostBrushEventHandler(this.PostBrush);
     this.drawArea1.LeftClick +=new SvgElementEventHandler(drawArea1_LeftClick);
     this.drawArea1.DoubleLeftClick+=new SvgElementEventHandler(drawArea1_DoubleLeftClick);
     this.drawArea1.RightClick+=new SvgElementEventHandler(drawArea1_RightClick);
     this.drawArea1.MoveOver+=new SvgElementEventHandler(drawArea1_MoveOver);
     this.drawArea1.MoveIn+=new SvgElementEventHandler(drawArea1_MoveIn);
     this.drawArea1.MoveOut+=new SvgElementEventHandler(drawArea1_MoveOut);
     this.drawArea1.DragAndDrop+=new DragEventHandler(drawArea1_DragDrop);
     this.drawArea1.PaintMap+=new PaintMapEventHandler(drawArea1_PaintMap);
     this.drawArea1.AfterPaintPage+=new PaintMapEventHandler(drawArea1_AfterPaintPage);
     this.Disposed+=new EventHandler(DocumentControl_Disposed);
     this.UpdateProperty();
     this.unnamed = ItopVector.Resource.LayoutManager.GetLabelForName("unnamedelement").Trim();
     this.drawArea1.OnMouseUp += new MouseEventHandler(drawArea1_OnMouseUp);
 }
开发者ID:EdgarEDT,项目名称:myitoppsp,代码行数:31,代码来源:TLVectorControl.cs


示例15: InitializeComponent

 /// <summary>
 /// Required by designer support - do not modify
 /// the following method
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.adxieKeyboardCommand = new AddinExpress.IE.ADXIEKeyboardShortcut(this.components);
     this.adxieAdvancedSearchBarItem = new AddinExpress.IE.ADXIEBarItem(this.components);
     //
     // adxieKeyboardCommand
     //
     this.adxieKeyboardCommand.ShortcutText = "Ctrl+F";
     this.adxieKeyboardCommand.OnAction += new AddinExpress.IE.ADXIEKeyboardShortcut_EventHandler(this.adxieKeyboardCommand_OnAction);
     //
     // adxieAdvancedSearchBarItem
     //
     this.adxieAdvancedSearchBarItem.BarType = "AddinExpress.AdvancedSearch.AdvancedSearchIEBar";
     this.adxieAdvancedSearchBarItem.HelpText = "Add-in Express Advanced search engine";
     this.adxieAdvancedSearchBarItem.LoadAtStartup = true;
     this.adxieAdvancedSearchBarItem.MaxSize = 200;
     this.adxieAdvancedSearchBarItem.MenuText = "Advanced Search";
     this.adxieAdvancedSearchBarItem.MinSize = 200;
     this.adxieAdvancedSearchBarItem.Title = "Advanced Search";
     //
     // IEAdvancedSearch
     //
     this.Bars.Add(this.adxieAdvancedSearchBarItem);
     this.HandleShortcuts = true;
     this.ModuleName = "AdvancedSearchForIE";
     this.OnTabChanged += new AddinExpress.IE.ADXIETabChanged_EventHandler(this.IEAdvancedSearch_OnTabChanged);
     this.OnSendMessage += new AddinExpress.IE.ADXIESendMessage_EventHandler(this.IEAdvancedSearch_OnSendMessage);
     this.OnConnect += new AddinExpress.IE.ADXIEConnect_EventHandler(this.IEAdvancedSearch_OnConnect);
 }
开发者ID:grefly,项目名称:Buy4,代码行数:34,代码来源:IEModule.cs


示例16: 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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PopUpForm));
			this.imgList = new System.Windows.Forms.ImageList(this.components);
			// 
			// imgList
			// 
			this.imgList.ImageSize = new System.Drawing.Size(13, 13);
			this.imgList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgList.ImageStream")));
			this.imgList.TransparentColor = System.Drawing.Color.Transparent;
			// 
			// PopUpForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.BackColor = System.Drawing.Color.AliceBlue;
			this.ClientSize = new System.Drawing.Size(264, 144);
			this.ControlBox = false;
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
			this.Name = "PopUpForm";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
			this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PopUpForm_MouseDown);
			this.Load += new System.EventHandler(this.PopUpForm_Load);
			this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PopUpForm_MouseUp);
			this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.PopUpForm_MouseMove);
			this.MouseLeave += new System.EventHandler(this.PopUpForm_MouseLeave);

		}
开发者ID:aj9251,项目名称:pandorasbox3,代码行数:33,代码来源:PopUpForm.cs


示例17: InitializeComponent

		//-------------------------------------------------------------------------------------
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			this.SuspendLayout();
			this.ResumeLayout(false);
		}
开发者ID:GoldMax,项目名称:Pulsar.NET,代码行数:8,代码来源:SimListBox.cs


示例18: InitializeComponent

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.zedGraphControl1 = new ZedGraph.ZedGraphControl();
            this.SuspendLayout();
            // 
            // zedGraphControl1
            // 
            this.zedGraphControl1.Location = new System.Drawing.Point(36, 29);
            this.zedGraphControl1.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
            this.zedGraphControl1.Name = "zedGraphControl1";
            this.zedGraphControl1.ScrollGrace = 0D;
            this.zedGraphControl1.ScrollMaxX = 0D;
            this.zedGraphControl1.ScrollMaxY = 0D;
            this.zedGraphControl1.ScrollMaxY2 = 0D;
            this.zedGraphControl1.ScrollMinX = 0D;
            this.zedGraphControl1.ScrollMinY = 0D;
            this.zedGraphControl1.ScrollMinY2 = 0D;
            this.zedGraphControl1.Size = new System.Drawing.Size(919, 641);
            this.zedGraphControl1.TabIndex = 0;
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1050, 792);
            this.Controls.Add(this.zedGraphControl1);
            this.Name = "Form1";
            this.Text = "Form1";
            this.ResumeLayout(false);

        }
开发者ID:karthikkumsi,项目名称:FTDI_Test-app,代码行数:36,代码来源:Form1.Designer.cs


示例19: 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() {
			this.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm));
			this.statusBar = new System.Windows.Forms.StatusBar();
			this.splitter3 = new System.Windows.Forms.Splitter();
			this.dockPanel1 = new WeifenLuo.WinFormsUI.DockPanel();
			this.timerExternallyModifiedFiles = new System.Windows.Forms.Timer(this.components);
			this.SuspendLayout();
			// 
			// statusBar
			// 
			this.statusBar.Location = new System.Drawing.Point(0, 459);
			this.statusBar.Name = "statusBar";
			this.statusBar.Size = new System.Drawing.Size(758, 21);
			this.statusBar.TabIndex = 6;
			// 
			// splitter3
			// 
			this.splitter3.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.splitter3.Location = new System.Drawing.Point(0, 456);
			this.splitter3.Name = "splitter3";
			this.splitter3.Size = new System.Drawing.Size(758, 3);
			this.splitter3.TabIndex = 21;
			this.splitter3.TabStop = false;
			// 
			// dockPanel1
			// 
			this.dockPanel1.ActiveAutoHideContent = null;
			this.dockPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.dockPanel1.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
			this.dockPanel1.Location = new System.Drawing.Point(0, 0);
			this.dockPanel1.Name = "dockPanel1";
			this.dockPanel1.Size = new System.Drawing.Size(758, 456);
			this.dockPanel1.TabIndex = 23;
			// 
			// timerExternallyModifiedFiles
			// 
			this.timerExternallyModifiedFiles.Interval = 200;
			this.timerExternallyModifiedFiles.Tick += new System.EventHandler(this.timerExternallyModifiedFiles_Tick);
			// 
			// MainForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(758, 480);
			this.Controls.Add(this.dockPanel1);
			this.Controls.Add(this.splitter3);
			this.Controls.Add(this.statusBar);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.IsMdiContainer = true;
			this.Name = "MainForm";
			this.Text = "CH3ETAH";
			this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
			this.Closing += new System.ComponentModel.CancelEventHandler(this.Form_Closing);
			this.Load += new System.EventHandler(this.MainForm_Load);
			this.Activated += new System.EventHandler(this.MainForm_Activated);
			this.Deactivate += new System.EventHandler(this.MainForm_Deactivate);
			this.ResumeLayout(false);

		}
开发者ID:BackupTheBerlios,项目名称:ch3etah-svn,代码行数:64,代码来源:MainForm.cs


示例20: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.CheckPosTimer = new Timer(this.components);
     this.CheckPosTimer.Enabled = true;
     this.CheckPosTimer.Interval = 300;
     this.CheckPosTimer.Tick += new EventHandler(this.CheckPosTimer_Tick);
 }
开发者ID:GamesDesignArt,项目名称:UniversalCommon,代码行数:8,代码来源:AutoDocker.Designer.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ComponentModel.ListChangedEventArgs类代码示例发布时间:2022-05-26
下一篇:
C# ComponentModel.HandledEventArgs类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap