Skip to content

Commit 0e1fa29

Browse files
committed
Ajoutez des fichiers projet.
1 parent df3a996 commit 0e1fa29

14 files changed

Lines changed: 1282 additions & 0 deletions

ForceBindIP GUI.sln

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.26430.16
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ForceBindIP GUI", "ForceBindIP GUI\ForceBindIP GUI.csproj", "{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Debug|x64 = Debug|x64
12+
Debug|x86 = Debug|x86
13+
Release|Any CPU = Release|Any CPU
14+
Release|x64 = Release|x64
15+
Release|x86 = Release|x86
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Debug|Any CPU.Build.0 = Debug|Any CPU
20+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Debug|x64.ActiveCfg = Debug|x64
21+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Debug|x64.Build.0 = Debug|x64
22+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Debug|x86.ActiveCfg = Debug|x86
23+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Debug|x86.Build.0 = Debug|x86
24+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Release|Any CPU.ActiveCfg = Release|Any CPU
25+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Release|x64.ActiveCfg = Release|x64
27+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Release|x64.Build.0 = Release|x64
28+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Release|x86.ActiveCfg = Release|x86
29+
{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}.Release|x86.Build.0 = Release|x86
30+
EndGlobalSection
31+
GlobalSection(SolutionProperties) = preSolution
32+
HideSolutionNode = FALSE
33+
EndGlobalSection
34+
EndGlobal

ForceBindIP GUI/App.config

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<configSections>
4+
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
5+
<section name="ForceBindIP_GUI.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
6+
</sectionGroup>
7+
</configSections>
8+
<startup>
9+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
10+
</startup>
11+
<userSettings>
12+
<ForceBindIP_GUI.Properties.Settings>
13+
<setting name="FBIPath" serializeAs="String">
14+
<value />
15+
</setting>
16+
</ForceBindIP_GUI.Properties.Settings>
17+
</userSettings>
18+
</configuration>
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{2AA41A9A-FE12-4176-BF14-1C91E721DD5B}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<RootNamespace>ForceBindIP_GUI</RootNamespace>
10+
<AssemblyName>ForceBindIP GUI</AssemblyName>
11+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
</PropertyGroup>
14+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
15+
<PlatformTarget>AnyCPU</PlatformTarget>
16+
<DebugSymbols>true</DebugSymbols>
17+
<DebugType>full</DebugType>
18+
<Optimize>false</Optimize>
19+
<OutputPath>bin\Debug\</OutputPath>
20+
<DefineConstants>DEBUG;TRACE</DefineConstants>
21+
<ErrorReport>prompt</ErrorReport>
22+
<WarningLevel>4</WarningLevel>
23+
</PropertyGroup>
24+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<PlatformTarget>AnyCPU</PlatformTarget>
26+
<DebugType>pdbonly</DebugType>
27+
<Optimize>true</Optimize>
28+
<OutputPath>bin\Release\</OutputPath>
29+
<DefineConstants>TRACE</DefineConstants>
30+
<ErrorReport>prompt</ErrorReport>
31+
<WarningLevel>4</WarningLevel>
32+
</PropertyGroup>
33+
<PropertyGroup>
34+
<StartupObject>ForceBindIP_GUI.Program</StartupObject>
35+
</PropertyGroup>
36+
<PropertyGroup>
37+
<ApplicationIcon>ip_right.ico</ApplicationIcon>
38+
</PropertyGroup>
39+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
40+
<DebugSymbols>true</DebugSymbols>
41+
<OutputPath>bin\x64\Debug\</OutputPath>
42+
<DefineConstants>DEBUG;TRACE</DefineConstants>
43+
<DebugType>full</DebugType>
44+
<PlatformTarget>x64</PlatformTarget>
45+
<ErrorReport>prompt</ErrorReport>
46+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
47+
<Prefer32Bit>true</Prefer32Bit>
48+
</PropertyGroup>
49+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
50+
<OutputPath>bin\x64\Release\</OutputPath>
51+
<DefineConstants>TRACE</DefineConstants>
52+
<Optimize>true</Optimize>
53+
<DebugType>pdbonly</DebugType>
54+
<PlatformTarget>x64</PlatformTarget>
55+
<ErrorReport>prompt</ErrorReport>
56+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
57+
<Prefer32Bit>true</Prefer32Bit>
58+
</PropertyGroup>
59+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
60+
<DebugSymbols>true</DebugSymbols>
61+
<OutputPath>bin\x86\Debug\</OutputPath>
62+
<DefineConstants>DEBUG;TRACE</DefineConstants>
63+
<DebugType>full</DebugType>
64+
<PlatformTarget>x86</PlatformTarget>
65+
<ErrorReport>prompt</ErrorReport>
66+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
67+
<Prefer32Bit>true</Prefer32Bit>
68+
</PropertyGroup>
69+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
70+
<OutputPath>bin\x86\Release\</OutputPath>
71+
<DefineConstants>TRACE</DefineConstants>
72+
<Optimize>true</Optimize>
73+
<DebugType>pdbonly</DebugType>
74+
<PlatformTarget>x86</PlatformTarget>
75+
<ErrorReport>prompt</ErrorReport>
76+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
77+
<Prefer32Bit>true</Prefer32Bit>
78+
</PropertyGroup>
79+
<ItemGroup>
80+
<Reference Include="System" />
81+
<Reference Include="System.Core" />
82+
<Reference Include="System.Xml.Linq" />
83+
<Reference Include="System.Data.DataSetExtensions" />
84+
<Reference Include="Microsoft.CSharp" />
85+
<Reference Include="System.Data" />
86+
<Reference Include="System.Deployment" />
87+
<Reference Include="System.Drawing" />
88+
<Reference Include="System.Net.Http" />
89+
<Reference Include="System.Windows.Forms" />
90+
<Reference Include="System.Xml" />
91+
</ItemGroup>
92+
<ItemGroup>
93+
<Compile Include="frmMain.cs">
94+
<SubType>Form</SubType>
95+
</Compile>
96+
<Compile Include="frmMain.Designer.cs">
97+
<DependentUpon>frmMain.cs</DependentUpon>
98+
</Compile>
99+
<Compile Include="NetworkAdapterInfo.cs" />
100+
<Compile Include="Program.cs" />
101+
<Compile Include="Properties\AssemblyInfo.cs" />
102+
<EmbeddedResource Include="frmMain.resx">
103+
<DependentUpon>frmMain.cs</DependentUpon>
104+
</EmbeddedResource>
105+
<EmbeddedResource Include="Properties\Resources.resx">
106+
<Generator>ResXFileCodeGenerator</Generator>
107+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
108+
<SubType>Designer</SubType>
109+
</EmbeddedResource>
110+
<Compile Include="Properties\Resources.Designer.cs">
111+
<AutoGen>True</AutoGen>
112+
<DependentUpon>Resources.resx</DependentUpon>
113+
</Compile>
114+
<None Include="Properties\Settings.settings">
115+
<Generator>SettingsSingleFileGenerator</Generator>
116+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
117+
</None>
118+
<Compile Include="Properties\Settings.Designer.cs">
119+
<AutoGen>True</AutoGen>
120+
<DependentUpon>Settings.settings</DependentUpon>
121+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
122+
</Compile>
123+
</ItemGroup>
124+
<ItemGroup>
125+
<None Include="App.config" />
126+
</ItemGroup>
127+
<ItemGroup>
128+
<Content Include="ip_right.ico" />
129+
</ItemGroup>
130+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
131+
</Project>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
namespace ForceBindIP_GUI
2+
{
3+
public class NetworkAdapterInfo
4+
{
5+
public NetworkAdapterInfo(string name, string ip)
6+
{
7+
Name = name;
8+
IP = ip;
9+
}
10+
11+
public string Name { get; private set; }
12+
13+
public string IP { get; private set; }
14+
15+
public override string ToString() => $"{Name} - ({IP})";
16+
}
17+
}

ForceBindIP GUI/Program.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using System;
2+
using System.Windows.Forms;
3+
4+
namespace ForceBindIP_GUI
5+
{
6+
static class Program
7+
{
8+
/// <summary>
9+
/// Point d'entrée principal de l'application.
10+
/// </summary>
11+
[STAThread]
12+
static void Main()
13+
{
14+
Application.EnableVisualStyles();
15+
Application.SetCompatibleTextRenderingDefault(false);
16+
Application.Run(new frmMain());
17+
}
18+
}
19+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// Les informations générales relatives à un assembly dépendent de
6+
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
7+
// associées à un assembly.
8+
[assembly: AssemblyTitle("ForceBindIP GUI")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("ForceBindIP GUI")]
13+
[assembly: AssemblyCopyright("Copyright © 2017")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// L'affectation de la valeur false à ComVisible rend les types invisibles dans cet assembly
18+
// aux composants COM. Si vous devez accéder à un type dans cet assembly à partir de
19+
// COM, affectez la valeur true à l'attribut ComVisible sur ce type.
20+
[assembly: ComVisible(false)]
21+
22+
// Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
23+
[assembly: Guid("2aa41a9a-fe12-4176-bf14-1c91e721dd5b")]
24+
25+
// Les informations de version pour un assembly se composent des quatre valeurs suivantes :
26+
//
27+
// Version principale
28+
// Version secondaire
29+
// Numéro de build
30+
// Révision
31+
//
32+
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
33+
// en utilisant '*', comme indiqué ci-dessous :
34+
// [assembly: AssemblyVersion("1.0.*")]
35+
[assembly: AssemblyVersion("1.0.0.0")]
36+
[assembly: AssemblyFileVersion("1.0.0.0")]

ForceBindIP GUI/Properties/Resources.Designer.cs

Lines changed: 71 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)