Commit 97e892ed authored by Synthron's avatar Synthron
Browse files

V0.6 PRE

current stable version, not finished
parent 84e3a070

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27703.2000
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lagerverwaltung", "Lagerverwaltung\Lagerverwaltung.csproj", "{880D1BBC-E9B4-441D-8BF1-D72B9D9202E5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{880D1BBC-E9B4-441D-8BF1-D72B9D9202E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{880D1BBC-E9B4-441D-8BF1-D72B9D9202E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{880D1BBC-E9B4-441D-8BF1-D72B9D9202E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{880D1BBC-E9B4-441D-8BF1-D72B9D9202E5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4828D5F1-81E9-4F66-A53B-D5803601B281}
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="Lagerverwaltung.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="v13.0" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
</providers>
</entityFramework>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="lib;libs" />
</assemblyBinding>
</runtime>
<applicationSettings>
<Lagerverwaltung.Properties.Settings>
<setting name="Einstellung" serializeAs="String">
<value>46bf7307-66cc-4df8-a4d7-e403a0c4917a</value>
</setting>
</Lagerverwaltung.Properties.Settings>
</applicationSettings>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite.EF6" />
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
<remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories>
</system.data>
</configuration>
\ No newline at end of file
//This code was generated by a tool.
//Changes to this file will be lost if the code is regenerated.
// See the blog post here for help on using the generated code: http://erikej.blogspot.dk/2014/10/database-first-with-sqlite-in-universal.html
using System.Data.SQLite;
using System;
namespace Lagerverwaltung
{
public class SQLiteDb
{
string _path;
public SQLiteDb(string path)
{
_path = path;
}
public void Create()
{
using (SQLiteConnection db = new SQLiteConnection(_path))
{
}
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SQLite;
using System.Resources;
using System.Globalization;
using System.IO;
#pragma warning disable IDE1006
namespace Lagerverwaltung
{
class GlobalVariables
{
//SQLite-Settings
public static string db = @"Lagerverwaltung.sqlite";
public static bool db_comp = false;
//Sprachunterstützung
public static ResourceManager res_man;
public static CultureInfo cul;
//Startup-Config
public static string lang = "";
//public static string table = "";
//Drucker-Titels
public static string subtitle = "";
public static string footer = "";
//Ab V0.6
public static void Barcode_dir()
{
if (!Directory.Exists("barcodes"))
{
Directory.CreateDirectory("barcodes");
Directory.CreateDirectory("barcodes\\MicroQR");
Directory.CreateDirectory("barcodes\\QR");
Directory.CreateDirectory("barcodes\\DataGrid");
Directory.CreateDirectory("barcodes\\Code-128");
Directory.CreateDirectory("barcodes\\Code-39");
}
}
public static string barcode_type = "";
}
}
namespace Lagerverwaltung
{
partial class Kategorie_Edit
{
/// <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.button1 = new System.Windows.Forms.Button();
this.cb_col_data = new System.Windows.Forms.ComboBox();
this.tb_col_name = new System.Windows.Forms.TextBox();
this.label_colType1 = new System.Windows.Forms.Label();
this.label_colName1 = new System.Windows.Forms.Label();
this.btn_tbl_drop = new System.Windows.Forms.Button();
this.cb_col_del = new System.Windows.Forms.ComboBox();
this.btn_col_del = new System.Windows.Forms.Button();
this.label_col_del = new System.Windows.Forms.Label();
this.lb_rn = new System.Windows.Forms.Label();
this.tb_tbl_rn = new System.Windows.Forms.TextBox();
this.btn_rn = new System.Windows.Forms.Button();
this.btn_col_rn = new System.Windows.Forms.Button();
this.cb_col_rn = new System.Windows.Forms.ComboBox();
this.tb_col_rn = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.cb_tbl = new System.Windows.Forms.ComboBox();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.tabPage5 = new System.Windows.Forms.TabPage();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabPage3.SuspendLayout();
this.tabPage4.SuspendLayout();
this.tabPage5.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(101, 172);
this.button1.Margin = new System.Windows.Forms.Padding(4);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(161, 28);
this.button1.TabIndex = 5;
this.button1.Text = "Spalte Hinzufügen";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.Button1_Click);
//
// cb_col_data
//
this.cb_col_data.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_col_data.FormattingEnabled = true;
this.cb_col_data.Location = new System.Drawing.Point(101, 127);
this.cb_col_data.Margin = new System.Windows.Forms.Padding(4);
this.cb_col_data.Name = "cb_col_data";
this.cb_col_data.Size = new System.Drawing.Size(160, 24);
this.cb_col_data.TabIndex = 0;
//
// tb_col_name
//
this.tb_col_name.Location = new System.Drawing.Point(105, 65);
this.tb_col_name.Margin = new System.Windows.Forms.Padding(4);
this.tb_col_name.Name = "tb_col_name";
this.tb_col_name.Size = new System.Drawing.Size(132, 22);
this.tb_col_name.TabIndex = 4;
//
// label_colType1
//
this.label_colType1.AutoSize = true;
this.label_colType1.Location = new System.Drawing.Point(101, 107);
this.label_colType1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label_colType1.Name = "label_colType1";
this.label_colType1.Size = new System.Drawing.Size(115, 17);
this.label_colType1.TabIndex = 2;
this.label_colType1.Text = "Spaltendatentyp:";
//
// label_colName1
//
this.label_colName1.AutoSize = true;
this.label_colName1.Location = new System.Drawing.Point(101, 46);
this.label_colName1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label_colName1.Name = "label_colName1";
this.label_colName1.Size = new System.Drawing.Size(95, 17);
this.label_colName1.TabIndex = 1;
this.label_colName1.Text = "Spaltenname:";
//
// btn_tbl_drop
//
this.btn_tbl_drop.Location = new System.Drawing.Point(105, 108);
this.btn_tbl_drop.Margin = new System.Windows.Forms.Padding(4);
this.btn_tbl_drop.Name = "btn_tbl_drop";
this.btn_tbl_drop.Size = new System.Drawing.Size(161, 28);
this.btn_tbl_drop.TabIndex = 6;
this.btn_tbl_drop.Text = "Kategorie löschen";
this.btn_tbl_drop.UseVisualStyleBackColor = true;
this.btn_tbl_drop.Click += new System.EventHandler(this.btn_tbl_drop_Click);
//
// cb_col_del
//
this.cb_col_del.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_col_del.FormattingEnabled = true;
this.cb_col_del.Location = new System.Drawing.Point(105, 90);
this.cb_col_del.Margin = new System.Windows.Forms.Padding(4);
this.cb_col_del.Name = "cb_col_del";
this.cb_col_del.Size = new System.Drawing.Size(160, 24);
this.cb_col_del.TabIndex = 7;
//
// btn_col_del
//
this.btn_col_del.Location = new System.Drawing.Point(105, 151);
this.btn_col_del.Margin = new System.Windows.Forms.Padding(4);
this.btn_col_del.Name = "btn_col_del";
this.btn_col_del.Size = new System.Drawing.Size(161, 28);
this.btn_col_del.TabIndex = 6;
this.btn_col_del.Text = "Spalte löschen";
this.btn_col_del.UseVisualStyleBackColor = true;
this.btn_col_del.Click += new System.EventHandler(this.btn_col_del_Click);
//
// label_col_del
//
this.label_col_del.AutoSize = true;
this.label_col_del.Location = new System.Drawing.Point(101, 70);
this.label_col_del.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label_col_del.Name = "label_col_del";
this.label_col_del.Size = new System.Drawing.Size(95, 17);
this.label_col_del.TabIndex = 6;
this.label_col_del.Text = "Spaltenname:";
//
// lb_rn
//
this.lb_rn.AutoSize = true;
this.lb_rn.Location = new System.Drawing.Point(88, 76);
this.lb_rn.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lb_rn.Name = "lb_rn";
this.lb_rn.Size = new System.Drawing.Size(88, 17);
this.lb_rn.TabIndex = 12;
this.lb_rn.Text = "Neuer Name";
//
// tb_tbl_rn
//
this.tb_tbl_rn.Location = new System.Drawing.Point(88, 96);
this.tb_tbl_rn.Margin = new System.Windows.Forms.Padding(4);
this.tb_tbl_rn.Name = "tb_tbl_rn";
this.tb_tbl_rn.Size = new System.Drawing.Size(199, 22);
this.tb_tbl_rn.TabIndex = 11;
//
// btn_rn
//
this.btn_rn.Location = new System.Drawing.Point(88, 146);
this.btn_rn.Margin = new System.Windows.Forms.Padding(4);
this.btn_rn.Name = "btn_rn";
this.btn_rn.Size = new System.Drawing.Size(200, 28);
this.btn_rn.TabIndex = 8;
this.btn_rn.Text = "Kategorie umbenennen";
this.btn_rn.UseVisualStyleBackColor = true;
this.btn_rn.Click += new System.EventHandler(this.btn_rn_Click);
//
// btn_col_rn
//
this.btn_col_rn.Location = new System.Drawing.Point(105, 182);
this.btn_col_rn.Margin = new System.Windows.Forms.Padding(4);
this.btn_col_rn.Name = "btn_col_rn";
this.btn_col_rn.Size = new System.Drawing.Size(161, 28);
this.btn_col_rn.TabIndex = 12;
this.btn_col_rn.Text = "Spalte umbenennen";
this.btn_col_rn.UseVisualStyleBackColor = true;
this.btn_col_rn.Click += new System.EventHandler(this.btn_col_rn_Click);
//
// cb_col_rn
//
this.cb_col_rn.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_col_rn.FormattingEnabled = true;
this.cb_col_rn.Location = new System.Drawing.Point(105, 75);
this.cb_col_rn.Margin = new System.Windows.Forms.Padding(4);
this.cb_col_rn.Name = "cb_col_rn";
this.cb_col_rn.Size = new System.Drawing.Size(160, 24);
this.cb_col_rn.TabIndex = 6;
//
// tb_col_rn
//
this.tb_col_rn.Location = new System.Drawing.Point(105, 150);
this.tb_col_rn.Margin = new System.Windows.Forms.Padding(4);
this.tb_col_rn.Name = "tb_col_rn";
this.tb_col_rn.Size = new System.Drawing.Size(132, 22);
this.tb_col_rn.TabIndex = 11;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(101, 55);
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(95, 17);
this.label2.TabIndex = 8;
this.label2.Text = "Spaltenname:";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(101, 129);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(138, 17);
this.label1.TabIndex = 9;
this.label1.Text = "Neuer Spaltenname:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(123, 11);
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(73, 17);
this.label3.TabIndex = 7;
this.label3.Text = "Kategorie:";
//
// cb_tbl
//
this.cb_tbl.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_tbl.FormattingEnabled = true;
this.cb_tbl.Location = new System.Drawing.Point(127, 31);
this.cb_tbl.Margin = new System.Windows.Forms.Padding(4);
this.cb_tbl.Name = "cb_tbl";
this.cb_tbl.Size = new System.Drawing.Size(160, 24);
this.cb_tbl.TabIndex = 10;
this.cb_tbl.SelectedIndexChanged += new System.EventHandler(this.cb_tbl_rn_SelectedIndexChanged);
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Controls.Add(this.tabPage4);
this.tabControl1.Controls.Add(this.tabPage5);
this.tabControl1.Location = new System.Drawing.Point(16, 70);
this.tabControl1.Margin = new System.Windows.Forms.Padding(4);
this.tabControl1.Multiline = true;
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(392, 337);
this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.FillToRight;
this.tabControl1.TabIndex = 20;
//
// tabPage1
//
this.tabPage1.BackColor = System.Drawing.Color.Transparent;
this.tabPage1.Controls.Add(this.button1);
this.tabPage1.Controls.Add(this.label_colName1);
this.tabPage1.Controls.Add(this.cb_col_data);
this.tabPage1.Controls.Add(this.label_colType1);
this.tabPage1.Controls.Add(this.tb_col_name);
this.tabPage1.Location = new System.Drawing.Point(4, 46);
this.tabPage1.Margin = new System.Windows.Forms.Padding(4);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(4);
this.tabPage1.Size = new System.Drawing.Size(384, 287);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Spalte hinzufügen";
//
// tabPage2
//
this.tabPage2.BackColor = System.Drawing.Color.Transparent;
this.tabPage2.Controls.Add(this.btn_col_rn);
this.tabPage2.Controls.Add(this.cb_col_rn);
this.tabPage2.Controls.Add(this.label1);
this.tabPage2.Controls.Add(this.tb_col_rn);
this.tabPage2.Controls.Add(this.label2);
this.tabPage2.Location = new System.Drawing.Point(4, 46);
this.tabPage2.Margin = new System.Windows.Forms.Padding(4);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(4);
this.tabPage2.Size = new System.Drawing.Size(384, 287);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Spalte umbenennen";
//
// tabPage3
//
this.tabPage3.BackColor = System.Drawing.Color.Transparent;
this.tabPage3.Controls.Add(this.cb_col_del);
this.tabPage3.Controls.Add(this.btn_col_del);
this.tabPage3.Controls.Add(this.label_col_del);
this.tabPage3.Location = new System.Drawing.Point(4, 46);
this.tabPage3.Margin = new System.Windows.Forms.Padding(4);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(4);
this.tabPage3.Size = new System.Drawing.Size(384, 287);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "Spalte löschen";
//
// tabPage4
//
this.tabPage4.BackColor = System.Drawing.Color.Transparent;
this.tabPage4.Controls.Add(this.lb_rn);
this.tabPage4.Controls.Add(this.btn_rn);
this.tabPage4.Controls.Add(this.tb_tbl_rn);
this.tabPage4.Location = new System.Drawing.Point(4, 46);
this.tabPage4.Margin = new System.Windows.Forms.Padding(4);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Padding = new System.Windows.Forms.Padding(4);
this.tabPage4.Size = new System.Drawing.Size(384, 287);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "Kategorie umbenennen";
//
// tabPage5
//
this.tabPage5.BackColor = System.Drawing.Color.Transparent;
this.tabPage5.Controls.Add(this.btn_tbl_drop);
this.tabPage5.Location = new System.Drawing.Point(4, 46);
this.tabPage5.Margin = new System.Windows.Forms.Padding(4);
this.tabPage5.Name = "tabPage5";
this.tabPage5.Padding = new System.Windows.Forms.Padding(4);
this.tabPage5.Size = new System.Drawing.Size(384, 287);
this.tabPage5.TabIndex = 4;
this.tabPage5.Text = "Kategorie löschen";
//
// Kategorie_Edit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(424, 421);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.label3);
this.Controls.Add(this.cb_tbl);
this.ForeColor = System.Drawing.SystemColors.ControlText;
this.Margin = new System.Windows.Forms.Padding(4);
this.MinimizeBox = false;
this.Name = "Kategorie_Edit";
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.Text = "Kategorien bearbeiten";
this.Load += new System.EventHandler(this.Kategorie_Edit_Load_1);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
this.tabPage2.ResumeLayout(false);
this.tabPage2.PerformLayout();
this.tabPage3.ResumeLayout(false);
this.tabPage3.PerformLayout();
this.tabPage4.ResumeLayout(false);
this.tabPage4.PerformLayout();
this.tabPage5.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.ComboBox cb_col_data;
private System.Windows.Forms.TextBox tb_col_name;
private System.Windows.Forms.Label label_colType1;
private System.Windows.Forms.Label label_colName1;
private System.Windows.Forms.Button btn_tbl_drop;
private System.Windows.Forms.ComboBox cb_col_del;
private System.Windows.Forms.Button btn_col_del;
private System.Windows.Forms.Label label_col_del;
private System.Windows.Forms.Label lb_rn;
private System.Windows.Forms.TextBox tb_tbl_rn;
private System.Windows.Forms.Button btn_rn;
private System.Windows.Forms.Button btn_col_rn;
private System.Windows.Forms.ComboBox cb_col_rn;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox tb_col_rn;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox cb_tbl;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.TabPage tabPage4;
private System.Windows.Forms.TabPage tabPage5;
}
}
\ No newline at end of file
This diff is collapsed.
<?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: