public MainDialog()
 {
     InitializeComponent();
     cboLevel.SelectedIndex = 1; // INFO
     requestBuilder = new RequestBuilder(txtUsername.Text, txtPassword.Text);
     requestSender = new RequestSender(txtIp.Text, Int32.Parse(txtPort.Text));
 }
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     requestBuilder = new RequestBuilder(txtUsername.Text, txtPassword.Text);
     requestSender = new RequestSender(txtIp.Text, Int32.Parse(txtPort.Text));
 }