nateshoffner

child

Oct 20th, 2013
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.41 KB | None | 0 0
  1. #region
  2.  
  3. using System;
  4. using System.Windows.Forms;
  5.  
  6. #endregion
  7.  
  8. namespace Test
  9. {
  10.     public partial class ChildDialog : Form
  11.     {
  12.         public ChildDialog ()
  13.         {
  14.             InitializeComponent();
  15.         }
  16.  
  17.         public string TextInput{ get; private set; }
  18.  
  19.         private void okbtn_Click(object sender, EventArgs e)
  20.         {
  21.             TextInput = txtBox.Text;
  22.         }
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment