Inheritance: System.Windows.Forms.UserControl
Beispiel #1
0
		/// <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(Form1));
			this.toolBar1 = new System.Windows.Forms.ToolBar();
			this.btnOpen = new System.Windows.Forms.ToolBarButton();
			this.btnSave = new System.Windows.Forms.ToolBarButton();
			this.sep1 = new System.Windows.Forms.ToolBarButton();
			this.btnCut = new System.Windows.Forms.ToolBarButton();
			this.btnCopy = new System.Windows.Forms.ToolBarButton();
			this.btnPaste = new System.Windows.Forms.ToolBarButton();
			this.btnDelete = new System.Windows.Forms.ToolBarButton();
			this.sep4 = new System.Windows.Forms.ToolBarButton();
			this.btnSize = new System.Windows.Forms.ToolBarButton();
			this.btnAdd = new System.Windows.Forms.ToolBarButton();
			this.contextMenu1 = new System.Windows.Forms.ContextMenu();
			this.mnuTbRectangle = new System.Windows.Forms.MenuItem();
			this.mnuTbElipse = new System.Windows.Forms.MenuItem();
			this.mnuTbRectangleNode = new System.Windows.Forms.MenuItem();
			this.mnuTbElipseNode = new System.Windows.Forms.MenuItem();
			this.TbCommentBox = new System.Windows.Forms.MenuItem();
			this.btnConnect = new System.Windows.Forms.ToolBarButton();
			this.contextMenu2 = new System.Windows.Forms.ContextMenu();
			this.mnuTbStraightLink = new System.Windows.Forms.MenuItem();
			this.mnuTbRightAngleLink = new System.Windows.Forms.MenuItem();
			this.sep2 = new System.Windows.Forms.ToolBarButton();
			this.btnUndo = new System.Windows.Forms.ToolBarButton();
			this.btnRedo = new System.Windows.Forms.ToolBarButton();
			this.sep3 = new System.Windows.Forms.ToolBarButton();
			this.btnZoom = new System.Windows.Forms.ToolBarButton();
			this.contextMenu_Zoom = new System.Windows.Forms.ContextMenu();
			this.mnuZoom_10 = new System.Windows.Forms.MenuItem();
			this.mnuZoom_25 = new System.Windows.Forms.MenuItem();
			this.mnuZoom_50 = new System.Windows.Forms.MenuItem();
			this.mnuZoom_75 = new System.Windows.Forms.MenuItem();
			this.mnuZoom_100 = new System.Windows.Forms.MenuItem();
			this.mnuZoom_150 = new System.Windows.Forms.MenuItem();
			this.mnuZoom_200 = new System.Windows.Forms.MenuItem();
			this.sep5 = new System.Windows.Forms.ToolBarButton();
			this.btnFront = new System.Windows.Forms.ToolBarButton();
			this.btnBack = new System.Windows.Forms.ToolBarButton();
			this.btnMoveUp = new System.Windows.Forms.ToolBarButton();
			this.btnMoveDown = new System.Windows.Forms.ToolBarButton();
			this.imageList1 = new System.Windows.Forms.ImageList(this.components);
			this.mainMenu1 = new System.Windows.Forms.MainMenu();
			this.mnuFile = new System.Windows.Forms.MenuItem();
			this.mnuOpen = new System.Windows.Forms.MenuItem();
			this.mnuSave = new System.Windows.Forms.MenuItem();
			this.menuItem26 = new System.Windows.Forms.MenuItem();
			this.mnuExit = new System.Windows.Forms.MenuItem();
			this.mnuEdit = new System.Windows.Forms.MenuItem();
			this.mnuUndo = new System.Windows.Forms.MenuItem();
			this.mnuRedo = new System.Windows.Forms.MenuItem();
			this.menuItem3 = new System.Windows.Forms.MenuItem();
			this.mnuCut = new System.Windows.Forms.MenuItem();
			this.mnuCopy = new System.Windows.Forms.MenuItem();
			this.mnuPaste = new System.Windows.Forms.MenuItem();
			this.mnuDelete = new System.Windows.Forms.MenuItem();
			this.menuItem11 = new System.Windows.Forms.MenuItem();
			this.mnuSize = new System.Windows.Forms.MenuItem();
			this.mnuAdd = new System.Windows.Forms.MenuItem();
			this.mnuRectangle = new System.Windows.Forms.MenuItem();
			this.mnuElipse = new System.Windows.Forms.MenuItem();
			this.mnuRectangleNode = new System.Windows.Forms.MenuItem();
			this.mnuElipseNode = new System.Windows.Forms.MenuItem();
			this.mnuConnect = new System.Windows.Forms.MenuItem();
			this.menuItem20 = new System.Windows.Forms.MenuItem();
			this.mnuOrder = new System.Windows.Forms.MenuItem();
			this.mnuBringToFront = new System.Windows.Forms.MenuItem();
			this.mnuSendToBack = new System.Windows.Forms.MenuItem();
			this.mnuMoveUp = new System.Windows.Forms.MenuItem();
			this.mnuMoveDown = new System.Windows.Forms.MenuItem();
			this.mnuHelp = new System.Windows.Forms.MenuItem();
			this.mnuShowDebugLog = new System.Windows.Forms.MenuItem();
			this.menuItem1 = new System.Windows.Forms.MenuItem();
			this.mnuAbout = new System.Windows.Forms.MenuItem();
			this.panel1 = new System.Windows.Forms.Panel();
			this.designer1 = new Dalssoft.DiagramNet.Designer();
			this.splitter2 = new System.Windows.Forms.Splitter();
			this.txtLog = new System.Windows.Forms.TextBox();
			this.splitter1 = new System.Windows.Forms.Splitter();
			this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
			this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
			this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
			this.panel1.SuspendLayout();
			this.SuspendLayout();
			// 
			// toolBar1
			// 
			this.toolBar1.AllowDrop = true;
			this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
			this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
																						this.btnOpen,
																						this.btnSave,
																						this.sep1,
																						this.btnCut,
																						this.btnCopy,
																						this.btnPaste,
																						this.btnDelete,
																						this.sep4,
																						this.btnSize,
																						this.btnAdd,
																						this.btnConnect,
																						this.sep2,
																						this.btnUndo,
																						this.btnRedo,
																						this.sep3,
																						this.btnZoom,
																						this.sep5,
																						this.btnFront,
																						this.btnBack,
																						this.btnMoveUp,
																						this.btnMoveDown});
			this.toolBar1.Divider = false;
			this.toolBar1.DropDownArrows = true;
			this.toolBar1.ImageList = this.imageList1;
			this.toolBar1.Location = new System.Drawing.Point(0, 0);
			this.toolBar1.Name = "toolBar1";
			this.toolBar1.ShowToolTips = true;
			this.toolBar1.Size = new System.Drawing.Size(696, 26);
			this.toolBar1.TabIndex = 1;
			this.toolBar1.Wrappable = false;
			this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
			// 
			// btnOpen
			// 
			this.btnOpen.ImageIndex = 6;
			this.btnOpen.Tag = "Open";
			this.btnOpen.ToolTipText = "Open";
			// 
			// btnSave
			// 
			this.btnSave.ImageIndex = 5;
			this.btnSave.Tag = "Save";
			this.btnSave.ToolTipText = "Save";
			// 
			// sep1
			// 
			this.sep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
			// 
			// btnCut
			// 
			this.btnCut.ImageIndex = 13;
			this.btnCut.Tag = "Cut";
			this.btnCut.ToolTipText = "Cut";
			// 
			// btnCopy
			// 
			this.btnCopy.ImageIndex = 14;
			this.btnCopy.Tag = "Copy";
			this.btnCopy.ToolTipText = "Copy";
			// 
			// btnPaste
			// 
			this.btnPaste.ImageIndex = 15;
			this.btnPaste.Tag = "Paste";
			this.btnPaste.ToolTipText = "Paste";
			// 
			// btnDelete
			// 
			this.btnDelete.ImageIndex = 2;
			this.btnDelete.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
			this.btnDelete.Tag = "Delete";
			this.btnDelete.ToolTipText = "Delete";
			// 
			// sep4
			// 
			this.sep4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
			// 
			// btnSize
			// 
			this.btnSize.ImageIndex = 0;
			this.btnSize.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
			this.btnSize.Tag = "Size";
			this.btnSize.ToolTipText = "Size";
			// 
			// btnAdd
			// 
			this.btnAdd.DropDownMenu = this.contextMenu1;
			this.btnAdd.ImageIndex = 1;
			this.btnAdd.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
			this.btnAdd.Tag = "Add";
			this.btnAdd.ToolTipText = "Add";
			// 
			// contextMenu1
			// 
			this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						 this.mnuTbRectangle,
																						 this.mnuTbElipse,
																						 this.mnuTbRectangleNode,
																						 this.mnuTbElipseNode,
																						 this.TbCommentBox});
			// 
			// mnuTbRectangle
			// 
			this.mnuTbRectangle.Index = 0;
			this.mnuTbRectangle.Text = "&Rectangle";
			this.mnuTbRectangle.Click += new System.EventHandler(this.mnuTbRectangle_Click);
			// 
			// mnuTbElipse
			// 
			this.mnuTbElipse.Index = 1;
			this.mnuTbElipse.Text = "&Elipse";
			this.mnuTbElipse.Click += new System.EventHandler(this.mnuTbElipse_Click);
			// 
			// mnuTbRectangleNode
			// 
			this.mnuTbRectangleNode.Index = 2;
			this.mnuTbRectangleNode.Text = "&Node Rectangle";
			this.mnuTbRectangleNode.Click += new System.EventHandler(this.mnuTbRectangleNode_Click);
			// 
			// mnuTbElipseNode
			// 
			this.mnuTbElipseNode.Index = 3;
			this.mnuTbElipseNode.Text = "N&ode Elipse";
			this.mnuTbElipseNode.Click += new System.EventHandler(this.mnuTbElipseNode_Click);
			// 
			// TbCommentBox
			// 
			this.TbCommentBox.Index = 4;
			this.TbCommentBox.Text = "Comment Box";
			this.TbCommentBox.Click += new System.EventHandler(this.TbCommentBox_Click);
			// 
			// btnConnect
			// 
			this.btnConnect.DropDownMenu = this.contextMenu2;
			this.btnConnect.ImageIndex = 3;
			this.btnConnect.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
			this.btnConnect.Tag = "Connect";
			this.btnConnect.ToolTipText = "Connect";
			// 
			// contextMenu2
			// 
			this.contextMenu2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						 this.mnuTbStraightLink,
																						 this.mnuTbRightAngleLink});
			// 
			// mnuTbStraightLink
			// 
			this.mnuTbStraightLink.Index = 0;
			this.mnuTbStraightLink.Text = "Straight Link";
			this.mnuTbStraightLink.Click += new System.EventHandler(this.mnuTbStraightLink_Click);
			// 
			// mnuTbRightAngleLink
			// 
			this.mnuTbRightAngleLink.Index = 1;
			this.mnuTbRightAngleLink.Text = "Right Angle Link";
			this.mnuTbRightAngleLink.Click += new System.EventHandler(this.mnuTbRightAngleLink_Click);
			// 
			// sep2
			// 
			this.sep2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
			// 
			// btnUndo
			// 
			this.btnUndo.ImageIndex = 7;
			this.btnUndo.Tag = "Undo";
			this.btnUndo.ToolTipText = "Undo";
			// 
			// btnRedo
			// 
			this.btnRedo.ImageIndex = 8;
			this.btnRedo.Tag = "Redo";
			this.btnRedo.ToolTipText = "Redo";
			// 
			// sep3
			// 
			this.sep3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
			// 
			// btnZoom
			// 
			this.btnZoom.DropDownMenu = this.contextMenu_Zoom;
			this.btnZoom.ImageIndex = 16;
			this.btnZoom.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
			this.btnZoom.Tag = "Zoom";
			// 
			// contextMenu_Zoom
			// 
			this.contextMenu_Zoom.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																							 this.mnuZoom_10,
																							 this.mnuZoom_25,
																							 this.mnuZoom_50,
																							 this.mnuZoom_75,
																							 this.mnuZoom_100,
																							 this.mnuZoom_150,
																							 this.mnuZoom_200});
			// 
			// mnuZoom_10
			// 
			this.mnuZoom_10.Index = 0;
			this.mnuZoom_10.Text = "10%";
			this.mnuZoom_10.Click += new System.EventHandler(this.mnuZoom_10_Click);
			// 
			// mnuZoom_25
			// 
			this.mnuZoom_25.Index = 1;
			this.mnuZoom_25.Text = "25%";
			this.mnuZoom_25.Click += new System.EventHandler(this.mnuZoom_25_Click);
			// 
			// mnuZoom_50
			// 
			this.mnuZoom_50.Index = 2;
			this.mnuZoom_50.Text = "50%";
			this.mnuZoom_50.Click += new System.EventHandler(this.mnuZoom_50_Click);
			// 
			// mnuZoom_75
			// 
			this.mnuZoom_75.Index = 3;
			this.mnuZoom_75.Text = "75%";
			this.mnuZoom_75.Click += new System.EventHandler(this.mnuZoom_75_Click);
			// 
			// mnuZoom_100
			// 
			this.mnuZoom_100.Index = 4;
			this.mnuZoom_100.Text = "100%";
			this.mnuZoom_100.Click += new System.EventHandler(this.mnuZoom_100_Click);
			// 
			// mnuZoom_150
			// 
			this.mnuZoom_150.Index = 5;
			this.mnuZoom_150.Text = "150%";
			this.mnuZoom_150.Click += new System.EventHandler(this.mnuZoom_150_Click);
			// 
			// mnuZoom_200
			// 
			this.mnuZoom_200.Index = 6;
			this.mnuZoom_200.Text = "200%";
			this.mnuZoom_200.Click += new System.EventHandler(this.mnuZoom_200_Click);
			// 
			// sep5
			// 
			this.sep5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
			// 
			// btnFront
			// 
			this.btnFront.ImageIndex = 9;
			this.btnFront.Tag = "Front";
			this.btnFront.ToolTipText = "Bring to Front";
			// 
			// btnBack
			// 
			this.btnBack.ImageIndex = 10;
			this.btnBack.Tag = "Back";
			this.btnBack.ToolTipText = "Send to Back";
			// 
			// btnMoveUp
			// 
			this.btnMoveUp.ImageIndex = 11;
			this.btnMoveUp.Tag = "MoveUp";
			this.btnMoveUp.ToolTipText = "Move Up";
			// 
			// btnMoveDown
			// 
			this.btnMoveDown.ImageIndex = 12;
			this.btnMoveDown.Tag = "MoveDown";
			this.btnMoveDown.ToolTipText = "Move Down";
			// 
			// imageList1
			// 
			this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
			this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
			this.imageList1.TransparentColor = System.Drawing.Color.Silver;
			// 
			// mainMenu1
			// 
			this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					  this.mnuFile,
																					  this.mnuEdit,
																					  this.mnuHelp});
			// 
			// mnuFile
			// 
			this.mnuFile.Index = 0;
			this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					this.mnuOpen,
																					this.mnuSave,
																					this.menuItem26,
																					this.mnuExit});
			this.mnuFile.Text = "&File";
			// 
			// mnuOpen
			// 
			this.mnuOpen.Index = 0;
			this.mnuOpen.Text = "&Open";
			this.mnuOpen.Click += new System.EventHandler(this.mnuOpen_Click);
			// 
			// mnuSave
			// 
			this.mnuSave.Index = 1;
			this.mnuSave.Text = "&Save";
			this.mnuSave.Click += new System.EventHandler(this.mnuSave_Click);
			// 
			// menuItem26
			// 
			this.menuItem26.Index = 2;
			this.menuItem26.Text = "-";
			// 
			// mnuExit
			// 
			this.mnuExit.Index = 3;
			this.mnuExit.Text = "&Exit";
			this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click);
			// 
			// mnuEdit
			// 
			this.mnuEdit.Index = 1;
			this.mnuEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					this.mnuUndo,
																					this.mnuRedo,
																					this.menuItem3,
																					this.mnuCut,
																					this.mnuCopy,
																					this.mnuPaste,
																					this.mnuDelete,
																					this.menuItem11,
																					this.mnuSize,
																					this.mnuAdd,
																					this.mnuConnect,
																					this.menuItem20,
																					this.mnuOrder});
			this.mnuEdit.Text = "&Edit";
			// 
			// mnuUndo
			// 
			this.mnuUndo.Index = 0;
			this.mnuUndo.Text = "&Undo";
			this.mnuUndo.Click += new System.EventHandler(this.mnuUndo_Click);
			// 
			// mnuRedo
			// 
			this.mnuRedo.Index = 1;
			this.mnuRedo.Text = "&Redo";
			this.mnuRedo.Click += new System.EventHandler(this.mnuRedo_Click);
			// 
			// menuItem3
			// 
			this.menuItem3.Index = 2;
			this.menuItem3.Text = "-";
			// 
			// mnuCut
			// 
			this.mnuCut.Index = 3;
			this.mnuCut.Text = "Cu&t";
			this.mnuCut.Click += new System.EventHandler(this.mnuCut_Click);
			// 
			// mnuCopy
			// 
			this.mnuCopy.Index = 4;
			this.mnuCopy.Text = "Cop&y";
			this.mnuCopy.Click += new System.EventHandler(this.mnuCopy_Click);
			// 
			// mnuPaste
			// 
			this.mnuPaste.Index = 5;
			this.mnuPaste.Text = "Paste";
			this.mnuPaste.Click += new System.EventHandler(this.mnuPaste_Click);
			// 
			// mnuDelete
			// 
			this.mnuDelete.Index = 6;
			this.mnuDelete.Text = "&Delete";
			this.mnuDelete.Click += new System.EventHandler(this.mnuDelete_Click);
			// 
			// menuItem11
			// 
			this.menuItem11.Index = 7;
			this.menuItem11.Text = "-";
			// 
			// mnuSize
			// 
			this.mnuSize.Index = 8;
			this.mnuSize.Text = "&Size";
			this.mnuSize.Click += new System.EventHandler(this.mnuSize_Click);
			// 
			// mnuAdd
			// 
			this.mnuAdd.Index = 9;
			this.mnuAdd.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																				   this.mnuRectangle,
																				   this.mnuElipse,
																				   this.mnuRectangleNode,
																				   this.mnuElipseNode});
			this.mnuAdd.Text = "&Add";
			// 
			// mnuRectangle
			// 
			this.mnuRectangle.Index = 0;
			this.mnuRectangle.Text = "&Rectangle";
			this.mnuRectangle.Click += new System.EventHandler(this.mnuRectangle_Click);
			// 
			// mnuElipse
			// 
			this.mnuElipse.Index = 1;
			this.mnuElipse.Text = "&Elipse";
			this.mnuElipse.Click += new System.EventHandler(this.mnuElipse_Click);
			// 
			// mnuRectangleNode
			// 
			this.mnuRectangleNode.Index = 2;
			this.mnuRectangleNode.Text = "&Node Rectangle";
			this.mnuRectangleNode.Click += new System.EventHandler(this.mnuRectangleNode_Click);
			// 
			// mnuElipseNode
			// 
			this.mnuElipseNode.Index = 3;
			this.mnuElipseNode.Text = "N&ode Elipse";
			this.mnuElipseNode.Click += new System.EventHandler(this.mnuElipseNode_Click);
			// 
			// mnuConnect
			// 
			this.mnuConnect.Index = 10;
			this.mnuConnect.Text = "&Connect";
			this.mnuConnect.Click += new System.EventHandler(this.mnuConnect_Click);
			// 
			// menuItem20
			// 
			this.menuItem20.Index = 11;
			this.menuItem20.Text = "-";
			// 
			// mnuOrder
			// 
			this.mnuOrder.Index = 12;
			this.mnuOrder.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					 this.mnuBringToFront,
																					 this.mnuSendToBack,
																					 this.mnuMoveUp,
																					 this.mnuMoveDown});
			this.mnuOrder.Text = "&Order";
			// 
			// mnuBringToFront
			// 
			this.mnuBringToFront.Index = 0;
			this.mnuBringToFront.Text = "&Bring to Front";
			this.mnuBringToFront.Click += new System.EventHandler(this.mnuBringToFront_Click);
			// 
			// mnuSendToBack
			// 
			this.mnuSendToBack.Index = 1;
			this.mnuSendToBack.Text = "Send to &Back";
			this.mnuSendToBack.Click += new System.EventHandler(this.mnuSendToBack_Click);
			// 
			// mnuMoveUp
			// 
			this.mnuMoveUp.Index = 2;
			this.mnuMoveUp.Text = "Move &Up";
			this.mnuMoveUp.Click += new System.EventHandler(this.mnuMoveUp_Click);
			// 
			// mnuMoveDown
			// 
			this.mnuMoveDown.Index = 3;
			this.mnuMoveDown.Text = "Move &Down";
			this.mnuMoveDown.Click += new System.EventHandler(this.mnuMoveDown_Click);
			// 
			// mnuHelp
			// 
			this.mnuHelp.Index = 2;
			this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					this.mnuShowDebugLog,
																					this.menuItem1,
																					this.mnuAbout});
			this.mnuHelp.Text = "&Help";
			// 
			// mnuShowDebugLog
			// 
			this.mnuShowDebugLog.Index = 0;
			this.mnuShowDebugLog.Text = "&Show Debug Log...";
			this.mnuShowDebugLog.Click += new System.EventHandler(this.mnuShowDebugLog_Click);
			// 
			// menuItem1
			// 
			this.menuItem1.Index = 1;
			this.menuItem1.Text = "-";
			// 
			// mnuAbout
			// 
			this.mnuAbout.Index = 2;
			this.mnuAbout.Text = "&About...";
			this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click);
			// 
			// panel1
			// 
			this.panel1.Controls.Add(this.designer1);
			this.panel1.Controls.Add(this.splitter2);
			this.panel1.Controls.Add(this.txtLog);
			this.panel1.Controls.Add(this.splitter1);
			this.panel1.Controls.Add(this.propertyGrid1);
			this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.panel1.Location = new System.Drawing.Point(0, 26);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(696, 359);
			this.panel1.TabIndex = 2;
			// 
			// designer1
			// 
			this.designer1.AutoScroll = true;
			this.designer1.AutoScrollMinSize = new System.Drawing.Size(100, 100);
			this.designer1.BackColor = System.Drawing.SystemColors.Window;
			this.designer1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.designer1.Location = new System.Drawing.Point(0, 0);
			this.designer1.Name = "designer1";
			this.designer1.Size = new System.Drawing.Size(468, 252);
			this.designer1.TabIndex = 6;
			this.designer1.ElementMoving += new Dalssoft.DiagramNet.Designer.ElementEventHandler(this.designer1_ElementMoving);
			this.designer1.ElementMouseUp += new Dalssoft.DiagramNet.Designer.ElementMouseEventHandler(this.designer1_ElementMouseUp);
			this.designer1.ElementResizing += new Dalssoft.DiagramNet.Designer.ElementEventHandler(this.designer1_ElementResizing);
			this.designer1.ElementMoved += new Dalssoft.DiagramNet.Designer.ElementEventHandler(this.designer1_ElementMoved);
			this.designer1.ElementConnected += new Dalssoft.DiagramNet.Designer.ElementConnectEventHandler(this.designer1_ElementConnected);
			this.designer1.ElementConnecting += new Dalssoft.DiagramNet.Designer.ElementConnectEventHandler(this.designer1_ElementConnecting);
			this.designer1.ElementSelection += new Dalssoft.DiagramNet.Designer.ElementSelectionEventHandler(this.designer1_ElementSelection);
			this.designer1.ElementMouseDown += new Dalssoft.DiagramNet.Designer.ElementMouseEventHandler(this.designer1_ElementMouseDown);
			this.designer1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.designer1_MouseUp);
			this.designer1.ElementClick += new Dalssoft.DiagramNet.Designer.ElementEventHandler(this.designer1_ElementClick);
			this.designer1.ElementResized += new Dalssoft.DiagramNet.Designer.ElementEventHandler(this.designer1_ElementResized);
			// 
			// splitter2
			// 
			this.splitter2.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.splitter2.Location = new System.Drawing.Point(0, 252);
			this.splitter2.Name = "splitter2";
			this.splitter2.Size = new System.Drawing.Size(468, 3);
			this.splitter2.TabIndex = 5;
			this.splitter2.TabStop = false;
			// 
			// txtLog
			// 
			this.txtLog.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.txtLog.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.txtLog.Location = new System.Drawing.Point(0, 255);
			this.txtLog.Multiline = true;
			this.txtLog.Name = "txtLog";
			this.txtLog.ReadOnly = true;
			this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
			this.txtLog.Size = new System.Drawing.Size(468, 104);
			this.txtLog.TabIndex = 4;
			this.txtLog.Text = "Log:";
			this.txtLog.Visible = false;
			// 
			// splitter1
			// 
			this.splitter1.Dock = System.Windows.Forms.DockStyle.Right;
			this.splitter1.Location = new System.Drawing.Point(468, 0);
			this.splitter1.Name = "splitter1";
			this.splitter1.Size = new System.Drawing.Size(4, 359);
			this.splitter1.TabIndex = 1;
			this.splitter1.TabStop = false;
			// 
			// propertyGrid1
			// 
			this.propertyGrid1.CommandsVisibleIfAvailable = true;
			this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Right;
			this.propertyGrid1.LargeButtons = false;
			this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar;
			this.propertyGrid1.Location = new System.Drawing.Point(472, 0);
			this.propertyGrid1.Name = "propertyGrid1";
			this.propertyGrid1.Size = new System.Drawing.Size(224, 359);
			this.propertyGrid1.TabIndex = 0;
			this.propertyGrid1.Text = "propertyGrid1";
			this.propertyGrid1.ViewBackColor = System.Drawing.SystemColors.Window;
			this.propertyGrid1.ViewForeColor = System.Drawing.SystemColors.WindowText;
			// 
			// openFileDialog1
			// 
			this.openFileDialog1.DefaultExt = "*.dgn";
			this.openFileDialog1.RestoreDirectory = true;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(696, 385);
			this.Controls.Add(this.panel1);
			this.Controls.Add(this.toolBar1);
			this.Menu = this.mainMenu1;
			this.Name = "Form1";
			this.Text = "Diagram.NET Test Form";
			this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
			this.Load += new System.EventHandler(this.Form1_Load);
			this.panel1.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Beispiel #2
0
 public Document(Designer Designer)
 {
     designer = Designer;
 }