Skip to content

Commit f346b5f

Browse files
authored
Add files via upload
1 parent 3893412 commit f346b5f

File tree

6 files changed

+532
-0
lines changed

6 files changed

+532
-0
lines changed

C-Sharf Classes/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
5+
</startup>
6+
</configuration>
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
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>{C61FFA56-222A-4524-AC7C-9625C2BB50CF}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<RootNamespace>C_Sharf_Classes</RootNamespace>
10+
<AssemblyName>C-Sharf Classes</AssemblyName>
11+
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14+
<Deterministic>true</Deterministic>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<PlatformTarget>AnyCPU</PlatformTarget>
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>bin\Debug\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<PlatformTarget>AnyCPU</PlatformTarget>
28+
<DebugType>pdbonly</DebugType>
29+
<Optimize>true</Optimize>
30+
<OutputPath>bin\Release\</OutputPath>
31+
<DefineConstants>TRACE</DefineConstants>
32+
<ErrorReport>prompt</ErrorReport>
33+
<WarningLevel>4</WarningLevel>
34+
</PropertyGroup>
35+
<ItemGroup>
36+
<Reference Include="MySql.Data, Version=8.0.15.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL" />
37+
<Reference Include="System" />
38+
<Reference Include="System.Core" />
39+
<Reference Include="System.Windows.Forms.DataVisualization" />
40+
<Reference Include="System.Xml.Linq" />
41+
<Reference Include="System.Data.DataSetExtensions" />
42+
<Reference Include="Microsoft.CSharp" />
43+
<Reference Include="System.Data" />
44+
<Reference Include="System.Deployment" />
45+
<Reference Include="System.Drawing" />
46+
<Reference Include="System.Net.Http" />
47+
<Reference Include="System.Windows.Forms" />
48+
<Reference Include="System.Xml" />
49+
</ItemGroup>
50+
<ItemGroup>
51+
<Compile Include="Classes\Date_time.cs" />
52+
<Compile Include="Classes\Public_variables.cs" />
53+
<Compile Include="Classes\UI_events.cs" />
54+
<Compile Include="Classes\Upload.cs" />
55+
<Compile Include="Classes\Validatios.cs" />
56+
<Compile Include="Config.cs" />
57+
<Compile Include="Classes\Database.cs" />
58+
<Compile Include="frmLogin.cs">
59+
<SubType>Form</SubType>
60+
</Compile>
61+
<Compile Include="frmLogin.Designer.cs">
62+
<DependentUpon>frmLogin.cs</DependentUpon>
63+
</Compile>
64+
<Compile Include="Program.cs" />
65+
<Compile Include="Properties\AssemblyInfo.cs" />
66+
<Compile Include="View\frmDashboard.cs">
67+
<SubType>Form</SubType>
68+
</Compile>
69+
<Compile Include="View\frmDashboard.Designer.cs">
70+
<DependentUpon>frmDashboard.cs</DependentUpon>
71+
</Compile>
72+
<Compile Include="View\frmDataGridView.cs">
73+
<SubType>Form</SubType>
74+
</Compile>
75+
<Compile Include="View\frmDataGridView.Designer.cs">
76+
<DependentUpon>frmDataGridView.cs</DependentUpon>
77+
</Compile>
78+
<Compile Include="View\frmInputs.cs">
79+
<SubType>Form</SubType>
80+
</Compile>
81+
<Compile Include="View\frmInputs.Designer.cs">
82+
<DependentUpon>frmInputs.cs</DependentUpon>
83+
</Compile>
84+
<Compile Include="View\frmMain.cs">
85+
<SubType>Form</SubType>
86+
</Compile>
87+
<Compile Include="View\frmMain.Designer.cs">
88+
<DependentUpon>frmMain.cs</DependentUpon>
89+
</Compile>
90+
<EmbeddedResource Include="frmLogin.resx">
91+
<DependentUpon>frmLogin.cs</DependentUpon>
92+
</EmbeddedResource>
93+
<EmbeddedResource Include="Properties\Resources.resx">
94+
<Generator>ResXFileCodeGenerator</Generator>
95+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
96+
<SubType>Designer</SubType>
97+
</EmbeddedResource>
98+
<Compile Include="Properties\Resources.Designer.cs">
99+
<AutoGen>True</AutoGen>
100+
<DependentUpon>Resources.resx</DependentUpon>
101+
<DesignTime>True</DesignTime>
102+
</Compile>
103+
<EmbeddedResource Include="View\frmDashboard.resx">
104+
<DependentUpon>frmDashboard.cs</DependentUpon>
105+
</EmbeddedResource>
106+
<EmbeddedResource Include="View\frmDataGridView.resx">
107+
<DependentUpon>frmDataGridView.cs</DependentUpon>
108+
</EmbeddedResource>
109+
<EmbeddedResource Include="View\frmInputs.resx">
110+
<DependentUpon>frmInputs.cs</DependentUpon>
111+
</EmbeddedResource>
112+
<EmbeddedResource Include="View\frmMain.resx">
113+
<DependentUpon>frmMain.cs</DependentUpon>
114+
</EmbeddedResource>
115+
<None Include="Properties\Settings.settings">
116+
<Generator>SettingsSingleFileGenerator</Generator>
117+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
118+
</None>
119+
<Compile Include="Properties\Settings.Designer.cs">
120+
<AutoGen>True</AutoGen>
121+
<DependentUpon>Settings.settings</DependentUpon>
122+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
123+
</Compile>
124+
</ItemGroup>
125+
<ItemGroup>
126+
<None Include="App.config" />
127+
</ItemGroup>
128+
<ItemGroup>
129+
<None Include="Resources\confired 2 dark.png" />
130+
</ItemGroup>
131+
<ItemGroup />
132+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
133+
</Project>

C-Sharf Classes/Config.cs

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/**
2+
* __________________________________________________________________
3+
*
4+
* C-Sharf Custom Classes
5+
* __________________________________________________________________
6+
*
7+
* MIT License
8+
*
9+
* Copyright (c) 2020 Wilfred V. Pine
10+
*
11+
* Permission is hereby granted, free of charge, to any person obtaining a copy
12+
* of this software and associated documentation files (the "Software"), to deal
13+
* in the Software without restriction, including without limitation the rights
14+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15+
* copies of the Software, and to permit persons to whom the Software is
16+
* furnished to do so, subject to the following conditions:
17+
*
18+
* The above copyright notice and this permission notice shall be included in
19+
* all copies or substantial portions of the Software.
20+
*
21+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27+
* THE SOFTWARE.
28+
*
29+
* @package C-Sharf Custom Classes
30+
* @author Wilfred V. Pine <only.master.red@gmail.com>
31+
* @copyright Copyright 2020 (https://red.confired.com)
32+
* @link https://confired.com
33+
* @license https://opensource.org/licenses/MIT MIT License
34+
*/
35+
36+
namespace C_Sharf_Classes
37+
{
38+
class Config
39+
{
40+
/*
41+
* Database Information
42+
*/
43+
public static string dbname = "dbinformation";
44+
public static string dbuser = "root";
45+
public static string dbpassword = "";
46+
/*
47+
* Upload File
48+
*/
49+
public static string upload_path = @"c:\C-Sharf Classes\";
50+
public static string allowedImage = "Image Files|*.jpg;*.jpeg;*.png";
51+
public static string allowedFile = "Excel Files(.xls ,.xlsx)| *.xls ;*.xlsx|PDF Files(.pdf)|*.pdf|Text Files(*.txt)|*.txt|Word Files(.docx ,.doc)|*.docx;*.doc";
52+
53+
}
54+
}

C-Sharf Classes/frmLogin.Designer.cs

Lines changed: 154 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)