Esempio n. 1
0
 void editShapeButton_Click(object sender, EventArgs e)
 {
     if (this.radButton1.RootElement.Children[0].Shape is CustomShape)
     {
         CustomShapeEditorForm editor = new CustomShapeEditorForm();
         this.radButton1.RootElement.Children[0].Shape = editor.EditShape(this.radButton1.RootElement.Children[0].Shape as CustomShape);
     }
 }
Esempio n. 2
0
 private void radButtonEditShape_Click(object sender, EventArgs e)
 {
     if (this.radDropDownListShapes.SelectedIndex == 0)
     {
         CustomShapeEditorForm editor = new CustomShapeEditorForm();
         this.customShape = editor.EditShape(this.customShape);
         this.ApplyShapeToPoints(this.customShape);
     }
 }