Skip to content

Commit 32f132b

Browse files
committed
Finalizado funcionalidade de alterar o texto do Cliente no Form principal
1 parent e09767a commit 32f132b

22 files changed

Lines changed: 407 additions & 83 deletions
62.2 KB
Binary file not shown.

.vs/VerificaVersaoDlls/v16/.suo

21.5 KB
Binary file not shown.

VerificaVersaoDlls/AlteraNomeCliente.Designer.cs

Lines changed: 88 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.ComponentModel;
4+
using System.Data;
5+
using System.Drawing;
6+
using System.Linq;
7+
using System.Text;
8+
using System.Threading.Tasks;
9+
using System.Windows.Forms;
10+
11+
namespace VerificaVersaoDlls
12+
{
13+
public partial class AlteraNomeCliente : Form
14+
{
15+
public AlteraNomeCliente()
16+
{
17+
InitializeComponent();
18+
19+
}
20+
21+
public string Text { get; set; }
22+
23+
24+
public void btn_SalvarNomeCliente_Click(object sender, EventArgs e)
25+
{
26+
Text = textBox1.Text;
27+
Close();
28+
29+
}
30+
31+
}
32+
}

VerificaVersaoDlls/Properties/Resources.Designer.cs

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

VerificaVersaoDlls/Properties/Resources.resx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
4747
mimetype: application/x-microsoft.net.object.binary.base64
4848
value : The object must be serialized with
49-
: System.Serialization.Formatters.Binary.BinaryFormatter
49+
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
5050
: and then encoded with base64 encoding.
5151
5252
mimetype: application/x-microsoft.net.object.soap.base64
@@ -60,6 +60,7 @@
6060
: and then encoded with base64 encoding.
6161
-->
6262
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6364
<xsd:element name="root" msdata:IsDataSet="true">
6465
<xsd:complexType>
6566
<xsd:choice maxOccurs="unbounded">
@@ -68,9 +69,10 @@
6869
<xsd:sequence>
6970
<xsd:element name="value" type="xsd:string" minOccurs="0" />
7071
</xsd:sequence>
71-
<xsd:attribute name="name" type="xsd:string" />
72+
<xsd:attribute name="name" use="required" type="xsd:string" />
7273
<xsd:attribute name="type" type="xsd:string" />
7374
<xsd:attribute name="mimetype" type="xsd:string" />
75+
<xsd:attribute ref="xml:space" />
7476
</xsd:complexType>
7577
</xsd:element>
7678
<xsd:element name="assembly">
@@ -85,9 +87,10 @@
8587
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
8688
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
8789
</xsd:sequence>
88-
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
90+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
8991
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
9092
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93+
<xsd:attribute ref="xml:space" />
9194
</xsd:complexType>
9295
</xsd:element>
9396
<xsd:element name="resheader">
@@ -109,9 +112,10 @@
109112
<value>2.0</value>
110113
</resheader>
111114
<resheader name="reader">
112-
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
115+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
113116
</resheader>
114117
<resheader name="writer">
115-
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
118+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116119
</resheader>
120+
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
117121
</root>

VerificaVersaoDlls/VerificaVersaoDlls.csproj

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,25 @@
4646
<Reference Include="System.Xml" />
4747
</ItemGroup>
4848
<ItemGroup>
49-
<Compile Include="Form1.cs">
49+
<Compile Include="AlteraNomeCliente.cs">
5050
<SubType>Form</SubType>
5151
</Compile>
52-
<Compile Include="Form1.Designer.cs">
53-
<DependentUpon>Form1.cs</DependentUpon>
52+
<Compile Include="AlteraNomeCliente.Designer.cs">
53+
<DependentUpon>AlteraNomeCliente.cs</DependentUpon>
54+
</Compile>
55+
<Compile Include="VersionChecker.cs">
56+
<SubType>Form</SubType>
57+
</Compile>
58+
<Compile Include="VersionChecker.Designer.cs">
59+
<DependentUpon>VersionChecker.cs</DependentUpon>
5460
</Compile>
5561
<Compile Include="Program.cs" />
5662
<Compile Include="Properties\AssemblyInfo.cs" />
57-
<EmbeddedResource Include="Form1.resx">
58-
<DependentUpon>Form1.cs</DependentUpon>
63+
<EmbeddedResource Include="AlteraNomeCliente.resx">
64+
<DependentUpon>AlteraNomeCliente.cs</DependentUpon>
65+
</EmbeddedResource>
66+
<EmbeddedResource Include="VersionChecker.resx">
67+
<DependentUpon>VersionChecker.cs</DependentUpon>
5968
</EmbeddedResource>
6069
<EmbeddedResource Include="Properties\Resources.resx">
6170
<Generator>ResXFileCodeGenerator</Generator>
@@ -65,6 +74,7 @@
6574
<Compile Include="Properties\Resources.Designer.cs">
6675
<AutoGen>True</AutoGen>
6776
<DependentUpon>Resources.resx</DependentUpon>
77+
<DesignTime>True</DesignTime>
6878
</Compile>
6979
<None Include="Properties\Settings.settings">
7080
<Generator>SettingsSingleFileGenerator</Generator>
@@ -75,9 +85,15 @@
7585
<DependentUpon>Settings.settings</DependentUpon>
7686
<DesignTimeSharedInput>True</DesignTimeSharedInput>
7787
</Compile>
88+
<None Include="versionchecker.json">
89+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
90+
</None>
7891
</ItemGroup>
7992
<ItemGroup>
8093
<None Include="App.config" />
8194
</ItemGroup>
95+
<ItemGroup>
96+
<Folder Include="Resources\" />
97+
</ItemGroup>
8298
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8399
</Project>

0 commit comments

Comments
 (0)