This commit is contained in:
sc committed 2025-02-28 22:07:51 +08:00
commit 7d93249975
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.WindowsView
{
if((bool)checkBoxes[i].IsChecked) MACHINEDATA= MACHINEDATA+"+"+ checkBoxes[i].Content;
}
AddressUpdated(this, new AddressUpdateEventArgs(MACHINEDATA.Remove(0, 1)));
if(!String.IsNullOrEmpty(MACHINEDATA)) AddressUpdated(this, new AddressUpdateEventArgs(MACHINEDATA.Remove(0, 1)));
this.Close(); //关闭窗口
}
private void Button_Quit(object sender, RoutedEventArgs e)//退出