mirror of https://github.com/2dust/v2rayN
Code clean
parent
885587e551
commit
4ffe595db6
|
@ -69,7 +69,7 @@ namespace ServiceLib.Handler.SysProxy
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch
|
||||||
{
|
{
|
||||||
SetProxyFallback(strProxy, exceptions, type);
|
SetProxyFallback(strProxy, exceptions, type);
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -350,7 +350,7 @@ namespace v2rayN.Desktop.Views
|
||||||
//ShowHideWindow(false);
|
//ShowHideWindow(false);
|
||||||
|
|
||||||
NoticeHandler.Instance.SendMessageAndEnqueue("Not yet implemented.(还未实现)");
|
NoticeHandler.Instance.SendMessageAndEnqueue("Not yet implemented.(还未实现)");
|
||||||
return;
|
await Task.CompletedTask;
|
||||||
//if (Application.Current?.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
//if (Application.Current?.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
||||||
//{
|
//{
|
||||||
// //var bytes = QRCodeHelper.CaptureScreen(desktop);
|
// //var bytes = QRCodeHelper.CaptureScreen(desktop);
|
||||||
|
|
|
@ -219,7 +219,7 @@ namespace v2rayN.Desktop.Views
|
||||||
|
|
||||||
private void LstProfiles_LoadingRow(object? sender, DataGridRowEventArgs e)
|
private void LstProfiles_LoadingRow(object? sender, DataGridRowEventArgs e)
|
||||||
{
|
{
|
||||||
e.Row.Header = $" {e.Row.GetIndex() + 1}";
|
e.Row.Header = $" {e.Row.Index + 1}";
|
||||||
}
|
}
|
||||||
|
|
||||||
//private void LstProfiles_ColumnHeader_Click(object? sender, RoutedEventArgs e)
|
//private void LstProfiles_ColumnHeader_Click(object? sender, RoutedEventArgs e)
|
||||||
|
|
|
@ -10,7 +10,6 @@ namespace v2rayN
|
||||||
public partial class App : Application
|
public partial class App : Application
|
||||||
{
|
{
|
||||||
public static EventWaitHandle ProgramStarted;
|
public static EventWaitHandle ProgramStarted;
|
||||||
private static Config _config;
|
|
||||||
|
|
||||||
public App()
|
public App()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue