public MainForm(NTRRemoteConnection NTRConnection)
{
InitializeComponent();
this.NTRConnection = NTRConnection;
this.ThreadEventDispatcher = new MainFormThreadEventDispatcher(this);
this.EventDispatcherThread = new Thread(new ThreadStart(this.ThreadEventDispatcher.ThreadEventDispatcher));
this.EventDispatcherThread.Name = "EventDispatcherThread";
this.EventDispatcherThread.Start();
this.ThreadButtonState = new MainFormThreadButtonState(this);
this.ButtonStateThread = new Thread(new ThreadStart(this.ThreadButtonState.ThreadButtonState));
this.ButtonStateThread.Name = "ButtonStateThread";
this.ButtonStateThread.Start();
this.IP.Text = Config.DefaultIP;
LockValuesStopwatch.Start();
}