瀏覽代碼

订单数量修改

样式分支
pry 2 年之前
父節點
當前提交
12254f2c26
共有 2 個文件被更改,包括 7 次插入1 次删除
  1. +1
    -1
      BPASmartClient.ViewModel/MainViewModel.cs
  2. +6
    -0
      BPASmartClient/MainWindow.xaml

+ 1
- 1
BPASmartClient.ViewModel/MainViewModel.cs 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存