Skip to content

Commit

Permalink
Added Files Via Upload
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshu-lanjewar authored Feb 14, 2021
1 parent ef423a4 commit 4c23ed4
Show file tree
Hide file tree
Showing 23 changed files with 629 additions and 0 deletions.
21 changes: 21 additions & 0 deletions PropertiesOfFile.application
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<assemblyIdentity name="PropertiesOfFile.application" version="1.0.0.3" publicKeyToken="bbcc0c49c07cbdba" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2:publisher="PropertiesOfFile" asmv2:product="PropertiesOfFile" xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="true" mapFileExtensions="true" />
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
<framework targetVersion="4.7.2" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="Application Files\PropertiesOfFile_1_0_0_3\PropertiesOfFile.exe.manifest" size="10341">
<assemblyIdentity name="PropertiesOfFile.exe" version="1.0.0.3" publicKeyToken="bbcc0c49c07cbdba" language="neutral" processorArchitecture="msil" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>ha2TXwo7G5b95jGXvuNG+ZPagccRW9Oncb/srKNchcY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<publisherIdentity name="CN=PRIYANSHU\priyanshu" issuerKeyHash="79d1619958600425999e399033a280b51b6e591c" /><Signature Id="StrongNameSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /><DigestValue>CYOZVXBAfgnKUj4u3KTmhDC2ybDIv8mI0FHgOv88tKE=</DigestValue></Reference></SignedInfo><SignatureValue>oXSD4GKlSjJojMDiIvc7EM09Dyp3XIYENqfVmyBYPnkKEQ5ziHRr0yhAUGOXhwhOjX63MdOPY6BIK1ZvrlyrMwyBAi0CD0VVU5fmih5wSnOA9y9eZ+tocrzvdsOJrGoApqI0qDFAQ7IXLZwr7lrlXYSw2SmM11QaYHmfS1aXHDY=</SignatureValue><KeyInfo Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>q5rcFXCJhGW4vO5WW1vjcdoAx8trPtBS5ih1ADHOc4vyhciB6NRsRl9r2rWiGDbbsMyC7OgmGGDyaCZMsreRvesCbp9XGjCRQ3GBe3uX5I4m/HNEbhGJFz13kKhXe5S5Wff8CNaEaXeR8k0OvKa7P3HzqsDRGnur5vNPLdbfPJ0=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><msrel:RelData xmlns:msrel="http://schemas.microsoft.com/windows/rel/2005/reldata"><r:license xmlns:r="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:as="http://schemas.microsoft.com/windows/pki/2005/Authenticode"><r:grant><as:ManifestInformation Hash="a1b43cff3ae051d088c9bfc8b0c9b63084e6a4dc2e3e52ca097e407055998309" Description="" Url=""><as:assemblyIdentity name="PropertiesOfFile.application" version="1.0.0.3" publicKeyToken="bbcc0c49c07cbdba" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" /></as:ManifestInformation><as:SignedBy /><as:AuthenticodePublisher><as:X509SubjectName>CN=PRIYANSHU\priyanshu</as:X509SubjectName></as:AuthenticodePublisher></r:grant><r:issuer><Signature Id="AuthenticodeSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /><DigestValue>nAsFhD0YAdUdXMx/ud5zuie3O7sAEcfTj5MZ1iad4Ns=</DigestValue></Reference></SignedInfo><SignatureValue>Qi0daJ9kH5950vscyxlm6XYCxoQHBQDFmSn6sPda6nV0Pq1vMwkn4/721ie/z0Gku8ULTPes+XbjkSkBGFNxirooTJOpC+XQOWKOeEIADAGH4VtEJx220L7inMBJlEDtTrlcZCIg0eevGMxwxNvmKw0S+MLCKggHBG9h1NRjjj4=</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>q5rcFXCJhGW4vO5WW1vjcdoAx8trPtBS5ih1ADHOc4vyhciB6NRsRl9r2rWiGDbbsMyC7OgmGGDyaCZMsreRvesCbp9XGjCRQ3GBe3uX5I4m/HNEbhGJFz13kKhXe5S5Wff8CNaEaXeR8k0OvKa7P3HzqsDRGnur5vNPLdbfPJ0=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIIB5TCCAU6gAwIBAgIQFtl0T3WcooVK52c8If11PTANBgkqhkiG9w0BAQsFADAxMS8wLQYDVQQDHiYAUABSAEkAWQBBAE4AUwBIAFUAXABwAHIAaQB5AGEAbgBzAGgAdTAeFw0yMDExMDIyMTE4MDVaFw0yMTExMDMwMzE4MDVaMDExLzAtBgNVBAMeJgBQAFIASQBZAEEATgBTAEgAVQBcAHAAcgBpAHkAYQBuAHMAaAB1MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrmtwVcImEZbi87lZbW+Nx2gDHy2s+0FLmKHUAMc5zi/KFyIHo1GxGX2vataIYNtuwzILs6CYYYPJoJkyyt5G96wJun1caMJFDcYF7e5fkjib8c0RuEYkXPXeQqFd7lLlZ9/wI1oRpd5HyTQ68prs/cfOqwNEae6vm808t1t88nQIDAQABMA0GCSqGSIb3DQEBCwUAA4GBADKVyZlPCXEMOcGGITDablxaC1srnmSi84Dw4cLdN3EvitVailFrduXld/5uMSTngLgKCldWiGm9uh8YK5Czx1M4lbnjWFqgVbFiWmBD9yGYI68ObJf2JGx8fzm4gBZLT4jlHqL/R6VPPsaUVmgoq4sgKW3W9GtUtWET4eDtKxx+</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly>
25 changes: 25 additions & 0 deletions PropertiesOfFile.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30523.141
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PropertiesOfFile", "PropertiesOfFile\PropertiesOfFile.csproj", "{3330B65E-8FE1-4582-AF11-A993013F4050}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3330B65E-8FE1-4582-AF11-A993013F4050}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3330B65E-8FE1-4582-AF11-A993013F4050}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3330B65E-8FE1-4582-AF11-A993013F4050}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3330B65E-8FE1-4582-AF11-A993013F4050}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7B1F44A0-3043-461B-8FE1-D26E0099F2FB}
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions PropertiesOfFile/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
169 changes: 169 additions & 0 deletions PropertiesOfFile/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

87 changes: 87 additions & 0 deletions PropertiesOfFile/Form1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PropertiesOfFile
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{

}

private void selectFile_Click(object sender, EventArgs e)
{

OpenFileDialog openDialog = new OpenFileDialog();
openDialog.Title = "Select A File";
openDialog.Filter = "Microsoft Office Document (*.docx)|*.docx";
if (openDialog.ShowDialog() == DialogResult.OK)
{
string file = openDialog.FileName;
fileName.Text = file;
}
}

private void fileName_TextChanged(object sender, EventArgs e)
{

}
private void calculate_Click(object sender, EventArgs e)
{
if (fileName.Text == "" || fileName.Text == "Please Choose .docx File To Proceed.")
{
fileName.Text = "Please Choose .docx File To Proceed.";
}
else
{
Program.FileProcess F = new Program.FileProcess(fileName.Text,confFileLoc.Text);
calculate.Enabled = false;
calculate.Text = "Processing...";
Cursor.Current = Cursors.WaitCursor;
F.StartCount();
Cursor.Current = Cursors.Default;
calculate.Enabled = true;
calculate.Text = "Click here to Start";
process.Value = 0;
}

}

public static void setMax(int max)
{
process.Maximum = max;
process.Minimum = 0;
process.Value = 0;
}
public static void updateProgressbar()
{
process.Value++;
}

private void anekaConfig_Click(object sender, EventArgs e)
{
OpenFileDialog openDialog = new OpenFileDialog();
openDialog.Title = "Select Configuration File";
openDialog.Filter = "Configuration File (*.xml)|*.xml";
if (openDialog.ShowDialog() == DialogResult.OK)
{
string file = openDialog.FileName;
confFileLoc.Text = file;
}
}
}
}
Loading

0 comments on commit 4c23ed4

Please sign in to comment.