Ejemplo n.º 1
0
		private static void AddPointerToSideTab(SideTab sideTab)
		{
			// Add the standard pointer.
			SharpDevelopSideTabItem sti = new SharpDevelopSideTabItem("Pointer");
			sti.CanBeRenamed = false;
			sti.CanBeDeleted = false;
			Bitmap pointerBitmap = new Bitmap(IconService.GetBitmap("Icons.16x16.FormsDesigner.PointerIcon"), 16, 16);
			sti.Icon = pointerBitmap;
			sti.Tag = null;
			sideTab.Items.Add(sti);
		}
Ejemplo n.º 2
0
		static SideTabItem  CreateToolboxPointer(SideTab sideTab)
		{
			var pointer = new SharpDevelopSideTabItem("Pointer") {
				CanBeRenamed = false,
				CanBeDeleted = false,
				Icon = new Bitmap(IconService.GetBitmap("Icons.16x16.FormsDesigner.PointerIcon"), 16, 16),
				Tag = null
			};
			return pointer;
		}