private void btnActivator_Click(object sender, EventArgs e) { txtTestResult.Text = string.Empty; this.btn_Activator.Image = global::TestServicePerformance.Properties.Resources.Ball__Red_; if (!ValidateInit()) { return; } _RemotingWrapper = new RemotingWrapper(); try { _RemotingWrapper.Init(txtURL.Text); this.btn_Activator.Image = global::TestServicePerformance.Properties.Resources.Ball__Green_; tabControl2.TabIndex = 0; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void btnPing_Click(object sender, EventArgs e) { this.btnPing.Image = global::TestServicePerformance.Properties.Resources.Ball__Red_; if (!ValidateInit()) { return; } _RemotingWrapper = new RemotingWrapper(); try { _RemotingWrapper.Init(txtURL.Text); dataGridView1.DataSource = null; dataGridView1.Refresh(); dataGridView1.DataSource = _RemotingWrapper.RemoteObj.GetServicesList(string.Empty); this.btnPing.Image = global::TestServicePerformance.Properties.Resources.Ball__Green_; tabControl2.TabIndex = 0; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void btnPing_Click(object sender, EventArgs e) { this.btnPing.Image = global::TestServicePerformance.Properties.Resources.Ball__Red_; if (!ValidateInit()) return; _RemotingWrapper = new RemotingWrapper(); try { _RemotingWrapper.Init(txtURL.Text); dataGridView1.DataSource = null; dataGridView1.Refresh(); dataGridView1.DataSource = _RemotingWrapper.RemoteObj.GetServicesList(string.Empty); this.btnPing.Image = global::TestServicePerformance.Properties.Resources.Ball__Green_; tabControl2.TabIndex = 0; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void btnActivator_Click(object sender, EventArgs e) { txtTestResult.Text = string.Empty; this.btn_Activator.Image = global::TestServicePerformance.Properties.Resources.Ball__Red_; if (!ValidateInit()) return; _RemotingWrapper = new RemotingWrapper(); try { _RemotingWrapper.Init(txtURL.Text); this.btn_Activator.Image = global::TestServicePerformance.Properties.Resources.Ball__Green_; tabControl2.TabIndex = 0; } catch (Exception ex) { MessageBox.Show(ex.Message); } }