Browse Source

订单数量修改

样式分支
pry 2 years ago
parent
commit
12254f2c26
2 changed files with 7 additions and 1 deletions
  1. +1
    -1
      BPASmartClient.ViewModel/MainViewModel.cs
  2. +6
    -0
      BPASmartClient/MainWindow.xaml

+ 1
- 1
BPASmartClient.ViewModel/MainViewModel.cs View File

@@ -77,9 +77,9 @@ namespace BPASmartClient.ViewModel
dispatcherTimer.Start();



}

public int CurrentOrderCount { get { return Json<KeepDataBase>.Data.orderLists.Count; } set { OnPropertyChanged(); } }

public bool AutoStart { get { return SystemHelper.GetInstance.IsAutoStart(); } set { SystemHelper.GetInstance.AutoStart(value); OnPropertyChanged(); } }



+ 6
- 0
BPASmartClient/MainWindow.xaml View File

@@ -276,6 +276,12 @@
</TextBlock>

<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">

<TextBlock FontSize="16" Text="当前订单量:" />
<TextBlock
Margin="0,0,5,0"
FontSize="16"
Text="{Binding CurrentOrderCount}" />
<Button
Name="login"
Grid.Row="0"


Loading…
Cancel
Save