Skip to content

Commit

Permalink
1.2
Browse files Browse the repository at this point in the history
+ Ъпдейт по дизайна
+ Новости по Interface-a
  • Loading branch information
dayofpay committed Mar 4, 2022
1 parent adf1bc7 commit 47d25c0
Show file tree
Hide file tree
Showing 25 changed files with 581 additions and 152 deletions.
Binary file modified .vs/ViggneteCheckBG/v15/.suo
Binary file not shown.
Empty file.
Binary file modified .vs/ViggneteCheckBG/v15/Server/sqlite3/storage.ide
Binary file not shown.
Binary file modified .vs/ViggneteCheckBG/v15/Server/sqlite3/storage.ide-shm
Binary file not shown.
Binary file modified .vs/ViggneteCheckBG/v15/Server/sqlite3/storage.ide-wal
Binary file not shown.
105 changes: 105 additions & 0 deletions ViggneteCheckBG/Error.Designer.cs

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

57 changes: 57 additions & 0 deletions ViggneteCheckBG/Error.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ViggneteCheckBG
{
public partial class Error : Form
{
[DllImport("Gdi32.dll", EntryPoint = "CreateRoundRectRgn")]
private static extern IntPtr CreateRoundRectRgn
(
int nLeftRect, // x-кординати of на горен ляв ъгъл
int nTopRect, // y-кординати of на горен десен ъгъл
int nRightRect, // x-кординати of на долен ляв ъгъл
int nBottomRect, // y-кординати of на долен десен ъгъл
int nWidthEllipse, // Височина на елипса
int nHeightEllipse // Дължина на елипса
);
public static string getError
{
get;
set;
}
public static string errorText
{
get;
set;
}
public Error()
{
InitializeComponent();
this.FormBorderStyle = FormBorderStyle.None;
Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 20, 20));
}

private void Error_Load(object sender, EventArgs e)
{

if(getError == "invalidVehicle")
{
pictureBox1.Image = Properties.Resources.car_64px;
}
else // Ако грешката е неиндифицирана
{
pictureBox1.Image = Properties.Resources.cancel_24px;
}
errorId.Text = errorText;
}
}
}
123 changes: 123 additions & 0 deletions ViggneteCheckBG/Error.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="abs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
11 changes: 6 additions & 5 deletions ViggneteCheckBG/Properties/licenses.licx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Bunifu.UI.WinForms.BunifuSnackbar, Bunifu.UI.WinForms.BunifuSnackbar, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuRating, Bunifu.UI.WinForms.BunifuRating, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuRadialGauge, Bunifu.UI.WinForms.BunifuGauge, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuHScrollBar, Bunifu.UI.WinForms.BunifuScrollBar, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuTextBox, Bunifu.UI.WinForms.BunifuTextBox, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuPanel, Bunifu.UI.WinForms.BunifuPanel, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuHScrollBar, Bunifu.UI.WinForms.BunifuScrollBar, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuButton.BunifuButton2, Bunifu.UI.WinForms.BunifuButton, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuButton.BunifuButton, Bunifu.UI.WinForms.BunifuButton, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuPanel, Bunifu.UI.WinForms.BunifuPanel, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuDropdown, Bunifu.UI.WinForms.BunifuDropdown, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuSnackbar, Bunifu.UI.WinForms.BunifuSnackbar, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuRating, Bunifu.UI.WinForms.BunifuRating, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
Bunifu.UI.WinForms.BunifuRadialGauge, Bunifu.UI.WinForms.BunifuGauge, Version=5.3.0.0, Culture=neutral, PublicKeyToken=e8e24ccd28363fe9
9 changes: 9 additions & 0 deletions ViggneteCheckBG/ViggneteCheckBG.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Error.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Error.Designer.cs">
<DependentUpon>Error.cs</DependentUpon>
</Compile>
<Compile Include="katGlobi.cs">
<SubType>Form</SubType>
</Compile>
Expand Down Expand Up @@ -189,6 +195,9 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Error.resx">
<DependentUpon>Error.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="katGlobi.resx">
<DependentUpon>katGlobi.cs</DependentUpon>
</EmbeddedResource>
Expand Down
Binary file added ViggneteCheckBG/bin/Debug/1.2.zip
Binary file not shown.
Binary file modified ViggneteCheckBG/bin/Debug/ViggneteCheckBG.exe
Binary file not shown.
Binary file modified ViggneteCheckBG/bin/Debug/ViggneteCheckBG.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6f76ab6cd2d632cedf92fefe4345b57c7c28ccc1
bd12aa834f280e2953981a5e87366e452b9a9d90
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,4 @@ C:\Users\dayofpay\source\repos\ViggneteCheckBG\ViggneteCheckBG\obj\Debug\Viggnet
C:\Users\dayofpay\source\repos\ViggneteCheckBG\ViggneteCheckBG\bin\Debug\Guna.UI.dll
C:\Users\dayofpay\source\repos\ViggneteCheckBG\ViggneteCheckBG\obj\Debug\ViggneteCheckBG.katGlobi.resources
C:\Users\dayofpay\source\repos\ViggneteCheckBG\ViggneteCheckBG\obj\Debug\ViggneteCheckBG.katResult.resources
C:\Users\dayofpay\source\repos\ViggneteCheckBG\ViggneteCheckBG\obj\Debug\ViggneteCheckBG.Error.resources
Binary file not shown.
Binary file modified ViggneteCheckBG/obj/Debug/ViggneteCheckBG.exe
Binary file not shown.
Binary file modified ViggneteCheckBG/obj/Debug/ViggneteCheckBG.pdb
Binary file not shown.
Binary file modified ViggneteCheckBG/obj/Debug/ViggneteCheckBG.startUI.resources
Binary file not shown.
Binary file modified ViggneteCheckBG/obj/Debug/viggnetecheckbg.exe.licenses
Binary file not shown.
Loading

0 comments on commit 47d25c0

Please sign in to comment.