public DrawStringResult SavePoint() { DrawStringResult result = new DrawStringResult(); result.color = this.textBox.ForeColor; result.font = this.textBox.Font; result.Content = this.textBox.Text; return(result); }
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; }