/// <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); }
/// <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); }
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; } }