Esempio n. 1
0
 private void showLayoutWindowToolStripMenuItem_Click(object sender, EventArgs e)
 {
     // ToDo: Show layout dialog
     Dataweb.NShape.WinFormsUI.LayoutDialog layoutWindow;
     if (layouter != null)
     {
         layoutWindow = new Dataweb.NShape.WinFormsUI.LayoutDialog(layouter);
     }
     else
     {
         layoutWindow = new Dataweb.NShape.WinFormsUI.LayoutDialog();
     }
     layoutWindow.Project = project;
     layoutWindow.Diagram = display.Diagram;
     layoutWindow.Show(this);
 }
Esempio n. 2
0
		private void showLayoutWindowToolStripMenuItem_Click(object sender, EventArgs e) {
			// ToDo: Show layout dialog
			Dataweb.NShape.WinFormsUI.LayoutDialog layoutWindow;
			if (layouter != null)
				layoutWindow = new Dataweb.NShape.WinFormsUI.LayoutDialog(layouter);
			else layoutWindow = new Dataweb.NShape.WinFormsUI.LayoutDialog();
			layoutWindow.Project = project;
			layoutWindow.Diagram = display.Diagram;
			layoutWindow.Show(this);
		}