Exemplo n.º 1
0
        public void EhView_ShowFullPenDialog()
        {
            PenAllPropertiesControl ctrl = new PenAllPropertiesControl();

            ctrl.Pen = _tempDoc;
            Current.Gui.ShowDialog(ctrl, "Pen properties");
        }
Exemplo n.º 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;
            }
        }
Exemplo n.º 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;
   }
 }