-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yasin sekman
committed
Apr 24, 2019
1 parent
0d397ec
commit 42935c2
Showing
21 changed files
with
8,184 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 14 | ||
VisualStudioVersion = 14.0.25420.1 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProxyChanger", "ProxyChanger\ProxyChanger.csproj", "{4ACA478B-89D9-4500-BC3E-DAED806D7A2A}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{4ACA478B-89D9-4500-BC3E-DAED806D7A2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{4ACA478B-89D9-4500-BC3E-DAED806D7A2A}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{4ACA478B-89D9-4500-BC3E-DAED806D7A2A}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{4ACA478B-89D9-4500-BC3E-DAED806D7A2A}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System.Linq; | ||
using System.Windows.Forms; | ||
|
||
namespace ProxyChanger.Language | ||
{ | ||
class en | ||
{ | ||
internal static void _main_() | ||
{ | ||
mainGUI _mainGUI = Application.OpenForms.OfType<mainGUI>().FirstOrDefault<mainGUI>(); | ||
|
||
settings._lang = "en"; | ||
_mainGUI.lblAddressandPort.Text = "Address and Port :"; | ||
_mainGUI.lblExamples.Text = "Example : 192.168.1.1:8080"; | ||
_mainGUI.cbBypass.Text = "Bypass Proxy Server for Local Addresses"; | ||
_mainGUI.cbDisabled.Text = "Disabled"; | ||
_mainGUI.btnChange.Text = "Change Now!"; | ||
_mainGUI.btnSettings.Text = "Settings"; | ||
_mainGUI.languageToolStripMenuItem.Text = "Language"; | ||
_mainGUI.toolStripMenuItem1.Text = "Windows Proxy Settings"; | ||
_mainGUI.aboutToolStripMenuItem.Text = "About"; | ||
} | ||
internal static void _about_() | ||
{ | ||
aboutForm _aboutForm = Application.OpenForms.OfType<aboutForm>().FirstOrDefault<aboutForm>(); | ||
|
||
_aboutForm.Text = "About"; | ||
_aboutForm.lblCMDLine.Text = "CommandLine Arguments"; | ||
_aboutForm.linkLabel1.Text = "Icon and Logo author info"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace ProxyChanger.Language | ||
{ | ||
class settings | ||
{ | ||
internal static string _lang = "en"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System.Linq; | ||
using System.Windows.Forms; | ||
|
||
namespace ProxyChanger.Language | ||
{ | ||
class tr | ||
{ | ||
internal static void _main_() | ||
{ | ||
mainGUI _mainGUI = Application.OpenForms.OfType<mainGUI>().FirstOrDefault<mainGUI>(); | ||
|
||
settings._lang = "tr"; | ||
_mainGUI.lblAddressandPort.Text = "Adres ve Port :"; | ||
_mainGUI.lblExamples.Text = "Örnek : 192.168.1.1:8080"; | ||
_mainGUI.cbBypass.Text = "Yerel adresler için proxy sunucuyu atla"; | ||
_mainGUI.cbDisabled.Text = "Devre Dışı"; | ||
_mainGUI.btnChange.Text = "Şimdi Değiştir!"; | ||
_mainGUI.btnSettings.Text = "Ayarlar"; | ||
_mainGUI.languageToolStripMenuItem.Text = "Dil"; | ||
_mainGUI.toolStripMenuItem1.Text = "Windows Proxy Ayarları"; | ||
_mainGUI.aboutToolStripMenuItem.Text = "Hakkında"; | ||
} | ||
internal static void _about_() | ||
{ | ||
aboutForm _aboutForm = Application.OpenForms.OfType<aboutForm>().FirstOrDefault<aboutForm>(); | ||
|
||
_aboutForm.Text = "Hakkında"; | ||
_aboutForm.lblCMDLine.Text = "Komut Satırı Argümanları"; | ||
_aboutForm.linkLabel1.Text = "Icon and Logo yazar bilgisi"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
using ProxyChanger.Properties; | ||
using System; | ||
using System.Windows.Forms; | ||
|
||
namespace ProxyChanger | ||
{ | ||
static class Program | ||
{ | ||
/// <summary> | ||
/// The main entry point for the application. | ||
/// </summary> | ||
[STAThread] | ||
static void Main(string[] args) | ||
{ | ||
if(args.Length== 0) | ||
{ | ||
Application.EnableVisualStyles(); | ||
Application.SetCompatibleTextRenderingDefault(false); | ||
Application.Run(new mainGUI()); | ||
} | ||
else | ||
{ | ||
if (args[0] == "/disable") | ||
{ | ||
mainGUI.setProxy("", false, false); | ||
return; | ||
} | ||
else if (args[0] == "/enable") | ||
{ | ||
if (args[1] != "") | ||
{ | ||
try | ||
{ | ||
if (args[2] == "/bypass") | ||
{ | ||
mainGUI.setProxy(args[1], true, true); | ||
} | ||
} | ||
catch | ||
{ | ||
mainGUI.setProxy(args[1], true, false); | ||
|
||
} | ||
} | ||
return; | ||
} | ||
else if (args[0] == "/?") | ||
{ | ||
MessageBox.Show(Resources.CommandLine_Arguments, "ProxyChanger", MessageBoxButtons.OK, MessageBoxIcon.Information); | ||
return; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("ProxyChanger")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("Yasin SEKMAN")] | ||
[assembly: AssemblyProduct("ProxyChanger")] | ||
[assembly: AssemblyCopyright("Copyright © 2019 yasinvs")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// The following GUID is for the ID of the typelib if this project is exposed to COM | ||
[assembly: Guid("4aca478b-89d9-4500-bc3e-daed806d7a2a")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("1.5.0.0")] | ||
[assembly: AssemblyFileVersion("2019.04.25.1")] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.