示例#1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void MainForm_Load(object sender, EventArgs e)
        {
            if (_appconfig == null)
            {
                _appconfig = new PyTestSetting();
            }
            textBoxInterpreter.Text = _appconfig.pythoninterpreterpath;
            textBoxScriptPath.Text  = _appconfig.pythonscriptpath;
            textBoxNumParams.Text   = _numParameters.ToString();
            textBoxStdOut.MaxLength = Constants.TEXT_BOX_MAX_STRS;

            initDataGridView();
        }
示例#2
0
 public PyCall(PyTestSetting setting)
 {
     _setting = new PyTestSetting();
     _setting = setting;
 }