From b2df76664ebe22d90326740d90f427f5c1d61b3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=C2=B7=C3=A6?= <279202647@qq.com> Date: Wed, 21 Apr 2021 22:07:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E9=87=87=E9=9B=86=E5=92=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JdShopListener/MainWindowViewModel.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/JdShopListener/JdShopListener/MainWindowViewModel.cs b/JdShopListener/JdShopListener/MainWindowViewModel.cs index 656c75a..878dbc7 100644 --- a/JdShopListener/JdShopListener/MainWindowViewModel.cs +++ b/JdShopListener/JdShopListener/MainWindowViewModel.cs @@ -216,6 +216,13 @@ namespace JdShopListener /// public void Add() { + + if (IsStart !=false) + { + MessageBox.Show("采集中不可操作!"); + return; + } + if (IsAdd) return; @@ -362,6 +369,12 @@ namespace JdShopListener /// public void Start() { + if (IsAdd) + { + MessageBox.Show("请等待添加完成之后操作!"); + return; + } + if (IsStart==false) { IsStart = true;