C# Class SunSync.SyncSettingPage

Interaction logic for SyncSettingPage.xaml
Inheritance: System.Windows.Controls.Page
Datei anzeigen Open project: qiniu/QSunSync Class Usage Examples

Public Methods

Method Description
LoadSyncSetting ( SyncSetting syncSetting ) : void

load sync settings, this method is called before the page loaded method

SyncSettingPage ( MainWindow mainWindow ) : System

Private Methods

Method Description
BackToHome_EventHandler ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

back to home event handler

BrowseFolderButton_EventHandler ( object sender, RoutedEventArgs e ) : void

browse the local folder to sync

CheckSyncSettings ( ) : bool

检查基本设置

ChunkDefaultSizeSelectChanged_EventHandler ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
ChunkUploadThresholdChange_EventHandler ( object sender, RoutedPropertyChangedEventArgs e ) : void
ReloadBucketButton_EventHandler ( object sender, RoutedEventArgs e ) : void

reload buckets

StartSyncButton_EventHandler ( object sender, RoutedEventArgs e ) : void
SyncSettingPageLoaded_EventHandler ( object sender, RoutedEventArgs e ) : void

sync setting page loaded event handler 更新 2016-10-20 15:51

SyncTargetBucketsComboBox_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

如果是从历史纪录载入并且未更改Bucket,则EntryDomain等设置保持不变 否则(新建任务,或者载入记录但又更改了Bucket),则会根据用户AK&Bucket试图查找合适的上传入口

ThreadCountChange_EventHandler ( object sender, RoutedPropertyChangedEventArgs e ) : void
ValidateAccount ( ) : bool

使用stat模拟操作来检查Account是否正确

initUIDefaults ( ) : void

init the ui values according to the syncSetting parameter

initUIGroupValues ( ) : void

init the default ui group values

reloadBuckets ( ) : void

Method Details

LoadSyncSetting() public method

load sync settings, this method is called before the page loaded method
public LoadSyncSetting ( SyncSetting syncSetting ) : void
syncSetting SunSync.Models.SyncSetting
return void

SyncSettingPage() public method

public SyncSettingPage ( MainWindow mainWindow ) : System
mainWindow MainWindow
return System