private void btnGotRange_Click(object sender, EventArgs e) { //have the reference. need to xfer it back through... var newTestForm = new TestForm(); newTestForm.txtRangeSelect.Text = this.txtRange.Text; this.Close(); newTestForm.ShowDialog(); }
public void btnRefEdit_Click(IRibbonControl e) { TestForm tf = new TestForm(); tf.ShowDialog(); }