Exemplo n.º 1
0
		private void propertiesToolStripMenuItem_Click(object sender, EventArgs e) {
			ShapePropertiesDialog d = new ShapePropertiesDialog();
			d.propertyController.Project = project;
			if (display.SelectedShapes.Count == 0)
				d.propertyController.SetObject(0, display.Diagram);
			else d.propertyController.SetObjects(0, display.SelectedShapes);
			d.Show();
		}
Exemplo n.º 2
0
        private void propertiesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ShapePropertiesDialog d = new ShapePropertiesDialog();

            d.propertyController.Project = project;
            if (display.SelectedShapes.Count == 0)
            {
                d.propertyController.SetObject(0, display.Diagram);
            }
            else
            {
                d.propertyController.SetObjects(0, display.SelectedShapes);
            }
            d.Show(this);
        }