public MinerProfileOption() { this.Vm = AppRoot.MinerProfileVm; this.DataContext = AppRoot.MinerProfileVm; InitializeComponent(); _outerUserGroupBg = OuterUserGroup.BorderBrush; _automationGroupBg = AutomationGroup.BorderBrush; }
public MinerProfileOption() { this.Vm = AppRoot.MinerProfileVm; this.DataContext = AppRoot.MinerProfileVm; InitializeComponent(); _outerUserGroupBg = OuterUserGroup.BorderBrush; _automationGroupBg = AutomationGroup.BorderBrush; this.OnLoaded(window => { VirtualRoot.BuildEventPath <SignUpedEvent>("注册了新外网群控用户后自动填入外网群控用户名", LogEnum.None, path: message => { this.Vm.OuterUserId = message.LoginName; }, this.GetType()); }); }