public Form1() { InitializeComponent(); wallDict = new Dictionary <string, UploadThread>(); wallDictKeysCopy = new BindingList <string>(); listBoxRunning.DataSource = wallDictKeysCopy; myAddLogItemDelegate = new AddLogItem(makeLog); this.Height = 650; this.Width = 920; this.Show(); loadSavedInfo(); }
public SkyTalkServerMainForm() { InitializeComponent(); hostNameTextBox.Text = Dns.GetHostName(); ipHost = Dns.GetHostEntry(Dns.GetHostName()); //ipAddr = ipHost.AddressList[0]; for (int i = 0; i < ipHost.AddressList.Length; i++) { ipAdressComboBox.Items.Add(ipHost.AddressList[i].ToString()); } addLogDelegate = new AddLogItem(updatelog); commandThread = new Thread(ControlCommandsFlow); userslist = new List <UserTreadSettingsClass>(); }