|
|
|
@ -36,6 +36,8 @@ namespace v2rayN.Views
|
|
|
|
|
this.Height = SystemParameters.WorkArea.Height;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
lstGroup.MaxHeight = Math.Floor(SystemParameters.WorkArea.Height * 0.20 / 40) * 40;
|
|
|
|
|
|
|
|
|
|
_config = LazyConfig.Instance.GetConfig();
|
|
|
|
|
|
|
|
|
|
App.Current.SessionEnding += Current_SessionEnding;
|
|
|
|
@ -174,7 +176,7 @@ namespace v2rayN.Views
|
|
|
|
|
this.BindCommand(ViewModel, vm => vm.SubUpdateViaProxyCmd, v => v.menuSubUpdateViaProxy2).DisposeWith(disposables);
|
|
|
|
|
|
|
|
|
|
this.OneWayBind(ViewModel, vm => vm.NotifyIcon, v => v.tbNotify.Icon).DisposeWith(disposables);
|
|
|
|
|
//this.OneWayBind(ViewModel, vm => vm.RunningServerToolTipText, v => v.tbNotify.ToolTipText).DisposeWith(disposables);
|
|
|
|
|
this.OneWayBind(ViewModel, vm => vm.RunningServerToolTipText, v => v.tbNotify.ToolTipText).DisposeWith(disposables);
|
|
|
|
|
this.OneWayBind(ViewModel, vm => vm.NotifyLeftClickCmd, v => v.tbNotify.LeftClickCommand).DisposeWith(disposables);
|
|
|
|
|
this.OneWayBind(ViewModel, vm => vm.AppIcon, v => v.Icon).DisposeWith(disposables);
|
|
|
|
|
//this.OneWayBind(ViewModel, vm => vm.BlShowTrayTip, v => v.borTrayToolTip.Visibility).DisposeWith(disposables);
|
|
|
|
|