Example #1
0
        public void ShowTextEditor()
        {
            if (!(shapes[intCurIndex] is ShapeText))
            {
                return;
            }
            FormTextProperties frm = new FormTextProperties((ShapeText)shapes[intCurIndex]);

            frm.ShowDialog();
            if (frm.txtChanged || frm.fontChanged)
            {
                refControl.Invalidate(shapes[intCurIndex].InvalidationArea);
            }
        }
Example #2
0
 public void ShowTextEditor()
 {
     if (!(shapes[intCurIndex] is ShapeText)) return;
     FormTextProperties frm = new FormTextProperties((ShapeText)shapes[intCurIndex]);
     frm.ShowDialog();
     if (frm.txtChanged || frm.fontChanged)
         refControl.Invalidate(shapes[intCurIndex].InvalidationArea);
 }