private void button_duaStart_Click(object sender, EventArgs e) { try { serverHost.BaseAddress = new Uri(tb_baseAddress.Text); } catch (Exception ex) { MessageBox.Show(ex.Message); return; } serverHost.OpenBaseHost(); }