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

C# Forms.ImageList类代码示例

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

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



System.Windows.Forms.ImageList类属于命名空间,在下文中一共展示了System.Windows.Forms.ImageList类的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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KmlTreeView));
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.SuspendLayout();
            // 
            // imageList1
            // 
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "ge");
            this.imageList1.Images.SetKeyName(1, "kml");
            this.imageList1.Images.SetKeyName(2, "flag");
            this.imageList1.Images.SetKeyName(3, "overlay");
            this.imageList1.Images.SetKeyName(4, "photo");
            this.imageList1.Images.SetKeyName(5, "tour");
            this.imageList1.Images.SetKeyName(6, "folderClosed");
            this.imageList1.Images.SetKeyName(7, "folderOpen");
            this.imageList1.Images.SetKeyName(8, "linkFolderClosed");
            this.imageList1.Images.SetKeyName(9, "linkFolderOpen");
            this.imageList1.Images.SetKeyName(10, "linkFolderClosed_0");
            this.imageList1.Images.SetKeyName(11, "linkFolderClosed_1");
            this.imageList1.Images.SetKeyName(12, "linkFolderClosed_2");
            this.imageList1.Images.SetKeyName(13, "linkFolderClosedDisconected");
            // 
            // KmlTreeView
            // 
            this.ImageKey = "ge";
            this.ImageList = this.imageList1;
            this.SelectedImageIndex = 0;
            this.ResumeLayout(false);

        }
开发者ID:NpoSaut,项目名称:netTrackRider,代码行数:38,代码来源:KmlTreeView.Designer.cs


示例2: InitializeComponent

 /// <summary> 
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EMapObject));
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "a1.png");
     this.imageList1.Images.SetKeyName(1, "a2.png");
     this.imageList1.Images.SetKeyName(2, "a3.png");
     this.imageList1.Images.SetKeyName(3, "a4.png");
     this.imageList1.Images.SetKeyName(4, "b1.png");
     this.imageList1.Images.SetKeyName(5, "b4.png");
     this.imageList1.Images.SetKeyName(6, "b2.png");
     this.imageList1.Images.SetKeyName(7, "b3.png");
     this.imageList1.Images.SetKeyName(8, "b5.png");
     this.imageList1.Images.SetKeyName(9, "b6.png");
     this.imageList1.Images.SetKeyName(10, "b9.png");
     this.imageList1.Images.SetKeyName(11, "b10.png");
     //
     // EMapObject
     //
     this.BackColor = System.Drawing.Color.Transparent;
     this.Name = "EMapObject";
     this.Size = new System.Drawing.Size(24, 24);
     this.ResumeLayout(false);
 }
开发者ID:dalinhuang,项目名称:videospstandalonenew,代码行数:35,代码来源:EMapObject.designer.cs


示例3: InitializeComponent

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PickEntryStep));
            this.treeView = new System.Windows.Forms.TreeView();
            this.treeImages = new System.Windows.Forms.ImageList(this.components);
            this.SuspendLayout();
            // 
            // treeView
            // 
            resources.ApplyResources(this.treeView, "treeView");
            this.treeView.FullRowSelect = true;
            this.treeView.HideSelection = false;
            this.treeView.ImageList = this.treeImages;
            this.treeView.Name = "treeView";
            this.treeView.DoubleClick += new System.EventHandler(this.TreeView_DoubleClick);
            // 
            // treeImages
            // 
            this.treeImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
            resources.ApplyResources(this.treeImages, "treeImages");
            this.treeImages.TransparentColor = System.Drawing.Color.Transparent;
            // 
            // PickEntryStep
            // 
            resources.ApplyResources(this, "$this");
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.Transparent;
            this.Controls.Add(this.treeView);
            this.Name = "PickEntryStep";
            this.Tag = "Double click on the file in the directory tree below to be the entry point for yo" +
                "ur application.  This should be an executable.";
            this.ResumeLayout(false);

        }
开发者ID:Jeremiahf,项目名称:wix3,代码行数:39,代码来源:PickEntryStep.Designer.cs


示例4: GetImage

		private System.Drawing.Image GetImage(System.ComponentModel.ITypeDescriptorContext context,int index)
		{
			if(m_ImageList!=null && index>=0 && index<=m_ImageList.Images.Count)
			{
				return m_ImageList.Images[index];
			}
			if(context==null)
				return null;

			object o=context.Instance;
			if(o==null)
				return null;
			System.ComponentModel.PropertyDescriptorCollection pd=System.ComponentModel.TypeDescriptor.GetProperties(o);
			if(pd==null)
				return null;

			foreach(System.ComponentModel.PropertyDescriptor prop in pd)
			{
				if(prop.PropertyType==typeof(System.Windows.Forms.ImageList))
				{
					m_ImageList=prop.GetValue(o) as System.Windows.Forms.ImageList;
					if(m_ImageList!=null && index>=0 && index<=m_ImageList.Images.Count)
					{
						return m_ImageList.Images[index];
					}
					break;
				}
			}
			return null;
		}
开发者ID:huamanhtuyen,项目名称:VNACCS,代码行数:30,代码来源:ImageIndexEditor.cs


示例5: TriStateTreeView

		// <summary>
		// Constructor.  Create and populate an image list
		// </summary>
		public TriStateTreeView() : base()
		{
			StateImageList = new System.Windows.Forms.ImageList();

			// populate the image list, using images from the System.Windows.Forms.CheckBoxRenderer class
			for (int i = 0; i < 3; i++)
			{
				// Create a bitmap which holds the relevent check box style
				// see http://msdn.microsoft.com/en-us/library/ms404307.aspx and http://msdn.microsoft.com/en-us/library/system.windows.forms.checkboxrenderer.aspx

				System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(16, 16);
				System.Drawing.Graphics chkGraphics = System.Drawing.Graphics.FromImage(bmp);
				switch ( i )
				{
					// 0,1 - offset the checkbox slightly so it positions in the correct place
					case 0:
						System.Windows.Forms.CheckBoxRenderer.DrawCheckBox(chkGraphics, new System.Drawing.Point(0, 1), System.Windows.Forms.VisualStyles.CheckBoxState.UncheckedNormal);
						break;
					case 1:
						System.Windows.Forms.CheckBoxRenderer.DrawCheckBox(chkGraphics, new System.Drawing.Point(0, 1), System.Windows.Forms.VisualStyles.CheckBoxState.CheckedNormal);
						break;
					case 2:
						System.Windows.Forms.CheckBoxRenderer.DrawCheckBox(chkGraphics, new System.Drawing.Point(0, 1), System.Windows.Forms.VisualStyles.CheckBoxState.MixedNormal);
						break;
				}

				StateImageList.Images.Add(bmp);
			}
		}
开发者ID:Fucmeo,项目名称:ou-qlns,代码行数:32,代码来源:TriStateTreeView.cs


示例6: 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(SplitButton));
     this.SplitButtonDropDown = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.SplitButtonImages = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // SplitButtonDropDown
     //
     this.SplitButtonDropDown.Name = "SplitButtonDropDown";
     this.SplitButtonDropDown.Size = new System.Drawing.Size(61, 4);
     this.SplitButtonDropDown.Closed += new System.Windows.Forms.ToolStripDropDownClosedEventHandler(this.SplitButtonDropDownClosed);
     this.SplitButtonDropDown.Opening += new System.ComponentModel.CancelEventHandler(this.SplitButtonDropDownOpening);
     this.SplitButtonDropDown.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.SplitButtonDropDownItemClicked);
     //
     // SplitButtonImages
     //
     this.SplitButtonImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("SplitButtonImages.ImageStream")));
     this.SplitButtonImages.TransparentColor = System.Drawing.Color.Transparent;
     this.SplitButtonImages.Images.SetKeyName(0, "Normal");
     this.SplitButtonImages.Images.SetKeyName(1, "Hover");
     this.SplitButtonImages.Images.SetKeyName(2, "Clicked");
     this.SplitButtonImages.Images.SetKeyName(3, "Disabled");
     //
     // SplitButton
     //
     this.ContextMenuStrip = this.SplitButtonDropDown;
     this.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.ImageKey = "Normal";
     this.ImageList = this.SplitButtonImages;
     this.ResumeLayout(false);
 }
开发者ID:Dason1986,项目名称:Lib,代码行数:37,代码来源:SplitButton.designer.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(MsgBoxVN));
     this.imgList = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // imgList
     //
     this.imgList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgList.ImageStream")));
     this.imgList.TransparentColor = System.Drawing.Color.Transparent;
     this.imgList.Images.SetKeyName(0, "");
     this.imgList.Images.SetKeyName(1, "");
     this.imgList.Images.SetKeyName(2, "");
     this.imgList.Images.SetKeyName(3, "");
     //
     // MsgBoxVN
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(331, 115);
     this.ControlBox = false;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "MsgBoxVN";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Message";
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.MsgBoxVN_Paint);
     this.Shown += new System.EventHandler(this.MsgBoxVN_Shown);
     this.ResumeLayout(false);
 }
开发者ID:huutruongqnvn,项目名称:vnecoo01,代码行数:38,代码来源:MsgBox.designer.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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SolutionPickerControl));
			this.treeIcons = new System.Windows.Forms.ImageList(this.components);
			this.solutionTree = new System.Windows.Forms.TreeView();
			this.SuspendLayout();
			// 
			// treeIcons
			// 
			this.treeIcons.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit;
			resources.ApplyResources(this.treeIcons, "treeIcons");
			this.treeIcons.TransparentColor = System.Drawing.Color.Magenta;
			// 
			// solutionTree
			// 
			resources.ApplyResources(this.solutionTree, "solutionTree");
			this.solutionTree.ImageList = this.treeIcons;
			this.solutionTree.Name = "solutionTree";
			this.solutionTree.Sorted = true;
			this.solutionTree.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.OnBeforeExpand);
			this.solutionTree.DoubleClick += new System.EventHandler(this.OnSelect);
			// 
			// SolutionPickerControl
			// 
			resources.ApplyResources(this, "$this");
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.Controls.Add(this.solutionTree);
			this.Name = "SolutionPickerControl";
			this.ResumeLayout(false);

		}
开发者ID:Phidiax,项目名称:open-wssf-2015,代码行数:36,代码来源:SolutionPickerControl.designer.cs


示例9: TButton

        public TButton()
            : base()
        {

            Point[] pts = {   new Point(0, _buttonsize / 2 - 1), 
                              new Point(_buttonsize / 2 - 1, 0), 
                              new Point(_buttonsize , _buttonsize / 2 - 1), 
                              new Point(_buttonsize , _buttonsize / 2 + 2),
                              new Point(_buttonsize / 2 + 2, _buttonsize - 1),
                              new Point(_buttonsize / 2 - 1, _buttonsize - 1) };

            GraphicsPath p = new GraphicsPath();
            p.AddPolygon(pts);
            p.CloseFigure();
            p.FillMode = FillMode.Alternate;
            this.Region = new Region(p);

            ImageList = new System.Windows.Forms.ImageList();
            ImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit;
            ImageList.ImageSize = new System.Drawing.Size(_buttonsize, _buttonsize);


            ImageList.Images.Add(((System.Drawing.Image)(Resource1.ResourceManager.GetObject("diamond1"))));
            ImageList.Images.Add(((System.Drawing.Image)(Resource1.ResourceManager.GetObject("diamond1_down"))));
            ImageIndex = 0;

        }
开发者ID:PKAstro,项目名称:Ascom.Gemini.Telescope,代码行数:27,代码来源:TButton.cs


示例10: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EFDevGrid));
     this.imageListGridPageBar = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // imageListGridPageBar
     //
     this.imageListGridPageBar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListGridPageBar.ImageStream")));
     this.imageListGridPageBar.TransparentColor = System.Drawing.Color.Transparent;
     this.imageListGridPageBar.Images.SetKeyName(0, "first.ico");
     this.imageListGridPageBar.Images.SetKeyName(1, "pre.png");
     this.imageListGridPageBar.Images.SetKeyName(2, "next.png");
     this.imageListGridPageBar.Images.SetKeyName(3, "last.ico");
     this.imageListGridPageBar.Images.SetKeyName(4, "Filter.png");
     this.imageListGridPageBar.Images.SetKeyName(5, "branch_element.png");
     this.imageListGridPageBar.Images.SetKeyName(6, "export1.ico");
     this.imageListGridPageBar.Images.SetKeyName(7, "refresh.png");
     this.imageListGridPageBar.Images.SetKeyName(8, "window_split_ver.ico");
     this.imageListGridPageBar.Images.SetKeyName(9, "add2.png");
     this.imageListGridPageBar.Images.SetKeyName(10, "delete2.png");
     this.imageListGridPageBar.Images.SetKeyName(11, "copynew.ico");
     this.imageListGridPageBar.Images.SetKeyName(12, "goto.ico");
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:sunpander,项目名称:VSDT,代码行数:32,代码来源:EFDevGrid.designer.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()
		{
			this.components = new System.ComponentModel.Container();
			System.Windows.Forms.ImageList imageList;
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ModelErrorDisplayFilterForm));
			this.virtualTreeControl = new ORMSolutions.ORMArchitect.Framework.Shell.StandardVirtualTreeControl();
			this.btnOK = new System.Windows.Forms.Button();
			this.btnCancel = new System.Windows.Forms.Button();
			imageList = new System.Windows.Forms.ImageList(this.components);
			this.SuspendLayout();
			// 
			// imageList
			// 
			imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
			resources.ApplyResources(imageList, "imageList");
			imageList.TransparentColor = System.Drawing.Color.Transparent;
			// 
			// virtualTreeControl
			// 
			resources.ApplyResources(this.virtualTreeControl, "virtualTreeControl");
			this.virtualTreeControl.ImageList = imageList;
			this.virtualTreeControl.Name = "virtualTreeControl";
			this.virtualTreeControl.StandardCheckBoxes = true;
			// 
			// btnOK
			// 
			resources.ApplyResources(this.btnOK, "btnOK");
			this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.btnOK.Name = "btnOK";
			this.btnOK.UseVisualStyleBackColor = true;
			this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
			// 
			// btnCancel
			// 
			resources.ApplyResources(this.btnCancel, "btnCancel");
			this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.UseVisualStyleBackColor = true;
			// 
			// ModelErrorDisplayFilterForm
			// 
			this.AcceptButton = this.btnOK;
			resources.ApplyResources(this, "$this");
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.AutoValidate = System.Windows.Forms.AutoValidate.Disable;
			this.CancelButton = this.btnCancel;
			this.Controls.Add(this.btnCancel);
			this.Controls.Add(this.btnOK);
			this.Controls.Add(this.virtualTreeControl);
			this.MinimizeBox = false;
			this.Name = "ModelErrorDisplayFilterForm";
			this.ShowIcon = false;
			this.ResumeLayout(false);

		}
开发者ID:cjheath,项目名称:NORMA,代码行数:59,代码来源:ModelErrorDisplayFilterForm.Designer.cs


示例12: GetColorList

 //public static int Unknown = 3;
 public static System.Windows.Forms.ImageList GetColorList()
 {
     System.Windows.Forms.ImageList myImageList = new System.Windows.Forms.ImageList();
     myImageList.Images.Add(Properties.Resources.Default.ToBitmap());
     myImageList.Images.Add(Properties.Resources.DefaultSelect.ToBitmap());
     myImageList.Images.Add(Properties.Resources.Passed.ToBitmap());
     myImageList.Images.Add(Properties.Resources.PassedSelect.ToBitmap());
     myImageList.Images.Add(Properties.Resources.Failed.ToBitmap());
     myImageList.Images.Add(Properties.Resources.FailedSelect.ToBitmap());
     return myImageList;
 }
开发者ID:MarMar,项目名称:SeeFlaw,代码行数:12,代码来源:TestNode.cs


示例13: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("商品B", 0);
     System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("商品A", 1);
     System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("商品C", 2);
     System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("商品D", 3);
     System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem("商品E", 4);
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frm_Main));
     this.listView1 = new System.Windows.Forms.ListView();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // listView1
     //
     this.listView1.AllowDrop = true;
     this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
     listViewItem1,
     listViewItem2,
     listViewItem3,
     listViewItem4,
     listViewItem5});
     this.listView1.LargeImageList = this.imageList1;
     this.listView1.Location = new System.Drawing.Point(1, -1);
     this.listView1.Name = "listView1";
     this.listView1.Size = new System.Drawing.Size(301, 180);
     this.listView1.TabIndex = 0;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.DragDrop += new System.Windows.Forms.DragEventHandler(this.listView1_DragDrop);
     this.listView1.DragEnter += new System.Windows.Forms.DragEventHandler(this.listView1_DragEnter);
     this.listView1.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.listView1_ItemDrag);
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "1.bmp");
     this.imageList1.Images.SetKeyName(1, "2.bmp");
     this.imageList1.Images.SetKeyName(2, "3.bmp");
     this.imageList1.Images.SetKeyName(3, "4.bmp");
     this.imageList1.Images.SetKeyName(4, "5.bmp");
     //
     // Frm_Main
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(303, 179);
     this.Controls.Add(this.listView1);
     this.Name = "Frm_Main";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "在列表视图中拖动视图项";
     this.ResumeLayout(false);
 }
开发者ID:TGHGH,项目名称:C-1200,代码行数:57,代码来源:Frm_Main.designer.cs


示例14: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frm_Main));
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "1.jpg");
     this.imageList1.Images.SetKeyName(1, "2.jpg");
     this.imageList1.Images.SetKeyName(2, "3.jpg");
     this.imageList1.Images.SetKeyName(3, "4.jpg");
     this.imageList1.Images.SetKeyName(4, "5.jpg");
     //
     // timer1
     //
     this.timer1.Interval = 1000;
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // pictureBox1
     //
     this.pictureBox1.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.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pictureBox1.Location = new System.Drawing.Point(104, 59);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(111, 111);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     //
     // Frm_Main
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(315, 218);
     this.Controls.Add(this.pictureBox1);
     this.Name = "Frm_Main";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "使用ImageList组件制作动画图形";
     this.Load += new System.EventHandler(this.Form2_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:TGHGH,项目名称:C-1200,代码行数:56,代码来源:Frm_Main.designer.cs


示例15: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DivisionTree));
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "category.png");
     this.imageList1.Images.SetKeyName(1, "customer.png");
 }
开发者ID:ljh198275823,项目名称:516-ZhinengChaoBiao,代码行数:17,代码来源:DivisionTree.designer.cs


示例16: InitializeComponent

 /// <summary> 
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NetState));
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.label1 = new System.Windows.Forms.Label();
     this.imageList = new System.Windows.Forms.ImageList(this.components);
     this.timer = new System.Windows.Forms.Timer(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new System.Drawing.Point(13, 4);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(20, 20);
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(50, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(41, 12);
     this.label1.TabIndex = 1;
     this.label1.Text = "label1";
     //
     // imageList
     //
     this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
     this.imageList.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList.Images.SetKeyName(0, "user-busy-2.png");
     this.imageList.Images.SetKeyName(1, "user-online-2.png");
     this.imageList.Images.SetKeyName(2, "dialog-warning-4.png");
     //
     // NetState
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.label1);
     this.Controls.Add(this.pictureBox1);
     this.Name = "NetState";
     this.Size = new System.Drawing.Size(208, 26);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:kaiss78,项目名称:hustoes,代码行数:53,代码来源:NetState.designer.cs


示例17: 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( EntityTypesForm ) );
     this.treeView = new System.Windows.Forms.TreeView();
     this.imageList1 = new System.Windows.Forms.ImageList( this.components );
     this.SuspendLayout();
     //
     // treeView
     //
     this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeView.HideSelection = false;
     this.treeView.ImageIndex = 0;
     this.treeView.ImageList = this.imageList1;
     this.treeView.Location = new System.Drawing.Point( 0, 0 );
     this.treeView.Name = "treeView";
     this.treeView.SelectedImageIndex = 0;
     this.treeView.Size = new System.Drawing.Size( 292, 270 );
     this.treeView.TabIndex = 1;
     this.treeView.Text = "s";
     this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler( this.treeView_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_16.png" );
     this.imageList1.Images.SetKeyName( 1, "EntityType_16.png" );
     //
     // EntityTypesForm
     //
     this.BackColor = System.Drawing.SystemColors.Control;
     this.ClientSize = new System.Drawing.Size( 292, 270 );
     this.Controls.Add( this.treeView );
     this.DockAreas = ( (WeifenLuo.WinFormsUI.Docking.DockAreas)( ( ( ( ( WeifenLuo.WinFormsUI.Docking.DockAreas.Float | WeifenLuo.WinFormsUI.Docking.DockAreas.DockLeft )
                     | WeifenLuo.WinFormsUI.Docking.DockAreas.DockRight )
                     | WeifenLuo.WinFormsUI.Docking.DockAreas.DockTop )
                     | WeifenLuo.WinFormsUI.Docking.DockAreas.DockBottom ) ) );
     this.Font = new System.Drawing.Font( "Microsoft Sans Serif", 7.471698F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ( (byte)( 204 ) ) );
     this.HideOnClose = true;
     this.Name = "EntityTypesForm";
     this.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockRight;
     this.TabText = "Entity Types";
     this.Text = "Entity Types";
     this.ResumeLayout( false );
 }
开发者ID:whztt07,项目名称:SDK,代码行数:50,代码来源:EntityTypesForm.designer.cs


示例18: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frm_Main));
     this.treeView1 = new System.Windows.Forms.TreeView();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // treeView1
     //
     this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeView1.ImageIndex = 0;
     this.treeView1.ImageList = this.imageList1;
     this.treeView1.Location = new System.Drawing.Point(0, 0);
     this.treeView1.Name = "treeView1";
     this.treeView1.SelectedImageIndex = 0;
     this.treeView1.Size = new System.Drawing.Size(303, 196);
     this.treeView1.TabIndex = 0;
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "1.bmp");
     this.imageList1.Images.SetKeyName(1, "2.bmp");
     this.imageList1.Images.SetKeyName(2, "3.bmp");
     this.imageList1.Images.SetKeyName(3, "4.bmp");
     this.imageList1.Images.SetKeyName(4, "5.bmp");
     this.imageList1.Images.SetKeyName(5, "6.bmp");
     this.imageList1.Images.SetKeyName(6, "7.bmp");
     this.imageList1.Images.SetKeyName(7, "8.bmp");
     this.imageList1.Images.SetKeyName(8, "9.bmp");
     this.imageList1.Images.SetKeyName(9, "10.bmp");
     //
     // Frm_Main
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(303, 196);
     this.Controls.Add(this.treeView1);
     this.Name = "Frm_Main";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "将数据库数据显示到树视图中\t";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
开发者ID:TGHGH,项目名称:C-1200,代码行数:50,代码来源:Frm_Main.designer.cs


示例19: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FunctionTree));
     this.images = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // images
     //
     this.images.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("images.ImageStream")));
     this.images.TransparentColor = System.Drawing.Color.Transparent;
     this.images.Images.SetKeyName(0, "Catalog");
     this.images.Images.SetKeyName(1, "Right");
     //
     // FunctionTree
     //
     this.LineColor = System.Drawing.Color.Black;
     this.ResumeLayout(false);
 }
开发者ID:ljh198275823,项目名称:516-ZhinengChaoBiao,代码行数:23,代码来源:FunctionTree.designer.cs


示例20: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frm_Info));
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0,"Close2.bmp");
     this.imageList1.Images.SetKeyName(1,"Close1.bmp");
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new System.Drawing.Point(246,7);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(19,19);
     this.pictureBox1.TabIndex = 1;
     this.pictureBox1.TabStop = false;
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F,12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.SystemColors.HotTrack;
     this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.ClientSize = new System.Drawing.Size(269,163);
     this.ControlBox = false;
     this.Controls.Add(this.pictureBox1);
     this.ForeColor = System.Drawing.SystemColors.ControlText;
     

鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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