Example #1
0
        public void EhView_ShowFullPenDialog()
        {
            PenAllPropertiesControl ctrl = new PenAllPropertiesControl();

            ctrl.Pen = _tempDoc;
            Current.Gui.ShowDialog(ctrl, "Pen properties");
        }
Example #2
0
        void EhShowCustomPenDialog(object sender, EventArgs e)
        {
            PenAllPropertiesControl ctrl = new PenAllPropertiesControl();

            ctrl.Pen = (PenX)this.Pen.Clone();
            if (Current.Gui.ShowDialog(ctrl, "Pen properties"))
            {
                this.Pen = ctrl.Pen;
            }
        }
Example #3
0
 void EhShowCustomPenDialog(object sender, EventArgs e)
 {
   PenAllPropertiesControl ctrl = new PenAllPropertiesControl();
   ctrl.Pen = (PenX)this.Pen.Clone();
   if (Current.Gui.ShowDialog(ctrl, "Pen properties"))
   {
     this.Pen = ctrl.Pen;
   }
 }