コード例 #1
0
 private void btnConnect_Click(object sender, EventArgs e)
 {
     try
     {
         this._tcpSetting.IpAddress = txtAdress.Text;
         this._tcpSetting.Port      = Convert.ToInt32(txtPort.Text);
         this._dmmControl           = new DMM6500Control(this._tcpSetting);
         lblStatus.Text             = "Connected";
         SetDMM.Invoke(this._dmmControl);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
コード例 #2
0
 public void SetDMM(DMM6500Control dmm)
 {
     this._dmmControl = dmm;
 }