コード例 #1
0
        /// <summary>
        /// Import csv file
        /// </summary>
        /// <param name="csvFilePath">path to the csv file</param>
        public void Import(string csvFilePath)
        {
            ImportButton.Click();
            var openDlg = On <TiOpenFileDialog, TcOpenFileDialogFlux>();

            openDlg.SetFilename(csvFilePath);
        }
コード例 #2
0
        /// <summary>
        /// Import (tools, deduction values, ...)
        /// </summary>
        /// <param name="filename"></param>
        public void Import(string filename)
        {
            ImportButton.Click();
            var openDlg = On <TiOpenFileDialog, TcOpenFileDialogDatamanager>();

            openDlg.SetFilename(filename);
        }
コード例 #3
0
        internal void Click_to_button(ButtonType _buttonName)
        {
            switch (_buttonName.ToString())
            {
            case "Export":
                ExportButton.Click();
                break;

            case "Import":
                ImportButton.Click();
                break;

            case "Cancel":
                CancelButton.Click();
                break;
            }
        }