Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d5f0a9

Browse files
committed
initial refactoring
1 parent db4cbe1 commit 4d5f0a9

14 files changed

Lines changed: 12624 additions & 1329 deletions

‎ScreenTask/AppSettings.cs‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace ScreenTask
8+
{
9+
[Serializable]
10+
public class AppSettings
11+
{
12+
public string IP { get; set; }
13+
public int Port { get; set; }
14+
public int ScreenshotsSpeed { get; set; }
15+
public bool IsPrivateSession { get; set; }
16+
public string Username { get; set; }
17+
public string Password { get; set; }
18+
public int SelectedScreenIndex { get; set; }
19+
public bool IsShowMouseEnabled { get; set; }
20+
public bool IsAutoStartServerEnabled { get; set; }
21+
public bool IsStartMinimizedEnabled { get; set; }
22+
}
23+
}

‎ScreenTask/Properties/AssemblyInfo.cs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
88
[assembly: AssemblyTitle("ScreenTask")]
9-
[assembly: AssemblyDescription("Share your screen inside the private network")]
9+
[assembly: AssemblyDescription("Screen sharing made easy")]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("EslaMxSoft 2014")]
11+
[assembly: AssemblyCompany("Eslam Hamouda")]
1212
[assembly: AssemblyProduct("ScreenTask v1.1")]
13-
[assembly: AssemblyCopyright("Copyright © EslaMxSoft 2014")]
13+
[assembly: AssemblyCopyright("Copyright © Eslam Hamouda 2014-2020")]
1414
[assembly: AssemblyTrademark("Eslam Hamouda")]
1515
[assembly: AssemblyCulture("")]
1616

‎ScreenTask/Properties/Resources.Designer.cs‎

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

‎ScreenTask/Properties/Resources.resx‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,13 @@
118118
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119119
</resheader>
120120
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
121-
<data name="ScreenTaskBackground" type="System.Resources.ResXFileRef, System.Windows.Forms">
122-
<value>..\ScreenTaskBackground.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
121+
<data name="logo_text" type="System.Resources.ResXFileRef, System.Windows.Forms">
122+
<value>..\logo_text.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
123123
</data>
124-
<data name="imgPrev" type="System.Resources.ResXFileRef, System.Windows.Forms">
125-
<value>..\imgPrev.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
124+
<data name="logo_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
125+
<value>..\logo_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
126+
</data>
127+
<data name="screentask_logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
128+
<value>..\screentask_logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
126129
</data>
127130
</root>

‎ScreenTask/ScreenTask.csproj‎

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<ApplicationManifest>app.manifest</ApplicationManifest>
5555
</PropertyGroup>
5656
<PropertyGroup>
57-
<ApplicationIcon>screenicon.ico</ApplicationIcon>
57+
<ApplicationIcon>file_icon.ico</ApplicationIcon>
5858
</PropertyGroup>
5959
<ItemGroup>
6060
<Reference Include="System" />
@@ -69,6 +69,7 @@
6969
<Reference Include="System.Xml" />
7070
</ItemGroup>
7171
<ItemGroup>
72+
<Compile Include="AppSettings.cs" />
7273
<Compile Include="frmMain.cs">
7374
<SubType>Form</SubType>
7475
</Compile>
@@ -83,19 +84,19 @@
8384
</EmbeddedResource>
8485
<EmbeddedResource Include="Properties\Resources.resx">
8586
<Generator>ResXFileCodeGenerator</Generator>
86-
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
8787
<SubType>Designer</SubType>
88+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
8889
</EmbeddedResource>
89-
<Compile Include="Properties\Resources.Designer.cs">
90-
<AutoGen>True</AutoGen>
91-
<DependentUpon>Resources.resx</DependentUpon>
92-
<DesignTime>True</DesignTime>
93-
</Compile>
9490
<None Include="app.manifest" />
9591
<None Include="Properties\Settings.settings">
9692
<Generator>SettingsSingleFileGenerator</Generator>
9793
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
9894
</None>
95+
<Compile Include="Properties\Resources.Designer.cs">
96+
<AutoGen>True</AutoGen>
97+
<DesignTime>True</DesignTime>
98+
<DependentUpon>Resources.resx</DependentUpon>
99+
</Compile>
99100
<Compile Include="Properties\Settings.Designer.cs">
100101
<AutoGen>True</AutoGen>
101102
<DependentUpon>Settings.settings</DependentUpon>
@@ -106,11 +107,13 @@
106107
<None Include="App.config" />
107108
</ItemGroup>
108109
<ItemGroup>
109-
<Content Include="imgPrev.png" />
110+
<None Include="logo_icon.png" />
111+
<None Include="logo_text.png" />
112+
<Content Include="file_icon.ico" />
110113
<Content Include="screenicon.ico" />
111-
<Content Include="ScreenTaskBackground.png" />
112114
<Content Include="ScreenTaskMain.png" />
113115
<Content Include="ScreenTaskWebUI.png" />
116+
<None Include="screentask_logo.png" />
114117
<Content Include="WebServer\bootstrap.min.css">
115118
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
116119
</Content>
-134 KB
Binary file not shown.

‎ScreenTask/file_icon.ico‎

361 KB
Binary file not shown.

0 commit comments

Comments
 (0)