Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
v202.0.0.102/ILSpy
  • Loading branch information
wybory2014 committed Nov 17, 2014
1 parent 8d4a6d5 commit 8188ab4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Kalkulator1.csproj
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{D73091F7-805E-4DED-8873-F38AF8600F00}</ProjectGuid>
<ProjectGuid>{7851895F-EA53-4D98-AD33-13DF717C6EC0}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>WinExe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion Kalkulator1.instalClass/Version.cs
Expand Up @@ -5,7 +5,7 @@ namespace Kalkulator1.instalClass
{
public static class Version
{
private static string version = "2.0.0.100";
private static string version = "2.0.0.102";
public static string getVersion()
{
return "v. " + Version.version;
Expand Down
20 changes: 5 additions & 15 deletions Kalkulator1/ProtocolForm.cs
Expand Up @@ -2465,7 +2465,7 @@ private void getHeader()
{
foreach (XmlNode xInst in xObwod)
{
if (xInst.Attributes["kod"].InnerText == this.inst)
if (xInst.Attributes["kod"].InnerText == this.inst && xInst.Attributes["inst_jns"].InnerText == this.instJNS)
{
this.instId = xInst.Attributes["id"].InnerText;
foreach (XmlNode xOkreg in xInst)
Expand Down Expand Up @@ -4604,11 +4604,6 @@ private void getCalculator()
save_as_candidate++;
}
}
this.countcandidatesoflist.Add(new int[]
{
nrListy,
save_as_candidate - 1
});
}
}
}
Expand Down Expand Up @@ -4833,8 +4828,8 @@ private void getCalculator()
{
lab.Text = node.ParentNode.Attributes.GetNamedItem("lp").Value + " ";
}
Label expr_4DCB = lab;
expr_4DCB.Text += node.InnerText;
Label expr_4DA7 = lab;
expr_4DA7.Text += node.InnerText;
lab.AutoSize = true;
lab.MaximumSize = new System.Drawing.Size(widthLine - placeForButton, 0);
lab.Font = new System.Drawing.Font(this.myfont, 9f);
Expand Down Expand Up @@ -6164,11 +6159,6 @@ private void getCalculator2()
save_as_candidate++;
}
}
this.countcandidatesoflist.Add(new int[]
{
nrListy,
save_as_candidate - 1
});
}
}
}
Expand Down Expand Up @@ -6393,8 +6383,8 @@ private void getCalculator2()
{
lab.Text = node.ParentNode.Attributes.GetNamedItem("lp").Value + " ";
}
Label expr_4A9D = lab;
expr_4A9D.Text += node.InnerText;
Label expr_4A79 = lab;
expr_4A79.Text += node.InnerText;
lab.AutoSize = true;
lab.MaximumSize = new System.Drawing.Size(widthLine - placeForButton, 0);
lab.Font = new System.Drawing.Font(this.myfont, 9f);
Expand Down
2 changes: 1 addition & 1 deletion Kalkulator1/ProtocolsList.cs
Expand Up @@ -1739,7 +1739,7 @@ private void getKLK(bool old)
{
inst_jns = inst_jnsXML.Value;
}
if (instkod == "RDA" && organNazwa == "m.st.")
if (instkod == "RDA" && (tmpJns[2] == '6' || tmpJns[2] == '7'))

This comment has been minimized.

Copy link
@siefca

siefca Nov 18, 2014

Dobra zmiana Agnieszko! Możesz też wprowadzić jakieś stałe, aby nie było magic numbers.

{
savePath = string.Concat(new string[]
{
Expand Down
4 changes: 4 additions & 0 deletions README.md
@@ -1,2 +1,6 @@
Kalkulator1
===========

Na podstawie pobieżnej analizy pliku wykonywalnego i rozwoju aplikacji można dojść do wniosku, że wykonanie Kalkulatora Wyborczego powierzono pojedynczej studence, pracującej prawdopodobnie dla zewnętrznego podwykonawcy. Pani Agnieszko, naprawdę współczujemy, jesteśmy z panią!

Polska to kraj, w którym los tysięcy członków komisji spoczywa na barkach początkującej programistki.

0 comments on commit 8188ab4

Please sign in to comment.