public override void Admin() { MainWindow.Show(); MainWindow.Topmost = true; MainWindow.Topmost = false; }
public override void DeInit() { MainConfig.Instance.SaveConfig(); MainWindow?.UnbindEventsAndClose(); // 插件未能正常加载时, Window实例不会被创建 }