mirror of
https://github.com/Stefan-5422/Superbuchaltung.git
synced 2026-09-04 08:56:03 +02:00
Compare commits
3
Commits
v0.1
..
development
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19579405fe | ||
|
|
b6ae111aee | ||
|
|
5fce70c8e6 |
@@ -1,2 +0,0 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,12 +0,0 @@
|
||||
0120;Datenverarbeitungsprogramme
|
||||
0180;Geleistete Anzahlungen fuer immaterielle Vermoegensgegenstaende
|
||||
0200;Unbebaute Grundstuecke
|
||||
0210;Bebaute Grundstuecke (Grundwert)
|
||||
0300;Gebaeude
|
||||
0400;Maschinen
|
||||
0500;Werkzeuge
|
||||
0600;Betriebs- und Geschaeftsausstattung
|
||||
0620;Bueromaschinen, EDV-Anlagen
|
||||
0630;Pkw und Kombis
|
||||
0640;LKW
|
||||
0800;Beteiligung
|
||||
@@ -1,13 +0,0 @@
|
||||
1000;Bezugsverrechnung
|
||||
1100;Rohstoffvorrat
|
||||
1250;Vorrat Ersatzteile
|
||||
1300;Hilfsstoffvorrat
|
||||
1340;Vorrat Verpackungsmaterial
|
||||
1350;Vorrat Betriebsstoffe
|
||||
1360;Vorrat Heizoel
|
||||
1365;Vorrat Schmiermittel
|
||||
1370;Vorrat Reinigungsmaterial
|
||||
1390;Vorrat Bueromaterial
|
||||
1400;Unfertige Erzeugnisse
|
||||
1500;Fertige Erzeugnisse
|
||||
1600;Handelswarenvorrat
|
||||
@@ -1,12 +0,0 @@
|
||||
2000;Lieferforderungen(Forderungen aus Lieferungen und Leistungen Inland, Kundensammelkonto)
|
||||
2300;Sonstige Forderungen
|
||||
2320;Gegebene Darlehen
|
||||
2380;Guthaben bei Lieferanten(nicht aus Anzahlungen)
|
||||
2400;Lohn- und Gehaltsvorschuesse
|
||||
2500;Vorsteuer
|
||||
2700;Kassa
|
||||
2800;Bank (Guthaben bei Kreditinstituten)
|
||||
2810;PSK
|
||||
2870;Barverkehr mit Banken
|
||||
2880;Forderungen Kreditkartenunternehmen
|
||||
2885;Forderungen Bankomatkarten
|
||||
@@ -1,12 +0,0 @@
|
||||
3120;Bank (Bankschuld, Verbindlichkeiten gegenueber Kreditinstituten)
|
||||
3150;Darlehen(von einer Bank)
|
||||
3180;Verbindlichkeiten Kreditkartenunternehmen
|
||||
3190;Verbindlichkeiten Bankomatkarten
|
||||
3300;Lieferverbindlichkeiten (Verbindlichkeiten aus Lieferungen und Leistungen Inland, Lieferantensammelkonto)
|
||||
3500;Umsatzsteuer
|
||||
3520;USt-Zahllast
|
||||
3540;Verbindlichkeiten Finanzamt (Verrechnungskonto Finanzamt)
|
||||
3600;Verbindlichkeiten Krankenkasse
|
||||
3610;Verbindlichkeiten Gemeinde (Stadtkasse)
|
||||
3800;Sonstige Verbindlichkeiten
|
||||
3850;Verbindlichkeiten gegen Mitarbeiter aus der Bezugsverrechnung
|
||||
@@ -1,15 +0,0 @@
|
||||
4000;Handelswarenerloese 20% (Fertigerzeugniserloese oder andere Erloese oder Ertraege aus der Hauptleistungdes (Unternehmens)
|
||||
4001;Handelswarenerloese 10%
|
||||
4002;Handelswarenerloese 13%
|
||||
4100;Fertigerzeugniserloese
|
||||
4400;Erloesberichtigungen
|
||||
4410;Kundenskonti
|
||||
4500;Bestandsveraenderungen
|
||||
4810;Mietertraege (Pachtertraege)*
|
||||
4820;Provisionsertraege*
|
||||
4880;uebrige betriebliche Ertraege
|
||||
4890;Mahnspesenverguetungen
|
||||
4900;Eigenverbrauch 20%
|
||||
4901;Eigenverbrauch 10%
|
||||
4902;Eigenverbrauch 13%
|
||||
4903;Eigenverbrauch 0%
|
||||
@@ -1,15 +0,0 @@
|
||||
5000;Handelswareneinsatz 20%
|
||||
5001;Handelswareneinsatz 10%
|
||||
5002;Handelswareneinsatz 13%
|
||||
5100;Rohstoffverbrauch (-einsatz)
|
||||
5300;Hilfsstoffverbrauch
|
||||
5340;Verpackungsmaterialverbrauch
|
||||
5400;Betriebsstoffverbrauch
|
||||
5410;Schmiermittelverbrauch
|
||||
5420;Reparaturmaterialverbrauch
|
||||
5450;Reinigungsmaterialverbrauch
|
||||
5500;Verbrauch von Werkzeugen, Erzeugungshilfsmitteln
|
||||
5510;Ersatzteileverbrauch
|
||||
5600;Bezugskosten
|
||||
5880;Lieferantenskonti auf Wareneinkauf (Materialaufwand)
|
||||
5890;Umsatzbonus auf Wareneinkauf
|
||||
@@ -1,16 +0,0 @@
|
||||
6000;Fertigungsloehne
|
||||
6010;Hilfsloehne
|
||||
6100;Lehrlingsentschaedigungen Arbeiter
|
||||
6200;Gehaelter
|
||||
6300;Lehrlingsentschaedigungen Angestellte
|
||||
6500;Gesetzlicher Sozialaufwand Arbeiter
|
||||
6560;Gesetzlicher Sozialaufwand Angestellte
|
||||
6600;Dienstgeberbeitrag Arbeiter
|
||||
6610;Zuschlag zum DB Arbeiter
|
||||
6620;Kommunalsteuer Arbeiter
|
||||
6630;Wiener Dienstgeberabgabe Arbeiter
|
||||
6660;Dienstgeberbeitrag Angestellte
|
||||
6670;Zuschlag zum DB Angestellte
|
||||
6680;Kommunalsteuer Angestellte
|
||||
6690;Wiener Dienstgeberabgabe Angestellte
|
||||
6700;Freiwilliger Sozialaufwand
|
||||
@@ -1,45 +0,0 @@
|
||||
7100;Grundsteuer
|
||||
7150;Tourismusabgabe (Interessentenbeitrag)
|
||||
7180;Gebuehren
|
||||
7190;Sonstige Abgaben
|
||||
7200;Instandhaltung durch Dritte
|
||||
7210;Reinigung durch Dritte
|
||||
7220;Entsorgungsaufwand
|
||||
7240;Heizoelverbrauch
|
||||
7250;Treibstoffverbrauch
|
||||
7260;Gasverbrauch
|
||||
7270;Stromverbrauch
|
||||
7280;Heizmaterialverbrauch (feste Brennstoffe)
|
||||
7300;Ausgangsfrachten (Transporte durch Dritte)
|
||||
7310;Paketgebuehren 20%
|
||||
7311;Paketgebuehren 0%
|
||||
7320;Pkw- und Kombi-Betriebsaufwand
|
||||
7321;Motorbezogene Versicherungssteuer Pkw und Kombis
|
||||
7325;Versicherungsaufwand Pkw und Kombis
|
||||
7326;Parkgebuehren, Strassenmaut Pkw und Kombis
|
||||
7330;Lkw-Betriebsaufwand
|
||||
7331;Motorbezogene Versicherungssteuer Lkw
|
||||
7332;Kraftfahrzeugsteuer Lkw
|
||||
7335;Versicherungsaufwand Lkw
|
||||
7336;Parkgebuehren, Strassenmaut Lkw
|
||||
7380;Telefongebuehren (Telefaxgebuehren)
|
||||
7381;Internetgebuehren
|
||||
7385;Portogebuehren
|
||||
7400;Mietaufwand (Pachtaufwand)
|
||||
7540;Provisionen an Dritte (Nicht-Arbeitnehmer)
|
||||
7600;Bueromaterial (Bueroaufwand, Buerobedarf)
|
||||
7610;Kopien und sonstige Druckkosten
|
||||
7630;Fachliteratur und Zeitungen
|
||||
7650;Werbeaufwand
|
||||
7680;Spenden und Trinkgelder
|
||||
7700;Versicherungsaufwand
|
||||
7740;Versicherungsbeitraege an die Sozialversicherungsanstalt der gewerblichen Wirtschaft
|
||||
7750;Rechts- und Beratungsaufwand
|
||||
7780;Kammerumlage
|
||||
7790;Spesen des Geldverkehrs
|
||||
7791;Sonstige Bankspesen
|
||||
7792;Provisionen, Gebuehren Kredit- und Bankomatkarten
|
||||
7811;Konventionalstrafen
|
||||
7819;Sonstige Schadensfaelle
|
||||
7850;uebrige betriebliche Aufwendungen
|
||||
7890;Lieferantenskonti auf sonstige betriebliche Aufwendungen
|
||||
@@ -1,12 +0,0 @@
|
||||
8050;Zinsenertraege aus Bankguthaben
|
||||
8051;Zinsenertraege aus gewaehrten Darlehen
|
||||
8055;Verzugszinsenertraege
|
||||
8056;Sonstige Zinsenertraege 20%
|
||||
8057;Sonstige Zinsenertraege 10%
|
||||
8310;Zinsenaufwand fuer Bankkredite
|
||||
8311;Sonstiger Aufwand fuer Bankkredite (z.B. Bereitstellungsprovision, ueberziehungsprovision)
|
||||
8315;Zinsenaufwand fuer Darlehen
|
||||
8320;Verzugszinsenaufwand
|
||||
8321;Mahnspesen
|
||||
8325;Zinsenaufwand fuer Lieferantenkredite 20%
|
||||
8326;Zinsenaufwand fuer Lieferantenkredite 10%
|
||||
@@ -1,6 +0,0 @@
|
||||
9000;Kapital
|
||||
9600;Private
|
||||
9610;Privatsteuern
|
||||
9800;Eroeffnungsbilanzkonto (EBK)
|
||||
9850;Schlussbilanzkonto (SBK)
|
||||
9890;Gewinn- und Verlustkonto (GuV)
|
||||
@@ -1,2 +0,0 @@
|
||||
# Superbuchaltung
|
||||
Put the Initial files in the folder C:/Users/Public/Testfolder
|
||||
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
||||
Generated
-399
@@ -1,399 +0,0 @@
|
||||
namespace Superbuchhaltung
|
||||
{
|
||||
partial class Main
|
||||
{
|
||||
/// <summary>
|
||||
/// Erforderliche Designervariable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Verwendete Ressourcen bereinigen.
|
||||
/// </summary>
|
||||
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Vom Windows Form-Designer generierter Code
|
||||
|
||||
/// <summary>
|
||||
/// Erforderliche Methode für die Designerunterstützung.
|
||||
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.Kat0btn = new System.Windows.Forms.Button();
|
||||
this.Homebtn = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.PH = new System.Windows.Forms.Panel();
|
||||
this.PHdataview = new System.Windows.Forms.DataGridView();
|
||||
this.BNummer = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.BName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.BWert = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Pdataview = new System.Windows.Forms.DataGridView();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton();
|
||||
this.addentrieToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.reloadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.modifyToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.queryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.Databtn = new System.Windows.Forms.ToolStripDropDownButton();
|
||||
this.modifyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.Addentriemenuueitem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.P = new System.Windows.Forms.Panel();
|
||||
this.Pdatagridview = new System.Windows.Forms.DataGridView();
|
||||
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.PH.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.PHdataview)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.Pdataview)).BeginInit();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.P.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.Pdatagridview)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.panel1.AutoSize = true;
|
||||
this.panel1.BackColor = System.Drawing.Color.Green;
|
||||
this.panel1.Controls.Add(this.Kat0btn);
|
||||
this.panel1.Controls.Add(this.Homebtn);
|
||||
this.panel1.Location = new System.Drawing.Point(1, 27);
|
||||
this.panel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(197, 532);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// Kat0btn
|
||||
//
|
||||
this.Kat0btn.FlatAppearance.BorderSize = 0;
|
||||
this.Kat0btn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.Kat0btn.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Kat0btn.ForeColor = System.Drawing.Color.White;
|
||||
this.Kat0btn.Location = new System.Drawing.Point(0, 147);
|
||||
this.Kat0btn.Name = "Kat0btn";
|
||||
this.Kat0btn.Size = new System.Drawing.Size(194, 54);
|
||||
this.Kat0btn.TabIndex = 3;
|
||||
this.Kat0btn.Text = "0. Kategorie";
|
||||
this.Kat0btn.UseVisualStyleBackColor = true;
|
||||
this.Kat0btn.Click += new System.EventHandler(this.Kat0btn_Click);
|
||||
//
|
||||
// Homebtn
|
||||
//
|
||||
this.Homebtn.FlatAppearance.BorderSize = 0;
|
||||
this.Homebtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.Homebtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Homebtn.ForeColor = System.Drawing.Color.White;
|
||||
this.Homebtn.Location = new System.Drawing.Point(0, 87);
|
||||
this.Homebtn.Name = "Homebtn";
|
||||
this.Homebtn.Size = new System.Drawing.Size(194, 54);
|
||||
this.Homebtn.TabIndex = 2;
|
||||
this.Homebtn.Text = "Home";
|
||||
this.Homebtn.UseVisualStyleBackColor = true;
|
||||
this.Homebtn.Click += new System.EventHandler(this.Homebtn_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.DarkGreen;
|
||||
this.panel2.Controls.Add(this.button1);
|
||||
this.panel2.Location = new System.Drawing.Point(1, 0);
|
||||
this.panel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(197, 109);
|
||||
this.panel2.TabIndex = 1;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.button1.FlatAppearance.BorderSize = 0;
|
||||
this.button1.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||
this.button1.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.button1.Font = new System.Drawing.Font("Bahnschrift", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button1.ForeColor = System.Drawing.SystemColors.Control;
|
||||
this.button1.Location = new System.Drawing.Point(0, 27);
|
||||
this.button1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(197, 78);
|
||||
this.button1.TabIndex = 2;
|
||||
this.button1.Text = "Ohno Buchhaltung";
|
||||
this.button1.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// PH
|
||||
//
|
||||
this.PH.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.PH.Controls.Add(this.PHdataview);
|
||||
this.PH.Location = new System.Drawing.Point(200, 0);
|
||||
this.PH.Name = "PH";
|
||||
this.PH.Size = new System.Drawing.Size(919, 556);
|
||||
this.PH.TabIndex = 2;
|
||||
//
|
||||
// PHdataview
|
||||
//
|
||||
this.PHdataview.AllowUserToAddRows = false;
|
||||
this.PHdataview.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.PHdataview.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.PHdataview.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.BNummer,
|
||||
this.BName,
|
||||
this.BWert});
|
||||
this.PHdataview.Location = new System.Drawing.Point(3, 25);
|
||||
this.PHdataview.Name = "PHdataview";
|
||||
this.PHdataview.RowHeadersWidth = 10;
|
||||
this.PHdataview.RowTemplate.Height = 24;
|
||||
this.PHdataview.Size = new System.Drawing.Size(916, 531);
|
||||
this.PHdataview.TabIndex = 0;
|
||||
this.PHdataview.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView1_CellContentClick);
|
||||
//
|
||||
// BNummer
|
||||
//
|
||||
this.BNummer.HeaderText = "Kontennummer";
|
||||
this.BNummer.MinimumWidth = 6;
|
||||
this.BNummer.Name = "BNummer";
|
||||
this.BNummer.ReadOnly = true;
|
||||
this.BNummer.Width = 125;
|
||||
//
|
||||
// BName
|
||||
//
|
||||
this.BName.HeaderText = "Kontenname";
|
||||
this.BName.MinimumWidth = 6;
|
||||
this.BName.Name = "BName";
|
||||
this.BName.ReadOnly = true;
|
||||
this.BName.Width = 512;
|
||||
//
|
||||
// BWert
|
||||
//
|
||||
this.BWert.HeaderText = "Kontensumme";
|
||||
this.BWert.MinimumWidth = 6;
|
||||
this.BWert.Name = "BWert";
|
||||
this.BWert.ReadOnly = true;
|
||||
this.BWert.Width = 125;
|
||||
//
|
||||
// Pdataview
|
||||
//
|
||||
this.Pdataview.ColumnHeadersHeight = 29;
|
||||
this.Pdataview.Location = new System.Drawing.Point(0, 0);
|
||||
this.Pdataview.Name = "Pdataview";
|
||||
this.Pdataview.RowHeadersWidth = 51;
|
||||
this.Pdataview.Size = new System.Drawing.Size(240, 150);
|
||||
this.Pdataview.TabIndex = 0;
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripDropDownButton1});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1120, 27);
|
||||
this.toolStrip1.TabIndex = 0;
|
||||
//
|
||||
// toolStripDropDownButton1
|
||||
//
|
||||
this.toolStripDropDownButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
||||
this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.addentrieToolStripMenuItem,
|
||||
this.reloadToolStripMenuItem,
|
||||
this.modifyToolStripMenuItem1,
|
||||
this.queryToolStripMenuItem});
|
||||
this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image")));
|
||||
this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripDropDownButton1.Name = "toolStripDropDownButton1";
|
||||
this.toolStripDropDownButton1.Size = new System.Drawing.Size(55, 24);
|
||||
this.toolStripDropDownButton1.Text = "Data";
|
||||
//
|
||||
// addentrieToolStripMenuItem
|
||||
//
|
||||
this.addentrieToolStripMenuItem.Name = "addentrieToolStripMenuItem";
|
||||
this.addentrieToolStripMenuItem.Size = new System.Drawing.Size(224, 26);
|
||||
this.addentrieToolStripMenuItem.Text = "Addentrie";
|
||||
this.addentrieToolStripMenuItem.Click += new System.EventHandler(this.AddentrieToolStripMenuItem_Click);
|
||||
//
|
||||
// reloadToolStripMenuItem
|
||||
//
|
||||
this.reloadToolStripMenuItem.Name = "reloadToolStripMenuItem";
|
||||
this.reloadToolStripMenuItem.Size = new System.Drawing.Size(224, 26);
|
||||
this.reloadToolStripMenuItem.Text = "Reload";
|
||||
this.reloadToolStripMenuItem.Click += new System.EventHandler(this.ReloadToolStripMenuItem_Click);
|
||||
//
|
||||
// modifyToolStripMenuItem1
|
||||
//
|
||||
this.modifyToolStripMenuItem1.Name = "modifyToolStripMenuItem1";
|
||||
this.modifyToolStripMenuItem1.Size = new System.Drawing.Size(224, 26);
|
||||
this.modifyToolStripMenuItem1.Text = "Modify";
|
||||
this.modifyToolStripMenuItem1.Click += new System.EventHandler(this.ModifyToolStripMenuItem1_Click);
|
||||
//
|
||||
// queryToolStripMenuItem
|
||||
//
|
||||
this.queryToolStripMenuItem.Name = "queryToolStripMenuItem";
|
||||
this.queryToolStripMenuItem.Size = new System.Drawing.Size(224, 26);
|
||||
this.queryToolStripMenuItem.Text = "Query";
|
||||
this.queryToolStripMenuItem.Click += new System.EventHandler(this.QueryToolStripMenuItem_Click);
|
||||
//
|
||||
// Databtn
|
||||
//
|
||||
this.Databtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
||||
this.Databtn.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.modifyToolStripMenuItem,
|
||||
this.Addentriemenuueitem,
|
||||
this.refreshToolStripMenuItem});
|
||||
this.Databtn.Image = ((System.Drawing.Image)(resources.GetObject("Databtn.Image")));
|
||||
this.Databtn.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.Databtn.Name = "Databtn";
|
||||
this.Databtn.Size = new System.Drawing.Size(55, 24);
|
||||
this.Databtn.Text = "Data";
|
||||
//
|
||||
// modifyToolStripMenuItem
|
||||
//
|
||||
this.modifyToolStripMenuItem.Name = "modifyToolStripMenuItem";
|
||||
this.modifyToolStripMenuItem.Size = new System.Drawing.Size(158, 26);
|
||||
this.modifyToolStripMenuItem.Text = "Modify";
|
||||
this.modifyToolStripMenuItem.Click += new System.EventHandler(this.ModifyToolStripMenuItem_Click);
|
||||
//
|
||||
// Addentriemenuueitem
|
||||
//
|
||||
this.Addentriemenuueitem.Name = "Addentriemenuueitem";
|
||||
this.Addentriemenuueitem.Size = new System.Drawing.Size(158, 26);
|
||||
this.Addentriemenuueitem.Text = "Addentrie";
|
||||
this.Addentriemenuueitem.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
|
||||
//
|
||||
// refreshToolStripMenuItem
|
||||
//
|
||||
this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem";
|
||||
this.refreshToolStripMenuItem.Size = new System.Drawing.Size(158, 26);
|
||||
this.refreshToolStripMenuItem.Text = "Refresh";
|
||||
this.refreshToolStripMenuItem.Click += new System.EventHandler(this.RefreshToolStripMenuItem_Click);
|
||||
//
|
||||
// P
|
||||
//
|
||||
this.P.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.P.Controls.Add(this.Pdatagridview);
|
||||
this.P.Location = new System.Drawing.Point(200, 0);
|
||||
this.P.Name = "P";
|
||||
this.P.Size = new System.Drawing.Size(919, 556);
|
||||
this.P.TabIndex = 3;
|
||||
//
|
||||
// Pdatagridview
|
||||
//
|
||||
this.Pdatagridview.AllowUserToAddRows = false;
|
||||
this.Pdatagridview.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.Pdatagridview.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.Pdatagridview.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dataGridViewTextBoxColumn1,
|
||||
this.dataGridViewTextBoxColumn2,
|
||||
this.dataGridViewTextBoxColumn3});
|
||||
this.Pdatagridview.Location = new System.Drawing.Point(3, 25);
|
||||
this.Pdatagridview.Name = "Pdatagridview";
|
||||
this.Pdatagridview.RowHeadersWidth = 10;
|
||||
this.Pdatagridview.RowTemplate.Height = 24;
|
||||
this.Pdatagridview.Size = new System.Drawing.Size(916, 531);
|
||||
this.Pdatagridview.TabIndex = 0;
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn1.HeaderText = "Kontennummer";
|
||||
this.dataGridViewTextBoxColumn1.MinimumWidth = 6;
|
||||
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn1.Width = 125;
|
||||
//
|
||||
// dataGridViewTextBoxColumn2
|
||||
//
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "Kontenname";
|
||||
this.dataGridViewTextBoxColumn2.MinimumWidth = 6;
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn2.Width = 512;
|
||||
//
|
||||
// dataGridViewTextBoxColumn3
|
||||
//
|
||||
this.dataGridViewTextBoxColumn3.HeaderText = "Kontensumme";
|
||||
this.dataGridViewTextBoxColumn3.MinimumWidth = 6;
|
||||
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||
this.dataGridViewTextBoxColumn3.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn3.Width = 125;
|
||||
//
|
||||
// Main
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.AutoScroll = true;
|
||||
this.ClientSize = new System.Drawing.Size(1120, 562);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.PH);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Location = new System.Drawing.Point(200, 0);
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.Name = "Main";
|
||||
this.Text = "Ohno Buchaltung";
|
||||
this.Load += new System.EventHandler(this.Form1_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.PH.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.PHdataview)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.Pdataview)).EndInit();
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.P.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.Pdatagridview)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button Kat0btn;
|
||||
private System.Windows.Forms.Button Homebtn;
|
||||
private System.Windows.Forms.Panel PH;
|
||||
private System.Windows.Forms.DataGridView PHdataview;
|
||||
private System.Windows.Forms.DataGridView Pdataview;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripDropDownButton Databtn;
|
||||
private System.Windows.Forms.ToolStripMenuItem Addentriemenuueitem;
|
||||
private System.Windows.Forms.ToolStripMenuItem refreshToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem modifyToolStripMenuItem;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn BNummer;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn BName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn BWert;
|
||||
private System.Windows.Forms.Panel P;
|
||||
private System.Windows.Forms.DataGridView Pdatagridview;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||
private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownButton1;
|
||||
private System.Windows.Forms.ToolStripMenuItem addentrieToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem reloadToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem modifyToolStripMenuItem1;
|
||||
private System.Windows.Forms.ToolStripMenuItem queryToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,137 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
|
||||
namespace Superbuchhaltung
|
||||
{
|
||||
public partial class Main : Form
|
||||
{
|
||||
private int Selection = 0;
|
||||
public Main()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Form1_Load(object sender, EventArgs e)
|
||||
{
|
||||
P.Visible = true;
|
||||
Reloadview();
|
||||
|
||||
}
|
||||
private void Changeview()
|
||||
{
|
||||
PH.Visible = false;
|
||||
P.Visible = false;
|
||||
}
|
||||
|
||||
private void Homebtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
Changeview();
|
||||
PH.Visible = true;
|
||||
Selection = 0;
|
||||
Reloadview();
|
||||
}
|
||||
|
||||
private void DataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
Console.WriteLine(PHdataview.Rows[PHdataview.CurrentCell.RowIndex].Cells.ToString());
|
||||
}
|
||||
|
||||
private void Kat0btn_Click(object sender, EventArgs e)
|
||||
{
|
||||
Changeview();
|
||||
P.Visible = true;
|
||||
Pdatagridview.Visible = true;
|
||||
Selection = 1;
|
||||
Reloadview();
|
||||
}
|
||||
private void ToolStripMenuItem1_Click(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void ToolStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void RefreshToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Reloadview();
|
||||
}
|
||||
public void Reloadview()
|
||||
{
|
||||
if (Selection == 0)
|
||||
{
|
||||
PHdataview.Rows.Clear();
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
string[] file = File.ReadAllLines(@"C:\Users\Public\TestFolder\" + i + ".txt");
|
||||
foreach (string f in file)
|
||||
{
|
||||
if (f.Length < 4) continue;
|
||||
PHdataview.Rows.Add(f.Split(';'));
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
string[] file = File.ReadAllLines(@"C:\Users\Public\TestFolder\" + Selection + ".txt");
|
||||
foreach (string f in file)
|
||||
{
|
||||
PHdataview.Rows.Add(f.Split(';'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ModifyToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void AddentrieToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Addentrie f = new Addentrie();
|
||||
f.Show();
|
||||
}
|
||||
|
||||
private void ReloadToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Reloadview();
|
||||
}
|
||||
|
||||
private void QueryToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Forms.Prompts.Query q = new Forms.Prompts.Query();
|
||||
q.Show();
|
||||
}
|
||||
public void Search(List<string> result)
|
||||
{
|
||||
Changeview();
|
||||
PH.Visible = true;
|
||||
PHdataview.Rows.Clear();
|
||||
Console.WriteLine(result.Count);
|
||||
for (int i = 0; i < result.Count; i++)
|
||||
{
|
||||
Console.WriteLine(result.ElementAt(i));
|
||||
PHdataview.Rows.Add(result.ElementAt(i).Split(';'));
|
||||
}
|
||||
}
|
||||
|
||||
private void ModifyToolStripMenuItem1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//Forms.Prompts.Modify M = new Forms.Prompts.Modify();
|
||||
//M.Show();
|
||||
PHdataview.Rows.Clear();
|
||||
PHdataview.Rows.Add("ERROR", "Modify not Implimented yet!");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,172 +0,0 @@
|
||||
<?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="BNummer.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="BName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="BWert.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>16, 13</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="toolStripDropDownButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="Databtn.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
-118
@@ -1,118 +0,0 @@
|
||||
namespace Superbuchhaltung
|
||||
{
|
||||
partial class Addentrie
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.Kontonamebox = new System.Windows.Forms.TextBox();
|
||||
this.Kontonummerbox = new System.Windows.Forms.TextBox();
|
||||
this.Bestätigungsbutton = new System.Windows.Forms.Button();
|
||||
this.CancelBtn = new System.Windows.Forms.Button();
|
||||
this.Kontolabel1 = new System.Windows.Forms.Label();
|
||||
this.Kontolabel2 = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// Kontonamebox
|
||||
//
|
||||
this.Kontonamebox.Location = new System.Drawing.Point(168, 31);
|
||||
this.Kontonamebox.Name = "Kontonamebox";
|
||||
this.Kontonamebox.Size = new System.Drawing.Size(156, 22);
|
||||
this.Kontonamebox.TabIndex = 1;
|
||||
//
|
||||
// Kontonummerbox
|
||||
//
|
||||
this.Kontonummerbox.Location = new System.Drawing.Point(6, 31);
|
||||
this.Kontonummerbox.Name = "Kontonummerbox";
|
||||
this.Kontonummerbox.Size = new System.Drawing.Size(156, 22);
|
||||
this.Kontonummerbox.TabIndex = 2;
|
||||
//
|
||||
// Bestätigungsbutton
|
||||
//
|
||||
this.Bestätigungsbutton.Location = new System.Drawing.Point(341, 12);
|
||||
this.Bestätigungsbutton.Name = "Bestätigungsbutton";
|
||||
this.Bestätigungsbutton.Size = new System.Drawing.Size(108, 25);
|
||||
this.Bestätigungsbutton.TabIndex = 3;
|
||||
this.Bestätigungsbutton.Text = "Add";
|
||||
this.Bestätigungsbutton.UseVisualStyleBackColor = true;
|
||||
this.Bestätigungsbutton.Click += new System.EventHandler(this.Bestätigungsbutton_Click);
|
||||
//
|
||||
// CancelBtn
|
||||
//
|
||||
this.CancelBtn.Location = new System.Drawing.Point(341, 43);
|
||||
this.CancelBtn.Name = "CancelBtn";
|
||||
this.CancelBtn.Size = new System.Drawing.Size(108, 25);
|
||||
this.CancelBtn.TabIndex = 4;
|
||||
this.CancelBtn.Text = "Cancel";
|
||||
this.CancelBtn.UseVisualStyleBackColor = true;
|
||||
this.CancelBtn.Click += new System.EventHandler(this.CancelBtn_Click);
|
||||
//
|
||||
// Kontolabel1
|
||||
//
|
||||
this.Kontolabel1.Location = new System.Drawing.Point(12, 5);
|
||||
this.Kontolabel1.Name = "Kontolabel1";
|
||||
this.Kontolabel1.Size = new System.Drawing.Size(100, 23);
|
||||
this.Kontolabel1.TabIndex = 0;
|
||||
this.Kontolabel1.Text = "Kontonummer";
|
||||
//
|
||||
// Kontolabel2
|
||||
//
|
||||
this.Kontolabel2.Location = new System.Drawing.Point(195, 5);
|
||||
this.Kontolabel2.Name = "Kontolabel2";
|
||||
this.Kontolabel2.Size = new System.Drawing.Size(100, 23);
|
||||
this.Kontolabel2.TabIndex = 5;
|
||||
this.Kontolabel2.Text = "Kontoname";
|
||||
this.Kontolabel2.Click += new System.EventHandler(this.Kontolabel2_Click);
|
||||
//
|
||||
// Addentrie
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(461, 78);
|
||||
this.Controls.Add(this.Kontolabel2);
|
||||
this.Controls.Add(this.Kontolabel1);
|
||||
this.Controls.Add(this.CancelBtn);
|
||||
this.Controls.Add(this.Bestätigungsbutton);
|
||||
this.Controls.Add(this.Kontonummerbox);
|
||||
this.Controls.Add(this.Kontonamebox);
|
||||
this.Name = "Addentrie";
|
||||
this.Text = "Addentrie";
|
||||
this.Load += new System.EventHandler(this.Addentrie_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TextBox Kontonamebox;
|
||||
private System.Windows.Forms.TextBox Kontonummerbox;
|
||||
private System.Windows.Forms.Button Bestätigungsbutton;
|
||||
private System.Windows.Forms.Button CancelBtn;
|
||||
private System.Windows.Forms.Label Kontolabel1;
|
||||
private System.Windows.Forms.Label Kontolabel2;
|
||||
}
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
|
||||
namespace Superbuchhaltung
|
||||
{
|
||||
public partial class Addentrie : Form
|
||||
{
|
||||
public Addentrie()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Bestätigungsbutton_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (Kontonummerbox.Text.Length == 0 || Kontonamebox.Text.Length == 0) goto goback;
|
||||
string[] write = { Kontonummerbox.Text + ";" +Kontonamebox.Text + '\n'};
|
||||
if (!Directory.Exists(@"C:\Users\Public\TestFolder\")) {
|
||||
Directory.CreateDirectory(@"C:\Users\Public\TestFolder");
|
||||
}
|
||||
string fi = File.ReadAllText(@"C:\Users\Public\TestFolder\" + Kontonummerbox.Text.Substring(0, 1) + @".txt");
|
||||
if (fi.Contains(Kontonummerbox.Text)) {
|
||||
|
||||
if (MessageBox.Show("Der Kontonummer Existiert bereits!\nWollen sie diese überschreiben?", "Konto existiert bereits",MessageBoxButtons.YesNo, MessageBoxIcon.Error) == DialogResult.No) goto goback;
|
||||
int index = fi.IndexOf(Kontonummerbox.Text);
|
||||
string sfi = fi.Substring(index,fi.Length-index);
|
||||
sfi = sfi.Substring(0,sfi.IndexOf("\n"));
|
||||
Console.WriteLine(sfi);
|
||||
fi = fi.Replace(sfi, Kontonummerbox.Text + ";"+Kontonamebox.Text);
|
||||
Console.WriteLine(fi);
|
||||
File.WriteAllText(@"C:\Users\Public\TestFolder\" + Kontonummerbox.Text.Substring(0, 1) + @".txt", fi);
|
||||
goto goback;
|
||||
}
|
||||
if (fi.Contains(Kontonamebox.Text)) {
|
||||
if (MessageBox.Show("Der Kontoname Existiert bereits!\nWollen sie eine zweite Instanz erstellen?", "Konto existiert bereits", MessageBoxButtons.YesNo, MessageBoxIcon.Error) == DialogResult.No) goto goback;
|
||||
}
|
||||
File.AppendAllLines(@"C:\Users\Public\TestFolder\" + Kontonummerbox.Text.Substring(0,1) + @".txt", write);
|
||||
goback:
|
||||
Main m = new Main();
|
||||
m.Reloadview();
|
||||
return;
|
||||
}
|
||||
|
||||
private void Label1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void CancelBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
private void Addentrie_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void Kontolabel2_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,120 +0,0 @@
|
||||
<?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>
|
||||
</root>
|
||||
-47
@@ -1,47 +0,0 @@
|
||||
namespace Superbuchhaltung.Forms.Prompts
|
||||
{
|
||||
partial class Modify
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// Modify
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Name = "Modify";
|
||||
this.Text = "Modify";
|
||||
this.Load += new System.EventHandler(this.Modify_Load);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Superbuchhaltung.Forms.Prompts
|
||||
{
|
||||
public partial class Modify : Form
|
||||
{
|
||||
public Modify()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Modify_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,120 +0,0 @@
|
||||
<?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>
|
||||
</root>
|
||||
-121
@@ -1,121 +0,0 @@
|
||||
namespace Superbuchhaltung.Forms.Prompts
|
||||
{
|
||||
partial class Query
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.Suchebtn = new System.Windows.Forms.Button();
|
||||
this.Suchen = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.KUHL = new System.Windows.Forms.DataGridView();
|
||||
this.Kontoname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.KontoNummer = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.KUHL)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// Suchebtn
|
||||
//
|
||||
this.Suchebtn.Location = new System.Drawing.Point(132, 30);
|
||||
this.Suchebtn.Name = "Suchebtn";
|
||||
this.Suchebtn.Size = new System.Drawing.Size(75, 23);
|
||||
this.Suchebtn.TabIndex = 0;
|
||||
this.Suchebtn.Text = "button1";
|
||||
this.Suchebtn.UseVisualStyleBackColor = true;
|
||||
this.Suchebtn.Click += new System.EventHandler(this.Suchebtn_Click);
|
||||
//
|
||||
// Suchen
|
||||
//
|
||||
this.Suchen.Location = new System.Drawing.Point(11, 31);
|
||||
this.Suchen.Name = "Suchen";
|
||||
this.Suchen.Size = new System.Drawing.Size(100, 22);
|
||||
this.Suchen.TabIndex = 1;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(8, 11);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(56, 17);
|
||||
this.label1.TabIndex = 2;
|
||||
this.label1.Text = "Suchen";
|
||||
this.label1.Click += new System.EventHandler(this.Label1_Click);
|
||||
//
|
||||
// KUHL
|
||||
//
|
||||
this.KUHL.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.KUHL.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Kontoname,
|
||||
this.KontoNummer});
|
||||
this.KUHL.Location = new System.Drawing.Point(12, 59);
|
||||
this.KUHL.Name = "KUHL";
|
||||
this.KUHL.RowHeadersWidth = 51;
|
||||
this.KUHL.RowTemplate.Height = 24;
|
||||
this.KUHL.Size = new System.Drawing.Size(1220, 456);
|
||||
this.KUHL.TabIndex = 3;
|
||||
//
|
||||
// Kontoname
|
||||
//
|
||||
this.Kontoname.HeaderText = "Kname";
|
||||
this.Kontoname.MinimumWidth = 6;
|
||||
this.Kontoname.Name = "Kontoname";
|
||||
this.Kontoname.Width = 125;
|
||||
//
|
||||
// KontoNummer
|
||||
//
|
||||
this.KontoNummer.HeaderText = "Kontonummer";
|
||||
this.KontoNummer.MinimumWidth = 6;
|
||||
this.KontoNummer.Name = "KontoNummer";
|
||||
this.KontoNummer.Width = 125;
|
||||
//
|
||||
// Query
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1233, 516);
|
||||
this.Controls.Add(this.KUHL);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.Suchen);
|
||||
this.Controls.Add(this.Suchebtn);
|
||||
this.Name = "Query";
|
||||
this.Text = "Query";
|
||||
this.Load += new System.EventHandler(this.Query_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.KUHL)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button Suchebtn;
|
||||
private System.Windows.Forms.TextBox Suchen;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.DataGridView KUHL;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Kontoname;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn KontoNummer;
|
||||
}
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
|
||||
namespace Superbuchhaltung.Forms.Prompts
|
||||
{
|
||||
public partial class Query : Form
|
||||
{
|
||||
public List<string> result = new List<string>();
|
||||
public Query()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Label1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void Suchebtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
result.Clear();
|
||||
KUHL.Rows.Clear();
|
||||
if (Suchen.Text.Length != 0)
|
||||
{
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
string[] file = File.ReadAllLines(@"C:\Users\Public\TestFolder\" + i + ".txt");
|
||||
foreach (string s in file)
|
||||
{
|
||||
if (s.Contains(Suchen.Text))
|
||||
{
|
||||
result.Add(s);
|
||||
KUHL.Rows.Add(s.Split(';'));
|
||||
}
|
||||
}
|
||||
}
|
||||
Console.WriteLine(result.Count());
|
||||
if (result.Count != 0)
|
||||
{
|
||||
Main m = new Main();
|
||||
//m.Search(result);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
private void Query_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,126 +0,0 @@
|
||||
<?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="Kontoname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="KontoNummer.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -1,22 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Superbuchhaltung
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// Der Haupteinstiegspunkt für die Anwendung.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new Main());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||
// die einer Assembly zugeordnet sind.
|
||||
[assembly: AssemblyTitle("Superbuchhaltung")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Superbuchhaltung")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2019")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
|
||||
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
|
||||
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||
[assembly: Guid("24da9aba-0840-41fe-84ad-c60c37a188a8")]
|
||||
|
||||
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||
//
|
||||
// Hauptversion
|
||||
// Nebenversion
|
||||
// Buildnummer
|
||||
// Revision
|
||||
//
|
||||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||
// indem Sie "*" wie unten gezeigt eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
-71
@@ -1,71 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion: 4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code neu generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Superbuchhaltung.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||
/// </summary>
|
||||
// Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
|
||||
// über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
||||
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
||||
// mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources
|
||||
{
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if ((resourceMan == null))
|
||||
{
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Superbuchhaltung.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
||||
/// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,117 +0,0 @@
|
||||
<?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.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: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" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</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" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Superbuchhaltung.Properties
|
||||
{
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||
{
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default
|
||||
{
|
||||
get
|
||||
{
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
@@ -1,113 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{24DA9ABA-0840-41FE-84AD-C60C37A188A8}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>Superbuchhaltung</RootNamespace>
|
||||
<AssemblyName>Superbuchhaltung</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Forms\Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\Prompts\Addentrie.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\Prompts\Addentrie.Designer.cs">
|
||||
<DependentUpon>Addentrie.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\Prompts\Modify.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\Prompts\Modify.Designer.cs">
|
||||
<DependentUpon>Modify.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\Prompts\Query.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\Prompts\Query.Designer.cs">
|
||||
<DependentUpon>Query.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Forms\Form1.resx">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\Prompts\Addentrie.resx">
|
||||
<DependentUpon>Addentrie.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\Prompts\Modify.resx">
|
||||
<DependentUpon>Modify.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\Prompts\Query.resx">
|
||||
<DependentUpon>Query.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Connected Services\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
Binary file not shown.
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
5ae62a74ce4efe60857c52046e40766bd46b5d81
|
||||
@@ -1,35 +0,0 @@
|
||||
C:\Users\Stefan Kössner\source\repos\Superbuchhaltung\Superbuchhaltung\bin\Debug\Superbuchhaltung.exe.config
|
||||
C:\Users\Stefan Kössner\source\repos\Superbuchhaltung\Superbuchhaltung\bin\Debug\Superbuchhaltung.exe
|
||||
C:\Users\Stefan Kössner\source\repos\Superbuchhaltung\Superbuchhaltung\bin\Debug\Superbuchhaltung.pdb
|
||||
C:\Users\Stefan Kössner\source\repos\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.Properties.Resources.resources
|
||||
C:\Users\Stefan Kössner\source\repos\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.csproj.GenerateResource.cache
|
||||
C:\Users\Stefan Kössner\source\repos\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Stefan Kössner\source\repos\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.exe
|
||||
C:\Users\Stefan Kössner\source\repos\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.pdb
|
||||
C:\Users\Stefan Kössner\source\repos\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.Main.resources
|
||||
C:\Users\Stefan Kössner\source\repos\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.Addentrie.resources
|
||||
C:\Users\Stefan Kössner\source\repos\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.csprojAssemblyReference.cache
|
||||
C:\Users\stefa\Documents\Gitgh\Superbuchhaltung\Superbuchhaltung\bin\Debug\Superbuchhaltung.exe.config
|
||||
C:\Users\stefa\Documents\Gitgh\Superbuchhaltung\Superbuchhaltung\bin\Debug\Superbuchhaltung.exe
|
||||
C:\Users\stefa\Documents\Gitgh\Superbuchhaltung\Superbuchhaltung\bin\Debug\Superbuchhaltung.pdb
|
||||
C:\Users\stefa\Documents\Gitgh\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.csprojAssemblyReference.cache
|
||||
C:\Users\stefa\Documents\Gitgh\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.Main.resources
|
||||
C:\Users\stefa\Documents\Gitgh\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.Addentrie.resources
|
||||
C:\Users\stefa\Documents\Gitgh\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.Properties.Resources.resources
|
||||
C:\Users\stefa\Documents\Gitgh\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.csproj.GenerateResource.cache
|
||||
C:\Users\stefa\Documents\Gitgh\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.csproj.CoreCompileInputs.cache
|
||||
C:\Users\stefa\Documents\Gitgh\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.exe
|
||||
C:\Users\stefa\Documents\Gitgh\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.pdb
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\bin\Debug\Superbuchhaltung.exe.config
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\bin\Debug\Superbuchhaltung.exe
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\bin\Debug\Superbuchhaltung.pdb
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.csprojAssemblyReference.cache
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.Main.resources
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.Addentrie.resources
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.Properties.Resources.resources
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.csproj.GenerateResource.cache
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.exe
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.pdb
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.Forms.Prompts.Query.resources
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Debug\Superbuchhaltung.Forms.Prompts.Modify.resources
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
9967d150819bbd5a9b52e51cbd7226bb16fd8b93
|
||||
@@ -1,13 +0,0 @@
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\bin\Release\Superbuchhaltung.exe.config
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\bin\Release\Superbuchhaltung.exe
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\bin\Release\Superbuchhaltung.pdb
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Release\Superbuchhaltung.csprojAssemblyReference.cache
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Release\Superbuchhaltung.Main.resources
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Release\Superbuchhaltung.Addentrie.resources
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Release\Superbuchhaltung.Forms.Prompts.Modify.resources
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Release\Superbuchhaltung.Forms.Prompts.Query.resources
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Release\Superbuchhaltung.Properties.Resources.resources
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Release\Superbuchhaltung.csproj.GenerateResource.cache
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Release\Superbuchhaltung.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Release\Superbuchhaltung.exe
|
||||
C:\Users\Stefan Kössner\Documents\GitHub\Superbuchhaltung\Superbuchhaltung\obj\Release\Superbuchhaltung.pdb
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,9 +1,9 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29306.81
|
||||
VisualStudioVersion = 16.0.31019.35
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Superbuchhaltung", "Superbuchhaltung\Superbuchhaltung.csproj", "{24DA9ABA-0840-41FE-84AD-C60C37A188A8}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Superbuchhaltungv3", "Superbuchhaltungv3\Superbuchhaltungv3.csproj", "{626C5B8B-F3D2-4BA7-8C86-C349C0975FBA}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@@ -11,15 +11,15 @@ Global
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{24DA9ABA-0840-41FE-84AD-C60C37A188A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{24DA9ABA-0840-41FE-84AD-C60C37A188A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{24DA9ABA-0840-41FE-84AD-C60C37A188A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{24DA9ABA-0840-41FE-84AD-C60C37A188A8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{626C5B8B-F3D2-4BA7-8C86-C349C0975FBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{626C5B8B-F3D2-4BA7-8C86-C349C0975FBA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{626C5B8B-F3D2-4BA7-8C86-C349C0975FBA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{626C5B8B-F3D2-4BA7-8C86-C349C0975FBA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {4F37218E-DCCA-4AA1-91C2-8739FB2AE2C6}
|
||||
SolutionGuid = {26CECBD4-8E5B-4E68-B1A3-1751345C9E11}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,15 @@
|
||||
<Application x:Class="Superbuchhaltungv3.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:Superbuchhaltungv3"
|
||||
StartupUri="MainWindow.xaml"
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="DeepPurple" SecondaryColor="Lime" />
|
||||
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
|
||||
namespace Superbuchhaltungv3
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using System.Windows;
|
||||
|
||||
[assembly: ThemeInfo(
|
||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
||||
//(used if a resource is not found in the page,
|
||||
// or application resource dictionaries)
|
||||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
||||
//(used if a resource is not found in the page,
|
||||
// app, or any theme specific resource dictionaries)
|
||||
)]
|
||||
@@ -0,0 +1,13 @@
|
||||
namespace Superbuchhaltungv3
|
||||
{
|
||||
public class Buchung
|
||||
{
|
||||
public float Wert { get; set; }
|
||||
public string GegenKonto { get; set; }
|
||||
public Buchung(float wert, string gegenKonto)
|
||||
{
|
||||
Wert = wert;
|
||||
GegenKonto = gegenKonto;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,155 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Windows;
|
||||
|
||||
namespace Superbuchhaltungv3
|
||||
{
|
||||
public class KontenManager
|
||||
{
|
||||
private readonly Kontenliste _kontenliste = new Kontenliste();
|
||||
private readonly string _filelocation;
|
||||
private static bool _instanciated = false;
|
||||
|
||||
public KontenManager(string filelocation)
|
||||
{
|
||||
if (_instanciated)
|
||||
{
|
||||
throw new Exception("Kontenmanager already instanciated");
|
||||
}
|
||||
_filelocation = filelocation;
|
||||
|
||||
if (File.Exists(_filelocation))
|
||||
{
|
||||
string json = File.ReadAllText(_filelocation);
|
||||
_kontenliste = JsonSerializer.Deserialize<Kontenliste>(json);
|
||||
}
|
||||
|
||||
_instanciated = true;
|
||||
}
|
||||
|
||||
public void Add(string kontenNummer, string kontenName, bool aktiv)
|
||||
{
|
||||
int num = 0;
|
||||
if (int.TryParse(kontenNummer, out _))
|
||||
{
|
||||
if (_kontenliste.ExistName(kontenName))
|
||||
{
|
||||
MessageBox.Show("Name existiert bereits!", "Fehler", MessageBoxButton.OK);
|
||||
return;
|
||||
}
|
||||
|
||||
if (_kontenliste.ExistsNummer(kontenNummer))
|
||||
{
|
||||
MessageBox.Show("Nummer existiert bereits!", "Fehler", MessageBoxButton.OK);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("Nummer ist keine Zahl!", "Fehler", MessageBoxButton.OK);
|
||||
return;
|
||||
}
|
||||
|
||||
Konto konto = new Konto(aktiv, kontenName, kontenNummer);
|
||||
|
||||
_kontenliste[kontenName] = konto;
|
||||
}
|
||||
|
||||
public List<BindingKonto> GetKonten()
|
||||
{
|
||||
var list = _kontenliste.Konten;
|
||||
return list.Select(konto => new BindingKonto(konto.KontoName, konto.KontoNummer.ToString(), konto.Aktiv)).ToList();
|
||||
}
|
||||
|
||||
public bool ExistsName(string s) => _kontenliste.ExistName(s);
|
||||
public bool ExistsNummer(string i) => _kontenliste.ExistsNummer(i);
|
||||
|
||||
public void Save()
|
||||
{
|
||||
File.WriteAllText(_filelocation, JsonSerializer.Serialize(_kontenliste));
|
||||
} //(:
|
||||
|
||||
public void Modify(string orginalWert, string kontenNummer, string kontenName, bool aktiv)
|
||||
{
|
||||
var konto = _kontenliste[orginalWert];
|
||||
konto.KontoNummer = kontenNummer;
|
||||
konto.KontoName = kontenName;
|
||||
konto.Aktiv = aktiv;
|
||||
}
|
||||
|
||||
public void Buchung(List<BuchungenKonto> sourcessoll, List<BuchungenKonto> sourceshaben)
|
||||
{
|
||||
foreach (var buchungenKonto in sourceshaben.Concat(sourcessoll).ToList())
|
||||
{
|
||||
if (!_kontenliste.ExistsNummer(buchungenKonto.KontoNummer))
|
||||
{
|
||||
MessageBox.Show("Konto Existiert nicht: " + buchungenKonto.KontoNummer, "Fehler",MessageBoxButton.OK);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var buchungenKontohaben in sourceshaben)
|
||||
{
|
||||
foreach (var buchungenKontosoll in sourcessoll)
|
||||
{
|
||||
_kontenliste[buchungenKontosoll.KontoNummer].AddBuchung(buchungenKontohaben.Wert,_kontenliste[buchungenKontohaben.KontoNummer].Id);
|
||||
_kontenliste[buchungenKontohaben.KontoNummer].AddBuchung(-buchungenKontosoll.Wert,_kontenliste[buchungenKontosoll.KontoNummer].Id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public List<BindingBuchung> GetBuchungen(string kontoKontenNummer)
|
||||
{
|
||||
List<BindingBuchung> ret = new List<BindingBuchung>();
|
||||
foreach (var buchung in _kontenliste[kontoKontenNummer].Buchungen)
|
||||
{
|
||||
if (_kontenliste[kontoKontenNummer].Aktiv)
|
||||
{
|
||||
ret.Add(new BindingBuchung("0.0", buchung.GegenKonto, (buchung.Wert >= 0)? buchung.Wert.ToString() : "",
|
||||
(buchung.Wert >= 0) ? "" : (-buchung.Wert).ToString()));
|
||||
}
|
||||
else
|
||||
{
|
||||
ret.Add(new BindingBuchung("0.0", buchung.GegenKonto, (buchung.Wert >= 0) ? "" : (-buchung.Wert).ToString(),
|
||||
(buchung.Wert >= 0) ? buchung.Wert.ToString() : ""));
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public class BindingKonto
|
||||
{
|
||||
public BindingKonto(string kontenName, string kontenNummer, bool aktiv)
|
||||
{
|
||||
KontenName = kontenName;
|
||||
KontenNummer = kontenNummer;
|
||||
Aktiv = aktiv;
|
||||
}
|
||||
|
||||
public string KontenName { get; set; }
|
||||
public string KontenNummer { get; set; }
|
||||
public bool Aktiv { get; set; }
|
||||
}
|
||||
public class BindingBuchung
|
||||
{
|
||||
public BindingBuchung(string datum, string gegenKonto, string soll, string haben)
|
||||
{
|
||||
Datum = datum;
|
||||
GegenKonto = gegenKonto;
|
||||
Soll = soll;
|
||||
Haben = haben;
|
||||
}
|
||||
|
||||
public string Datum { get; set; }
|
||||
public string GegenKonto { get; set; }
|
||||
public string Soll { get; set; }
|
||||
public string Haben { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Navigation;
|
||||
|
||||
namespace Superbuchhaltungv3
|
||||
{
|
||||
[Serializable()]
|
||||
public class Kontenliste
|
||||
{
|
||||
|
||||
public List<Konto> Konten { get; set; } = new List<Konto>();
|
||||
|
||||
public Konto this[string s]
|
||||
{
|
||||
get => ExistName(s) ? Konten.Find(a => a.KontoName == s) :
|
||||
ExistsNummer(s) ? Konten.Find(a => a.KontoNummer == s) : null;
|
||||
set
|
||||
{
|
||||
int index = Konten.FindIndex(a => a.KontoName == s);
|
||||
if (index >= 0)
|
||||
{
|
||||
Konten[index] = value;
|
||||
}
|
||||
else
|
||||
{
|
||||
Konten.Add(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
public bool ExistName(string s) => Konten.FindIndex(a => a.KontoName == s) >= 0;
|
||||
public bool ExistsNummer(string i) => Konten.FindIndex(a => a.KontoNummer == i) >= 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Windows.Documents;
|
||||
|
||||
|
||||
namespace Superbuchhaltungv3
|
||||
{
|
||||
public class Konto
|
||||
{
|
||||
public bool Aktiv { get; set; }
|
||||
public string KontoNummer { get; set; }
|
||||
public string KontoName { get; set; }
|
||||
public float Wert { get; set; }
|
||||
|
||||
[JsonInclude]
|
||||
public string Id { get; private set; }
|
||||
[JsonInclude]
|
||||
public List<Buchung> Buchungen { get; private set; } = new List<Buchung>();
|
||||
|
||||
public Konto(bool aktiv, string kontoName, string kontoNummer)
|
||||
{
|
||||
Aktiv = aktiv;
|
||||
KontoName = kontoName;
|
||||
KontoNummer = kontoNummer;
|
||||
Id = DateTime.Now.Ticks.ToString() + "-" + Guid.NewGuid().ToString();
|
||||
}
|
||||
|
||||
public void AddBuchung(float wert, string gegenKonto)
|
||||
{
|
||||
Buchungen.Add(new Buchung(wert, gegenKonto));
|
||||
NewMethod(wert);
|
||||
|
||||
void NewMethod(float wert)
|
||||
{
|
||||
Wert += wert;
|
||||
}
|
||||
}
|
||||
|
||||
public void RemoveBuchung(int index)
|
||||
{
|
||||
Wert -= Buchungen[index].Wert;
|
||||
Buchungen.RemoveAt(index);
|
||||
}
|
||||
public void ClearBuchungen()
|
||||
{
|
||||
Wert = 0.0f;
|
||||
Buchungen.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
<Window x:Class="Superbuchhaltungv3.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:Superbuchhaltungv3"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="450" Width="800"
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
|
||||
TextElement.FontWeight="Regular"
|
||||
TextElement.FontSize="13"
|
||||
TextOptions.TextFormattingMode="Ideal"
|
||||
TextOptions.TextRenderingMode="Auto"
|
||||
Background="{DynamicResource MaterialDesignPaper}"
|
||||
FontFamily="{DynamicResource MaterialDesignFont}"
|
||||
Closing="MainWindow_OnClosing">
|
||||
<TabControl>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Style="{DynamicResource MaterialDesignTextBlock}" Text="Konten" />
|
||||
</TabItem.Header>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<DataGrid Style="{DynamicResource MaterialDesignDataGrid}" Name="FKontenListe" IsReadOnly="True" Grid.Column="0" SelectedCellsChanged="FKontenListe_OnSelectedCellsChanged" >
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="Kontonummer" Binding="{Binding KontenNummer}" Width="*"></DataGridTextColumn>
|
||||
<DataGridTextColumn Header="Kontenname" Binding="{Binding KontenName}" Width="*"></DataGridTextColumn>
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
<GridSplitter Grid.Column="0" Style="{DynamicResource MaterialDesignGridSplitter}" Width="3"></GridSplitter>
|
||||
<DataGrid Style="{DynamicResource MaterialDesignDataGrid}" Name="FKontenBuchungListe" Grid.Column="1" SelectionChanged="DataGrid_SelectionChanged" AutoGenerateColumns="False">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="Datum" Binding="{Binding Datum}" Width="1.5*"></DataGridTextColumn>
|
||||
<DataGridTextColumn Header="Gegenkonto" Binding="{Binding GegenKonto}" Width="3*"></DataGridTextColumn>
|
||||
<DataGridTextColumn Header="Soll" Binding="{Binding Soll}" Width="2*"></DataGridTextColumn>
|
||||
<DataGridTextColumn Header="Haben" Binding="{Binding Haben}" Width="2*"></DataGridTextColumn>
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Style="{DynamicResource MaterialDesignTextBlock}" Text="Bearbeiten" />
|
||||
</TabItem.Header>
|
||||
<Viewbox>
|
||||
<Grid Width="437">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<ItemsControl Grid.Column="0" HorizontalAlignment="Center">
|
||||
<TextBox Style="{DynamicResource MaterialDesignFilledTextBox}" Name="addkontokonteNummer" FontSize="10" materialDesign:HintAssist.Hint="Konten Nummer" materialDesign:HintAssist.FloatingOffset="10,-42" materialDesign:HintAssist.IsFloating="True" Height="40" Width="100" Margin="5"/>
|
||||
<TextBox Style="{DynamicResource MaterialDesignFilledTextBox}" Name="addkontokontenName" FontSize="10" materialDesign:HintAssist.Hint="Konten Name" materialDesign:HintAssist.FloatingOffset="10,-42" materialDesign:HintAssist.IsFloating="True" Height="40" Width="100" Margin="5"/>
|
||||
<Label Style="{DynamicResource MaterialDesignLabel}" Content="Aktiv" FontSize="10" Height="20" Width="100" Margin="0,0,10,-15" />
|
||||
<CheckBox Style="{DynamicResource MaterialDesignCheckBox}" Name="addkontoaktiv" FontSize="10" Height="40" Width="100"/>
|
||||
<Button Style="{DynamicResource MaterialDesignRaisedButton}" Name="addkontoSubmitButton" Content="Hinzufügen" Width="110" Height="30" Margin="5" Click="AddkontoSubmitButton_Click"/>
|
||||
</ItemsControl>
|
||||
<GridSplitter Grid.Column="0" Width="1" IsManipulationEnabled="False" Style="{DynamicResource MaterialDesignGridSplitter}"></GridSplitter>
|
||||
<ItemsControl Grid.Column="1">
|
||||
<ItemsControl>
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<StackPanel Orientation="Horizontal"/>
|
||||
</ItemsPanelTemplate>
|
||||
</ItemsControl.ItemsPanel>
|
||||
<TextBox Style="{DynamicResource MaterialDesignFilledTextBox}" Name="modifykontoLoad" FontSize="10" materialDesign:HintAssist.Hint="Edit Konto" materialDesign:HintAssist.FloatingOffset="10,-42" materialDesign:HintAssist.IsFloating="True" Height="40" Width="110" Margin="5" />
|
||||
<Button Style="{DynamicResource MaterialDesignRaisedButton}" Name="modifykontoLoadButton" Content="Laden" Height="40" Width="85" Click="ModifykontoLoad_Click" ></Button>
|
||||
</ItemsControl>
|
||||
<ItemsControl>
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<StackPanel Orientation="Horizontal"/>
|
||||
</ItemsPanelTemplate>
|
||||
</ItemsControl.ItemsPanel>
|
||||
<TextBox Style="{DynamicResource MaterialDesignFilledTextBox}" Name="modifykontoNummer" FontSize="10" materialDesign:HintAssist.Hint="Konten Nummer" materialDesign:HintAssist.FloatingOffset="10,-42" materialDesign:HintAssist.IsFloating="True" Height="40" Width="100" Margin="5" />
|
||||
<TextBox Style="{DynamicResource MaterialDesignFilledTextBox}" Name="modifykontoName" FontSize="10" materialDesign:HintAssist.Hint="Konten Name" materialDesign:HintAssist.FloatingOffset="10,-42" materialDesign:HintAssist.IsFloating="True" Height="40" Width="100" Margin="5" />
|
||||
</ItemsControl>
|
||||
<Label Style="{DynamicResource MaterialDesignLabel}" Content="Aktiv" FontSize="10" Height="20" Width="210" Margin="0,0,10,-15" />
|
||||
<CheckBox Style="{DynamicResource MaterialDesignCheckBox}" Name="modifykontoAktiv" FontSize="10" Height="40" Width="210"/>
|
||||
<Button Style="{DynamicResource MaterialDesignRaisedButton}" Name="modifykontoSaveButton" Content="Speichern" Width="100" Height="30" Margin="5" Click="ModifykontoSaveButton_Click" />
|
||||
</ItemsControl>
|
||||
</Grid>
|
||||
</Viewbox>
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
Buchungen
|
||||
</TabItem.Header>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid Grid.Row="0">
|
||||
<TextBlock Style="{DynamicResource MaterialDesignHeadline5TextBlock}" Text="Soll" Height="30" VerticalAlignment="Top" />
|
||||
<DataGrid Style="{DynamicResource MaterialDesignDataGrid}" Name="buchungensoll" VerticalAlignment="Stretch" Margin="0,30,0,0" Height="Auto" Width="Auto" IsReadOnly="False" CanUserAddRows="False" CanUserSortColumns="False" AutoGenerateColumns="False">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="Kontonummer" Binding="{Binding KontoNummer}" Width="*"/>
|
||||
<DataGridTextColumn Header="Wert" Binding="{Binding Wert}" Width="*"/>
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
<Button Style="{DynamicResource MaterialDesignFloatingActionButton}" Name="buchungensollplus" Content="{materialDesign:PackIcon Add}" Height="40" Width="40" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,5,5" Click="Buchungensollplus_Click"/>
|
||||
<Button Style="{DynamicResource MaterialDesignFloatingActionLightButton}" Name="buchungensollminus" Content="{materialDesign:PackIcon Minus}" Height="40" Width="40" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,50,5" Click="Buchungensollminus_Click"/>
|
||||
</Grid>
|
||||
|
||||
|
||||
<GridSplitter Grid.Row="0" Style="{DynamicResource MaterialDesignGridSplitter}" Height="3"></GridSplitter>
|
||||
|
||||
<Grid Grid.Row="1">
|
||||
<TextBlock Style="{DynamicResource MaterialDesignHeadline5TextBlock}" Text="Haben" Height="30" VerticalAlignment="Top"/>
|
||||
<DataGrid Style="{DynamicResource MaterialDesignDataGrid}" Name="buchungenhaben" VerticalAlignment="Stretch" Margin="0,30,0,0" Height="Auto" Width="Auto" IsReadOnly="False" CanUserAddRows="False" CanUserSortColumns="False" AutoGenerateColumns="False">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="Kontonummer" Width="*" Binding="{Binding KontoNummer}"/>
|
||||
<DataGridTextColumn Header="Wert" Width="*" Binding="{Binding Wert}"/>
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
<Button Style="{DynamicResource MaterialDesignFloatingActionButton}" Name="buchungenhabenPlus" Content="{materialDesign:PackIcon Add}" Height="40" Width="40" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,5,5" Click="BuchungenhabenPlus_Click"/>
|
||||
<Button Style="{DynamicResource MaterialDesignFloatingActionLightButton}" Name="buchungenhabenMinus" Content="{materialDesign:PackIcon Minus}" Height="40" Width="40" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,50,5" Click="BuchungenhabenMinus_Click"/>
|
||||
</Grid>
|
||||
<Button Grid.Row="1" Style="{DynamicResource MaterialDesignFloatingActionDarkButton}" Name="buchungensave" Height="40" Width="40" VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="5,0,0,5" Click="Buchungensave_Click">
|
||||
<Button.ContentTemplate>
|
||||
<DataTemplate>
|
||||
<materialDesign:PackIcon Kind="Done" Height="25" Width="25"></materialDesign:PackIcon>
|
||||
</DataTemplate>
|
||||
</Button.ContentTemplate>
|
||||
</Button>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
|
||||
</TabControl>
|
||||
|
||||
</Window>
|
||||
@@ -0,0 +1,177 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace Superbuchhaltungv3
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
|
||||
private readonly KontenManager _manager = new KontenManager("./test.json");
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
RefreshKontenListe();
|
||||
}
|
||||
|
||||
private void AddkontoSubmitButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
string kontoNummer = addkontokonteNummer.Text;
|
||||
string kontoName = addkontokontenName.Text;
|
||||
bool aktiv = addkontoaktiv.IsChecked != null && (bool)addkontoaktiv.IsChecked; //nullcheck
|
||||
|
||||
if (string.IsNullOrWhiteSpace(kontoName) || string.IsNullOrWhiteSpace(kontoNummer))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_manager.Add(kontoNummer, kontoName, aktiv);
|
||||
|
||||
RefreshKontenListe();
|
||||
}
|
||||
|
||||
private void RefreshKontenListe()
|
||||
{
|
||||
FKontenListe.Items.Clear();
|
||||
foreach (var konto in _manager.GetKonten())
|
||||
{
|
||||
FKontenListe.Items.Add(konto);
|
||||
}
|
||||
}
|
||||
private void DataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void MainWindow_OnClosing(object sender, CancelEventArgs e)
|
||||
{
|
||||
_manager.Save();
|
||||
}
|
||||
|
||||
private void ModifykontoSaveButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
string konto = modifykontoLoad.Text;
|
||||
string kontoNummer = modifykontoNummer.Text;
|
||||
string kontoName = modifykontoName.Text;
|
||||
bool kontoAktiv = modifykontoAktiv.IsChecked != null && (bool)modifykontoAktiv.IsChecked; //Nullcheck
|
||||
if (_manager.ExistsName(konto) || _manager.ExistsNummer(konto))
|
||||
{
|
||||
_manager.Modify(konto, kontoNummer, kontoName, kontoAktiv);
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("Konto existiert nicht!", "Fehler!", MessageBoxButton.OK);
|
||||
}
|
||||
RefreshKontenListe();
|
||||
}
|
||||
|
||||
private void ModifykontoLoad_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var konto = modifykontoLoad.Text;
|
||||
BindingKonto fkonto;
|
||||
if (_manager.ExistsName(konto))
|
||||
{
|
||||
fkonto = _manager.GetKonten().First(a => a.KontenName == konto);
|
||||
|
||||
}
|
||||
else if (_manager.ExistsNummer(konto))
|
||||
{
|
||||
fkonto = _manager.GetKonten().First(a => a.KontenNummer == konto);
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("Konto existiert nicht!", "Fehler!", MessageBoxButton.OK);
|
||||
return;
|
||||
}
|
||||
|
||||
modifykontoName.Text = fkonto.KontenName;
|
||||
modifykontoNummer.Text = fkonto.KontenNummer;
|
||||
modifykontoAktiv.IsChecked = fkonto.Aktiv;
|
||||
}
|
||||
|
||||
private void Buchungensollplus_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
buchungensoll.ItemsSource ??= new List<BuchungenKonto>();
|
||||
|
||||
List<BuchungenKonto> source = buchungensoll.ItemsSource.Cast<BuchungenKonto>().ToList();
|
||||
source.Add(new BuchungenKonto());
|
||||
|
||||
buchungensoll.ItemsSource = source;
|
||||
}
|
||||
|
||||
private void Buchungensollminus_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
List<BuchungenKonto> source = buchungensoll.ItemsSource.Cast<BuchungenKonto>().ToList();
|
||||
|
||||
if (buchungensoll.SelectedIndex >= 0)
|
||||
{
|
||||
source.RemoveAt(buchungensoll.SelectedIndex);
|
||||
}
|
||||
|
||||
buchungensoll.ItemsSource = source;
|
||||
}
|
||||
|
||||
private void BuchungenhabenPlus_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
buchungenhaben.ItemsSource ??= new List<BuchungenKonto>();
|
||||
|
||||
List<BuchungenKonto> source = buchungenhaben.ItemsSource.Cast<BuchungenKonto>().ToList();
|
||||
source.Add(new BuchungenKonto());
|
||||
|
||||
buchungenhaben.ItemsSource = source;
|
||||
}
|
||||
|
||||
private void BuchungenhabenMinus_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
List<BuchungenKonto> source = buchungenhaben.ItemsSource.Cast<BuchungenKonto>().ToList();
|
||||
|
||||
|
||||
if (buchungenhaben.SelectedIndex >= 0)
|
||||
{
|
||||
source.RemoveAt(buchungenhaben.SelectedIndex);
|
||||
}
|
||||
|
||||
buchungenhaben.ItemsSource = source;
|
||||
}
|
||||
|
||||
private void Buchungensave_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
List<BuchungenKonto> sourcessoll = buchungensoll.ItemsSource.Cast<BuchungenKonto>().ToList();
|
||||
List<BuchungenKonto> sourceshaben = buchungenhaben.ItemsSource.Cast<BuchungenKonto>().ToList();
|
||||
|
||||
_manager.Buchung(sourcessoll,sourceshaben);
|
||||
|
||||
}
|
||||
|
||||
private void FKontenListe_OnSelectedCellsChanged(object sender, SelectedCellsChangedEventArgs e)
|
||||
{
|
||||
var index = FKontenListe.SelectedIndex;
|
||||
|
||||
BindingKonto konto = (BindingKonto) FKontenListe.Items[index];
|
||||
|
||||
FKontenBuchungListe.ItemsSource = _manager.GetBuchungen(konto.KontenNummer);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class BuchungenKonto
|
||||
{
|
||||
public string KontoNummer { get; set; }
|
||||
public float Wert { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<UseWPF>true</UseWPF>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MaterialDesignThemes" Version="4.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Update="App.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Page Update="MainWindow.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v5.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v5.0": {
|
||||
"Superbuchhaltungv3/1.0.0": {
|
||||
"dependencies": {
|
||||
"MaterialDesignThemes": "4.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"Superbuchhaltungv3.dll": {}
|
||||
}
|
||||
},
|
||||
"MaterialDesignColors/2.0.0": {
|
||||
"runtime": {
|
||||
"lib/netcoreapp3.1/MaterialDesignColors.dll": {
|
||||
"assemblyVersion": "2.0.0.2422",
|
||||
"fileVersion": "2.0.0.2422"
|
||||
}
|
||||
}
|
||||
},
|
||||
"MaterialDesignThemes/4.0.0": {
|
||||
"dependencies": {
|
||||
"MaterialDesignColors": "2.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netcoreapp3.1/MaterialDesignThemes.Wpf.dll": {
|
||||
"assemblyVersion": "4.0.0.2422",
|
||||
"fileVersion": "4.0.0.2422"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Superbuchhaltungv3/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"MaterialDesignColors/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-+JoghC3QRK0u9Wul1To1ORjcfTbFTVzFPjJ02H7VREOdNzIIn427e8G9gP9hXu9pm1r2OneLnoCG/lTma5cG2w==",
|
||||
"path": "materialdesigncolors/2.0.0",
|
||||
"hashPath": "materialdesigncolors.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"MaterialDesignThemes/4.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-+n5oWHuRiYL/gUw2XfQHCRZqHtU8KbrdurgU0IcO98Zsyhw4BvggodfXY8veRtbjjmM9EJ/sG2yKBrgPOGX4JQ==",
|
||||
"path": "materialdesignthemes/4.0.0",
|
||||
"hashPath": "materialdesignthemes.4.0.0.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\stefa\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\stefa\\.nuget\\packages",
|
||||
"C:\\Microsoft\\Xamarin\\NuGet",
|
||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net5.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.WindowsDesktop.App",
|
||||
"version": "5.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"Konten":[{"Aktiv":true,"KontoNummer":"2700","KontoName":"Kassa","Wert":100,"Id":"637539446025663156-4c664e0c-58a0-4695-98e8-383a8da62801","Buchungen":[{"Wert":100,"GegenKonto":"637539446072890849-338c375f-b6f4-4228-8661-b234c5f446e7"}]},{"Aktiv":true,"KontoNummer":"2800","KontoName":"Bank","Wert":-100,"Id":"637539446072890849-338c375f-b6f4-4228-8661-b234c5f446e7","Buchungen":[{"Wert":-100,"GegenKonto":"637539446025663156-4c664e0c-58a0-4695-98e8-383a8da62801"}]}]}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
|
||||
Binary file not shown.
@@ -0,0 +1,87 @@
|
||||
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C310D4328FB09634411CB6755401D90C1D576C3A"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using MaterialDesignThemes.Wpf;
|
||||
using MaterialDesignThemes.Wpf.Converters;
|
||||
using MaterialDesignThemes.Wpf.Transitions;
|
||||
using Superbuchhaltungv3;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace Superbuchhaltungv3 {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.3.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
|
||||
#line 5 "..\..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
System.Uri resourceLocater = new System.Uri("/Superbuchhaltungv3;component/app.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\..\App.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.3.0")]
|
||||
public static void Main() {
|
||||
Superbuchhaltungv3.App app = new Superbuchhaltungv3.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C310D4328FB09634411CB6755401D90C1D576C3A"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using MaterialDesignThemes.Wpf;
|
||||
using MaterialDesignThemes.Wpf.Converters;
|
||||
using MaterialDesignThemes.Wpf.Transitions;
|
||||
using Superbuchhaltungv3;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace Superbuchhaltungv3 {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.3.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
|
||||
#line 5 "..\..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
System.Uri resourceLocater = new System.Uri("/Superbuchhaltungv3;component/app.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\..\App.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.3.0")]
|
||||
public static void Main() {
|
||||
Superbuchhaltungv3.App app = new Superbuchhaltungv3.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,359 @@
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2FC551C78277D4C546FF1FAE4BEDC1782681BD4E"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using MaterialDesignThemes.Wpf;
|
||||
using MaterialDesignThemes.Wpf.Converters;
|
||||
using MaterialDesignThemes.Wpf.Transitions;
|
||||
using Superbuchhaltungv3;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace Superbuchhaltungv3 {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MainWindow
|
||||
/// </summary>
|
||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
|
||||
#line 28 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.DataGrid FKontenListe;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 35 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.DataGrid FKontenBuchungListe;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 56 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox addkontokonteNummer;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 57 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox addkontokontenName;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 59 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.CheckBox addkontoaktiv;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 60 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button addkontoSubmitButton;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 70 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox modifykontoLoad;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 71 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button modifykontoLoadButton;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 79 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox modifykontoNummer;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 80 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox modifykontoName;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 83 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.CheckBox modifykontoAktiv;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 84 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button modifykontoSaveButton;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 100 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.DataGrid buchungensoll;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 106 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button buchungensollplus;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 107 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button buchungensollminus;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 115 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.DataGrid buchungenhaben;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 121 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button buchungenhabenPlus;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 122 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button buchungenhabenMinus;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 124 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button buchungensave;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.3.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/Superbuchhaltungv3;component/mainwindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\..\MainWindow.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.3.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 17 "..\..\..\MainWindow.xaml"
|
||||
((Superbuchhaltungv3.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_OnClosing);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
this.FKontenListe = ((System.Windows.Controls.DataGrid)(target));
|
||||
|
||||
#line 28 "..\..\..\MainWindow.xaml"
|
||||
this.FKontenListe.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.FKontenListe_OnSelectedCellsChanged);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 3:
|
||||
this.FKontenBuchungListe = ((System.Windows.Controls.DataGrid)(target));
|
||||
|
||||
#line 35 "..\..\..\MainWindow.xaml"
|
||||
this.FKontenBuchungListe.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 4:
|
||||
this.addkontokonteNummer = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 5:
|
||||
this.addkontokontenName = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 6:
|
||||
this.addkontoaktiv = ((System.Windows.Controls.CheckBox)(target));
|
||||
return;
|
||||
case 7:
|
||||
this.addkontoSubmitButton = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 60 "..\..\..\MainWindow.xaml"
|
||||
this.addkontoSubmitButton.Click += new System.Windows.RoutedEventHandler(this.AddkontoSubmitButton_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 8:
|
||||
this.modifykontoLoad = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 9:
|
||||
this.modifykontoLoadButton = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 71 "..\..\..\MainWindow.xaml"
|
||||
this.modifykontoLoadButton.Click += new System.Windows.RoutedEventHandler(this.ModifykontoLoad_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 10:
|
||||
this.modifykontoNummer = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 11:
|
||||
this.modifykontoName = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 12:
|
||||
this.modifykontoAktiv = ((System.Windows.Controls.CheckBox)(target));
|
||||
return;
|
||||
case 13:
|
||||
this.modifykontoSaveButton = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 84 "..\..\..\MainWindow.xaml"
|
||||
this.modifykontoSaveButton.Click += new System.Windows.RoutedEventHandler(this.ModifykontoSaveButton_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 14:
|
||||
this.buchungensoll = ((System.Windows.Controls.DataGrid)(target));
|
||||
return;
|
||||
case 15:
|
||||
this.buchungensollplus = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 106 "..\..\..\MainWindow.xaml"
|
||||
this.buchungensollplus.Click += new System.Windows.RoutedEventHandler(this.Buchungensollplus_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 16:
|
||||
this.buchungensollminus = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 107 "..\..\..\MainWindow.xaml"
|
||||
this.buchungensollminus.Click += new System.Windows.RoutedEventHandler(this.Buchungensollminus_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 17:
|
||||
this.buchungenhaben = ((System.Windows.Controls.DataGrid)(target));
|
||||
return;
|
||||
case 18:
|
||||
this.buchungenhabenPlus = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 121 "..\..\..\MainWindow.xaml"
|
||||
this.buchungenhabenPlus.Click += new System.Windows.RoutedEventHandler(this.BuchungenhabenPlus_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 19:
|
||||
this.buchungenhabenMinus = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 122 "..\..\..\MainWindow.xaml"
|
||||
this.buchungenhabenMinus.Click += new System.Windows.RoutedEventHandler(this.BuchungenhabenMinus_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 20:
|
||||
this.buchungensave = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 124 "..\..\..\MainWindow.xaml"
|
||||
this.buchungensave.Click += new System.Windows.RoutedEventHandler(this.Buchungensave_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,359 @@
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2FC551C78277D4C546FF1FAE4BEDC1782681BD4E"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using MaterialDesignThemes.Wpf;
|
||||
using MaterialDesignThemes.Wpf.Converters;
|
||||
using MaterialDesignThemes.Wpf.Transitions;
|
||||
using Superbuchhaltungv3;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace Superbuchhaltungv3 {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MainWindow
|
||||
/// </summary>
|
||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
|
||||
#line 28 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.DataGrid FKontenListe;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 35 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.DataGrid FKontenBuchungListe;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 56 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox addkontokonteNummer;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 57 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox addkontokontenName;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 59 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.CheckBox addkontoaktiv;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 60 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button addkontoSubmitButton;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 70 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox modifykontoLoad;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 71 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button modifykontoLoadButton;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 79 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox modifykontoNummer;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 80 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox modifykontoName;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 83 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.CheckBox modifykontoAktiv;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 84 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button modifykontoSaveButton;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 100 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.DataGrid buchungensoll;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 106 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button buchungensollplus;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 107 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button buchungensollminus;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 115 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.DataGrid buchungenhaben;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 121 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button buchungenhabenPlus;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 122 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button buchungenhabenMinus;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 124 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button buchungensave;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.3.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/Superbuchhaltungv3;component/mainwindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\..\MainWindow.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.3.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 17 "..\..\..\MainWindow.xaml"
|
||||
((Superbuchhaltungv3.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_OnClosing);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
this.FKontenListe = ((System.Windows.Controls.DataGrid)(target));
|
||||
|
||||
#line 28 "..\..\..\MainWindow.xaml"
|
||||
this.FKontenListe.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.FKontenListe_OnSelectedCellsChanged);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 3:
|
||||
this.FKontenBuchungListe = ((System.Windows.Controls.DataGrid)(target));
|
||||
|
||||
#line 35 "..\..\..\MainWindow.xaml"
|
||||
this.FKontenBuchungListe.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 4:
|
||||
this.addkontokonteNummer = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 5:
|
||||
this.addkontokontenName = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 6:
|
||||
this.addkontoaktiv = ((System.Windows.Controls.CheckBox)(target));
|
||||
return;
|
||||
case 7:
|
||||
this.addkontoSubmitButton = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 60 "..\..\..\MainWindow.xaml"
|
||||
this.addkontoSubmitButton.Click += new System.Windows.RoutedEventHandler(this.AddkontoSubmitButton_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 8:
|
||||
this.modifykontoLoad = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 9:
|
||||
this.modifykontoLoadButton = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 71 "..\..\..\MainWindow.xaml"
|
||||
this.modifykontoLoadButton.Click += new System.Windows.RoutedEventHandler(this.ModifykontoLoad_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 10:
|
||||
this.modifykontoNummer = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 11:
|
||||
this.modifykontoName = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 12:
|
||||
this.modifykontoAktiv = ((System.Windows.Controls.CheckBox)(target));
|
||||
return;
|
||||
case 13:
|
||||
this.modifykontoSaveButton = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 84 "..\..\..\MainWindow.xaml"
|
||||
this.modifykontoSaveButton.Click += new System.Windows.RoutedEventHandler(this.ModifykontoSaveButton_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 14:
|
||||
this.buchungensoll = ((System.Windows.Controls.DataGrid)(target));
|
||||
return;
|
||||
case 15:
|
||||
this.buchungensollplus = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 106 "..\..\..\MainWindow.xaml"
|
||||
this.buchungensollplus.Click += new System.Windows.RoutedEventHandler(this.Buchungensollplus_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 16:
|
||||
this.buchungensollminus = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 107 "..\..\..\MainWindow.xaml"
|
||||
this.buchungensollminus.Click += new System.Windows.RoutedEventHandler(this.Buchungensollminus_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 17:
|
||||
this.buchungenhaben = ((System.Windows.Controls.DataGrid)(target));
|
||||
return;
|
||||
case 18:
|
||||
this.buchungenhabenPlus = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 121 "..\..\..\MainWindow.xaml"
|
||||
this.buchungenhabenPlus.Click += new System.Windows.RoutedEventHandler(this.BuchungenhabenPlus_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 19:
|
||||
this.buchungenhabenMinus = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 122 "..\..\..\MainWindow.xaml"
|
||||
this.buchungenhabenMinus.Click += new System.Windows.RoutedEventHandler(this.BuchungenhabenMinus_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 20:
|
||||
this.buchungensave = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 124 "..\..\..\MainWindow.xaml"
|
||||
this.buchungensave.Click += new System.Windows.RoutedEventHandler(this.Buchungensave_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Superbuchhaltungv3")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Superbuchhaltungv3")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Superbuchhaltungv3")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
5bb87ef5a9f35fe6a2952a770bdae7e4cf85c26f
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net5.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.PublishSingleFile =
|
||||
build_property.IncludeAllContentForSelfExtract =
|
||||
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
|
||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user