/// <summary> /// What to do on load /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Remora_Load(object sender, EventArgs e) { if (!this.DesignMode) { // set output RemoraOutput.SetTextBox(this.RemoraTextBox); RemoraOutput.RemoraMain = this; // comms RemoraCommon.Communicator = new Communicator(this); RemoraCommon.Communicator.BeginCommunications(); // update! updateThread = new Thread(UpdateThread); updateThread.IsBackground = true; updateThread.Priority = ThreadPriority.Normal; updateThread.Start(); // client this.clientHandler = new ClientHandler(); // event for machine name updates RemoraCommon.Communicator.ManchineNameUpdate += new Communicator.MachineEventHandler(Communicator_ManchineNameUpdate); } }