Example #1
0
		private void EhShowCustomPenDialog(object sender, EventArgs e)
		{
			PenAllPropertiesController ctrler = new PenAllPropertiesController(this.Pen);
			ctrler.ShowPlotColorsOnly = this._showPlotColorsOnly;
			ctrler.ViewObject = new PenAllPropertiesControl();
			if (Current.Gui.ShowDialog(ctrler, "Edit pen properties"))
			{
				this.Pen = (PenX3D)ctrler.ModelObject;
			}
		}
		public void EhView_ShowFullPenDialog()
		{
			var ctrl = new PenAllPropertiesController(_tempDoc);
			Current.Gui.ShowDialog(ctrl, "Pen properties");
			if (null != _view)
				_view.DocPen = _tempDoc;
		}