Browse Source

加入采集和添加限制

master
С·æ 4 years ago
parent
commit
b2df76664e
  1. 13
      JdShopListener/JdShopListener/MainWindowViewModel.cs

13
JdShopListener/JdShopListener/MainWindowViewModel.cs

@ -216,6 +216,13 @@ namespace JdShopListener
/// </summary>
public void Add()
{
if (IsStart !=false)
{
MessageBox.Show("采集中不可操作!");
return;
}
if (IsAdd)
return;
@ -362,6 +369,12 @@ namespace JdShopListener
/// </summary>
public void Start()
{
if (IsAdd)
{
MessageBox.Show("请等待添加完成之后操作!");
return;
}
if (IsStart==false)
{
IsStart = true;

Loading…
Cancel
Save