private void UpdateOutput(object sender, EventArgs e) { if (txtContent.Text == "") { txtOutput.Text = "\"" + txtCaption.Text + "\""; } else { txtOutput.Text = "\"" + txtCaption.Text + "~" + TextOps.ToggleLineReturn(txtContent.Text) + "\""; } }
public FormTemplate() { // Setup default properties Name = TextOps.QuoteWrap("New Template"); Signature = TextOps.QuoteWrap("MedcinForm-v1.1"); Environment = TextOps.QuoteWrap("AHLTA"); Author = TextOps.QuoteWrap("Anonymous"); Width = 1000; Height = 1000; TabCount = 1; TabNames = "Tab 1"; Options1 = ""; Options2 = ""; }