parent
a849587c66
commit
06faad7524
|
|
@ -253,8 +253,7 @@ namespace Hopetry.Services
|
|||
Console.WriteLine("mybucket does not exist");
|
||||
}
|
||||
}
|
||||
|
||||
// todo 下载
|
||||
|
||||
public async Task DownLoadObject(string bucketName, string objectKey, string localDir, string objectETag)
|
||||
{
|
||||
var index = objectKey.LastIndexOf("/", StringComparison.Ordinal);
|
||||
|
|
|
|||
|
|
@ -102,11 +102,13 @@
|
|||
|
||||
</h:Row>
|
||||
<h:Row>
|
||||
<ComboBox Width="250" h:Cattach.Title="同时下载任务数"
|
||||
<ComboBox Width="250" h:Cattach.Title="同时下载"
|
||||
HorizontalAlignment="Left"
|
||||
Style="{DynamicResource {x:Static h:ComboBoxKeys.Label}}"
|
||||
SelectedValue="{Binding TaskCount, Mode=TwoWay}">
|
||||
<h:Interaction.Triggers>
|
||||
<h:EventTrigger EventName="SelectionChanged">
|
||||
<h:InvokeCommandAction Command="{Binding ComboBox_SelectionChanged}"/>
|
||||
<h:InvokeCommandAction Command="{Binding ComboBox_SelectionChanged}" />
|
||||
</h:EventTrigger>
|
||||
</h:Interaction.Triggers>
|
||||
<system:Int32>1</system:Int32>
|
||||
|
|
@ -118,7 +120,8 @@
|
|||
</h:Row>
|
||||
<h:Row>
|
||||
<Button Margin="0 5 0 5" Content="立即同步一次" HorizontalAlignment="Left" Width="150"
|
||||
Style="{DynamicResource {x:Static h:ButtonKeys.Accent}}" Command="{Binding SyncData}" />
|
||||
Style="{DynamicResource {x:Static h:ButtonKeys.Accent}}"
|
||||
Command="{Binding SyncData}" />
|
||||
</h:Row>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
|
|
|
|||
Loading…
Reference in New Issue