Пример #1
0
        public DrawStringResult SavePoint()
        {
            DrawStringResult result = new DrawStringResult();

            result.color   = this.textBox.ForeColor;
            result.font    = this.textBox.Font;
            result.Content = this.textBox.Text;
            return(result);
        }
Пример #2
0
 public InputForm(DrawStringResult result)
 {
     InitializeComponent();
     this.colorCbx.Text     = "";
     this.textBox.ForeColor = result.color;
     this.fontCbx.Text      = "";
     this.textBox.Font      = result.font;
     this.textBox.Text      = result.Content;
 }