示例#1
0
 public Step1()
 {
     InitializeComponent();
     InitializeExcelFilesGrid();
     InitializeHandlers();
     setSelectionTypeVisibility();
     loadDefaultRepository(UserPreferencesUtil.GetMultipleFileUploadRepository());
 }
        private void OkButton_Click(object sender, RoutedEventArgs e)
        {
            string current = UserPreferencesUtil.GetMultipleFileUploadRepository();

            if (!UserPreferencesUtil.SetMultipleFileUploadRepository(this.folderField.Text))
            {
                MessageDisplayer.DisplayWarning("Upload Multiple File Repository", "Attempt to save an empty repository!");
                setFolderName(UserPreferencesUtil.GetMultipleFileUploadRepository());
            }
            else
            {
                this.Close();
            }
        }
 public PropertiesDialog()
 {
     InitializeComponent();
     setFolderName(UserPreferencesUtil.GetMultipleFileUploadRepository());
 }