mirror of https://github.com/2dust/v2rayN
Code clean
parent
885587e551
commit
4ffe595db6
|
@ -69,7 +69,7 @@ namespace ServiceLib.Handler.SysProxy
|
|||
}
|
||||
return result;
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
SetProxyFallback(strProxy, exceptions, type);
|
||||
return false;
|
||||
|
|
|
@ -350,7 +350,7 @@ namespace v2rayN.Desktop.Views
|
|||
//ShowHideWindow(false);
|
||||
|
||||
NoticeHandler.Instance.SendMessageAndEnqueue("Not yet implemented.(还未实现)");
|
||||
return;
|
||||
await Task.CompletedTask;
|
||||
//if (Application.Current?.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
||||
//{
|
||||
// //var bytes = QRCodeHelper.CaptureScreen(desktop);
|
||||
|
|
|
@ -219,7 +219,7 @@ namespace v2rayN.Desktop.Views
|
|||
|
||||
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)
|
||||
|
|
|
@ -10,7 +10,6 @@ namespace v2rayN
|
|||
public partial class App : Application
|
||||
{
|
||||
public static EventWaitHandle ProgramStarted;
|
||||
private static Config _config;
|
||||
|
||||
public App()
|
||||
{
|
||||
|
@ -73,4 +72,4 @@ namespace v2rayN
|
|||
Process.GetCurrentProcess().Kill();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue