public frmConfiguration(string scriptNamePath) { this.configGuiCtrl = new ObjectInterface(); this.currentDir = ConfigurationManager.AppSettings["InstalledDirectory"] + @"\scripts"; this.InitializeComponent(); this.configFilePathVal.Text = scriptNamePath.Replace(".py", ".cfg"); }
public frmGPIBCtrl(int boardID, byte primaryAddress, byte secondaryAddress) { this.cpGuiCtrl = new ObjectInterface(); try { this._GPIBCtrl = new GPIB_Mgr_Agilent_HP8648C(boardID, primaryAddress, secondaryAddress); this.InitializeComponent(); } catch (Exception exception) { MessageBox.Show(exception.Message, "ERROR!"); } }
public frmGPIBCtrl() { this.cpGuiCtrl = new ObjectInterface(); try { this._GPIBCtrl = new GPIB_Mgr_Agilent_HP8648C(); this.InitializeComponent(); } catch (Exception exception) { MessageBox.Show(exception.Message, "ERROR!"); } }
public frmConfiguration() { this.configGuiCtrl = new ObjectInterface(); this.currentDir = ConfigurationManager.AppSettings["InstalledDirectory"] + @"\scripts"; this.InitializeComponent(); }
public frmSPAzCtrl(int address) { this.cpGuiCtrl = new ObjectInterface(); this._SPAzMgr = new SPAzMgr(address); this.InitializeComponent(); }
public frmSPAzCtrl() { this.cpGuiCtrl = new ObjectInterface(); this._SPAzMgr = new SPAzMgr(0x378); this.InitializeComponent(); }