淘宝买手拍单30%
This commit is contained in:
1 parent
080fc7e4c4
commit
f27ddca730
13 files changed
+378
-184
No files matched your search
@@ -8,13 +8,13 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:wpf="WPFCommon"
|
||||
x:Name="baiduGetWaybillInfoView"
|
||||
Width="1280"
|
||||
Height="800"
|
||||
Width="1200"
|
||||
Height="600"
|
||||
MinWidth="800"
|
||||
MinHeight="600"
|
||||
comn:DialogWindowProperty.ResizeMode="CanResizeWithGrip"
|
||||
comn:DialogWindowProperty.ShowMinButton="False"
|
||||
comn:DialogWindowProperty.Width="1300"
|
||||
comn:DialogWindowProperty.Width="1200"
|
||||
Loaded="BaiduGetWaybillInfoView_Loaded"
|
||||
mc:Ignorable="d">
|
||||
<UserControl.Resources>
|
||||
@@ -22,13 +22,13 @@
|
||||
</UserControl.Resources>
|
||||
<Grid Background="White">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="28" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid Height="80" VerticalAlignment="Center">
|
||||
|
||||
<Grid Height="420" VerticalAlignment="Center">
|
||||
<Image
|
||||
x:Name="imgLoading"
|
||||
Width="20"
|
||||
@@ -60,13 +60,23 @@
|
||||
<TextBlock
|
||||
Margin="50,0"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="18"
|
||||
Text="{Binding LatestWaybillStr}"
|
||||
TextWrapping="Wrap" />
|
||||
</Grid>
|
||||
|
||||
<GridSplitter
|
||||
Grid.Row="1"
|
||||
Height="5"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
Background="#d0d0d0"
|
||||
ResizeBehavior="PreviousAndNext"
|
||||
ShowsPreview="True" />
|
||||
|
||||
<!-- 地址栏 -->
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Grid.Row="2"
|
||||
Background="White"
|
||||
BorderBrush="#E0E0E0"
|
||||
BorderThickness="0,0,0,1">
|
||||
@@ -81,7 +91,7 @@
|
||||
</Border>
|
||||
|
||||
<!-- 主区域:浏览器 + 右侧面板 -->
|
||||
<Grid Grid.Row="2">
|
||||
<Grid Grid.Row="3">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
@@ -31,9 +31,15 @@ namespace _29WxOrderWpf.Views
|
||||
private void TaobaoLoginView_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ViewModel.Start();
|
||||
|
||||
Window parentWindow = Window.GetWindow(this);
|
||||
if (this.IsLoaded && parentWindow != null)
|
||||
{
|
||||
parentWindow.Closed += TaobaoLoginView_ParentWindow_Closed;
|
||||
}
|
||||
}
|
||||
|
||||
private void TaobaoLoginView_Closed(object sender, System.EventArgs e)
|
||||
private void TaobaoLoginView_ParentWindow_Closed(object sender, System.EventArgs e)
|
||||
{
|
||||
ViewModel.Stop();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user