summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-08-31 21:27:38 +0200
committeremkael <emkael@tlen.pl>2019-10-27 14:53:43 +0100
commit0bbfdfd58fe58cb46d3cef52f3f3e9439fe7f49b (patch)
treeeff1544761c425988d8c39990f470c74e4655fb4
parentf5a64f096926ef20680dbcc658c4074a8326bc6b (diff)
Ability to dump multiple databasesv1.0
-rw-r--r--spedytor/Form1.Designer.cs31
-rw-r--r--spedytor/Form1.cs72
-rw-r--r--spedytor/dbWindow.Designer.cs75
-rw-r--r--spedytor/dbWindow.cs41
-rw-r--r--spedytor/dbWindow.resx197
-rw-r--r--spedytor/spedytor.csproj12
6 files changed, 394 insertions, 34 deletions
diff --git a/spedytor/Form1.Designer.cs b/spedytor/Form1.Designer.cs
index f3c4f89..c86364b 100644
--- a/spedytor/Form1.Designer.cs
+++ b/spedytor/Form1.Designer.cs
@@ -31,7 +31,6 @@
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.lChooseDatabase = new System.Windows.Forms.Label();
- this.cbDatabaseName = new System.Windows.Forms.ComboBox();
this.cSend = new System.Windows.Forms.CheckBox();
this.nInterval = new System.Windows.Forms.NumericUpDown();
this.label1 = new System.Windows.Forms.Label();
@@ -46,6 +45,7 @@
this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
this.closeMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.bSelectDBs = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.nInterval)).BeginInit();
this.contextMenuStrip.SuspendLayout();
this.SuspendLayout();
@@ -55,18 +55,9 @@
this.lChooseDatabase.AutoSize = true;
this.lChooseDatabase.Location = new System.Drawing.Point(12, 11);
this.lChooseDatabase.Name = "lChooseDatabase";
- this.lChooseDatabase.Size = new System.Drawing.Size(34, 13);
+ this.lChooseDatabase.Size = new System.Drawing.Size(71, 13);
this.lChooseDatabase.TabIndex = 0;
- this.lChooseDatabase.Text = "Baza:";
- //
- // cbDatabaseName
- //
- this.cbDatabaseName.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cbDatabaseName.FormattingEnabled = true;
- this.cbDatabaseName.Location = new System.Drawing.Point(52, 8);
- this.cbDatabaseName.Name = "cbDatabaseName";
- this.cbDatabaseName.Size = new System.Drawing.Size(186, 21);
- this.cbDatabaseName.TabIndex = 1;
+ this.lChooseDatabase.Text = "Bazy danych:";
//
// cSend
//
@@ -116,6 +107,7 @@
//
// bTimer
//
+ this.bTimer.Enabled = false;
this.bTimer.Image = global::spedytor.Properties.Resources.refresh;
this.bTimer.Location = new System.Drawing.Point(153, 35);
this.bTimer.Name = "bTimer";
@@ -152,6 +144,7 @@
//
// bSave
//
+ this.bSave.Enabled = false;
this.bSave.Image = global::spedytor.Properties.Resources.save;
this.bSave.Location = new System.Drawing.Point(12, 35);
this.bSave.Name = "bSave";
@@ -209,11 +202,22 @@
this.closeMenuItem.Text = "Zakończ";
this.closeMenuItem.Click += new System.EventHandler(this.closeMenuItem_Click);
//
+ // bSelectDBs
+ //
+ this.bSelectDBs.Location = new System.Drawing.Point(89, 4);
+ this.bSelectDBs.Name = "bSelectDBs";
+ this.bSelectDBs.Size = new System.Drawing.Size(148, 23);
+ this.bSelectDBs.TabIndex = 12;
+ this.bSelectDBs.Text = "[nie wybrano]";
+ this.bSelectDBs.UseVisualStyleBackColor = true;
+ this.bSelectDBs.Click += new System.EventHandler(this.button1_Click);
+ //
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(307, 208);
+ this.Controls.Add(this.bSelectDBs);
this.Controls.Add(this.tbLog);
this.Controls.Add(this.bToggleLog);
this.Controls.Add(this.label1);
@@ -223,7 +227,6 @@
this.Controls.Add(this.bSettings);
this.Controls.Add(this.bSave);
this.Controls.Add(this.cSend);
- this.Controls.Add(this.cbDatabaseName);
this.Controls.Add(this.lChooseDatabase);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
@@ -243,7 +246,6 @@
#endregion
private System.Windows.Forms.Label lChooseDatabase;
- private System.Windows.Forms.ComboBox cbDatabaseName;
private System.Windows.Forms.CheckBox cSend;
private System.Windows.Forms.Button bSave;
private System.Windows.Forms.Button bSettings;
@@ -258,6 +260,7 @@
private System.Windows.Forms.NotifyIcon notifyIcon;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
private System.Windows.Forms.ToolStripMenuItem closeMenuItem;
+ private System.Windows.Forms.Button bSelectDBs;
}
}
diff --git a/spedytor/Form1.cs b/spedytor/Form1.cs
index c049af7..ac9cb43 100644
--- a/spedytor/Form1.cs
+++ b/spedytor/Form1.cs
@@ -14,10 +14,14 @@ namespace spedytor
public partial class Form1 : Form
{
const string LOG_FILENAME = "spedytor.log";
+ private List<string> selectedDBs = new List<string>();
+ private dbWindow dbSelectionWindow = new dbWindow();
+ private int runningDumps = 0;
public Form1()
{
InitializeComponent();
+ this.dbSelectionWindow.setParent(this);
}
private void bExit_Click(object sender, EventArgs e)
@@ -54,14 +58,20 @@ namespace spedytor
internal void refreshDatabaseList()
{
- this.cbDatabaseName.Items.Clear();
+ this.dbSelectionWindow.lbDatabases.Items.Clear();
MySQL c = new MySQL("");
MySqlDataReader dbs = c.select("SELECT TABLE_SCHEMA FROM information_schema.COLUMNS GROUP BY TABLE_SCHEMA;");
+ int index = 0;
while (dbs.Read())
{
- this.cbDatabaseName.Items.Add(dbs.GetString(0));
+ string dbName = dbs.GetString(0);
+ this.dbSelectionWindow.lbDatabases.Items.Add(dbName);
+ if (this.selectedDBs.IndexOf(dbName) > -1)
+ {
+ this.dbSelectionWindow.lbDatabases.SelectedIndices.Add(index);
+ }
+ index++;
}
- this.cbDatabaseName.SelectedIndex = 0;
dbs.Close();
}
@@ -102,24 +112,24 @@ namespace spedytor
private void bSave_Click(object sender, EventArgs e)
{
- this.setControlState(false, null);
string directory = this.getDirectory();
if (directory.Length > 0)
{
- string filePath = Path.Combine(directory, this.cbDatabaseName.SelectedItem.ToString() + DateTime.Now.ToString("-yyyyMMdd-HHmmss") + ".sql");
- string dbName = this.cbDatabaseName.SelectedItem.ToString();
- this.invokeSave(filePath, dbName);
- }
- else
- {
-
- this.setControlState(true, null);
- return;
+ foreach (string dbName in this.selectedDBs)
+ {
+ string filePath = Path.Combine(directory, dbName + DateTime.Now.ToString("-yyyyMMdd-HHmmss") + ".sql");
+ this.invokeSave(filePath, dbName, true);
+ }
}
}
- private void saveFile(string filePath, string dbName, string s3Bucket = null, bool enableControls = true)
+ private void saveFile(string filePath, string dbName, string s3Bucket = null, bool enableControls = false)
{
+ if (enableControls && this.runningDumps == 0)
+ {
+ this.Invoke(new setStateDelegate(setControlState), new object[] { false, null });
+ }
+ this.runningDumps++;
try
{
MySQL c = new MySQL(dbName);
@@ -130,7 +140,7 @@ namespace spedytor
{
S3 s3Client = new S3();
s3Client.send(s3Bucket, filePath, dbName + ".sql");
- Logger.getLogger(this.tbLog, LOG_FILENAME).log("Wysłano!");
+ Logger.getLogger(this.tbLog, LOG_FILENAME).log("Wysłano bazę danych: " + dbName + "!");
}
}
catch (Exception ex)
@@ -139,7 +149,8 @@ namespace spedytor
}
finally
{
- if (enableControls)
+ this.runningDumps--;
+ if (enableControls && this.runningDumps == 0)
{
this.Invoke(new setStateDelegate(setControlState), new object[] { true, null });
}
@@ -190,9 +201,11 @@ namespace spedytor
}
if (this.repeatFilePath.Length > 0)
{
- string filePath = Path.Combine(this.repeatFilePath, this.cbDatabaseName.SelectedItem.ToString() + DateTime.Now.ToString("-yyyyMMdd-HHmmss") + ".sql");
- string dbName = this.cbDatabaseName.SelectedItem.ToString();
- this.invokeSave(filePath, dbName, false);
+ foreach (string dbName in this.selectedDBs)
+ {
+ string filePath = Path.Combine(this.repeatFilePath, dbName + DateTime.Now.ToString("-yyyyMMdd-HHmmss") + ".sql");
+ this.invokeSave(filePath, dbName, false);
+ }
}
else
{
@@ -256,5 +269,26 @@ namespace spedytor
{
this.bExit_Click(null, null);
}
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ this.refreshDatabaseList();
+ this.dbSelectionWindow.ShowDialog();
+ }
+
+ internal void setSelectedDBs(List<string> selected)
+ {
+ this.selectedDBs = selected;
+ this.bSave.Enabled = this.bTimer.Enabled = (this.selectedDBs.Count > 0);
+ if (this.selectedDBs.Count == 0)
+ {
+ this.bSelectDBs.Text = "[nie wybrano]";
+ }
+ else
+ {
+ this.bSelectDBs.Text = String.Format("[wybrano: {0}]", this.selectedDBs.Count);
+ }
+ }
+
}
}
diff --git a/spedytor/dbWindow.Designer.cs b/spedytor/dbWindow.Designer.cs
new file mode 100644
index 0000000..b544a6a
--- /dev/null
+++ b/spedytor/dbWindow.Designer.cs
@@ -0,0 +1,75 @@
+namespace spedytor
+{
+ partial class dbWindow
+ {
+ /// <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()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(dbWindow));
+ this.bOK = new System.Windows.Forms.Button();
+ this.lbDatabases = new System.Windows.Forms.ListBox();
+ this.SuspendLayout();
+ //
+ // bOK
+ //
+ this.bOK.Location = new System.Drawing.Point(13, 220);
+ this.bOK.Name = "bOK";
+ this.bOK.Size = new System.Drawing.Size(259, 23);
+ this.bOK.TabIndex = 0;
+ this.bOK.Text = "OK";
+ this.bOK.UseVisualStyleBackColor = true;
+ this.bOK.Click += new System.EventHandler(this.bOK_Click);
+ //
+ // lbDatabases
+ //
+ this.lbDatabases.FormattingEnabled = true;
+ this.lbDatabases.Location = new System.Drawing.Point(13, 13);
+ this.lbDatabases.Name = "lbDatabases";
+ this.lbDatabases.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple;
+ this.lbDatabases.Size = new System.Drawing.Size(259, 199);
+ this.lbDatabases.TabIndex = 3;
+ //
+ // dbWindow
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(284, 255);
+ this.Controls.Add(this.lbDatabases);
+ this.Controls.Add(this.bOK);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Name = "dbWindow";
+ this.Text = "Wybór baz danych";
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button bOK;
+ public System.Windows.Forms.ListBox lbDatabases;
+ }
+} \ No newline at end of file
diff --git a/spedytor/dbWindow.cs b/spedytor/dbWindow.cs
new file mode 100644
index 0000000..3002075
--- /dev/null
+++ b/spedytor/dbWindow.cs
@@ -0,0 +1,41 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace spedytor
+{
+ public partial class dbWindow : Form
+ {
+ private Form1 mainForm;
+
+ public dbWindow()
+ {
+ InitializeComponent();
+ }
+
+ public void setParent(Form1 parent)
+ {
+ this.mainForm = parent;
+ }
+
+ private void bOK_Click(object sender, EventArgs e)
+ {
+ if (this.mainForm != null)
+ {
+ List<string> selected = new List<string>();
+ foreach (int index in this.lbDatabases.SelectedIndices)
+ {
+ selected.Add(this.lbDatabases.Items[index].ToString());
+ }
+ this.mainForm.setSelectedDBs(selected);
+ }
+ this.Close();
+ }
+
+ }
+}
diff --git a/spedytor/dbWindow.resx b/spedytor/dbWindow.resx
new file mode 100644
index 0000000..c473cfa
--- /dev/null
+++ b/spedytor/dbWindow.resx
@@ -0,0 +1,197 @@
+<?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=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>
+ <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>
+ AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAgBAAAAAAAAAAAAAAAAAAAAAA
+ AAD19fUAgIGBAGFncgBjaXYAY2l1AGNpdQBjaXUAYmh1AF9mdQBrb3UCeHp4And4dwBzcnQAcGtyAG5o
+ cABtZ3AAbWdwAG5ocABwa3IAdHJ1AHh4dwB4eXgCbm9xAWhpagBqamwAamttAGprbQBqa20Aa2xuAGZn
+ aQCFhYYA+/v7AOvr7AAcGRUAUDMAAF4+AQBbPAAAWzwAAFg6AABePgABcE0AATokAAAAAAAAAQAADQAF
+ ADYOIgZfHjwRfiVHFo0kRxaMHTsQfAwgBF0ABAAzAAABCwEAAAAsIxIAR0ArAjw0IQE6MR4AOzMgADsz
+ IAA9NSIAMSoYACYmJAD09fUA6OnsACklGQDprA0A/8EVAP68FAD+uhQA/8cWAfe6FQF/UQYAHRoHJ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3nH
+ V/16xlX6ccpa/328WdTWpB4c/K4MAPixEwLdmgcAMCshAPLz9gDo6ewAJiEWAOCcCQD7sREA8q0RA/yt
+ CwDfpx4Xkb9WvXDKX/90xlX9esZV+3rHV/x4x1f+eMdX/3jHV/94x1f/eMdX/3jHV/94x1f/eMdX/nrH
+ V/x6xlX8dMZV/nDKX/+VvVOy46cbEfytCwDyrBEC+7ISAN2aBwAwKyEA8vP2AOjp7AApJBoA4J4NAPqy
+ FQD0rRQA868VAvqvEAH1rRgBwb5IaofMZulwy2L/cchb/nbIWf95yFn8eshZ+3rIWvt6yFr7eshZ+3nI
+ Wf12yFn/cchb/nDLYv+KzGXlxb1FYPesFgD5rxAC864VAvStFAD7sxYA3psLADMuJADy8/YA6OnsACYh
+ FQDflwAA+asBAPOmAAD0pwAA86cAAvSnAAP9pQAA8K0QEMS6NW2YwkrIfsRP+XLETv9vw0v/bsNK/27D
+ Sv9vw0z/c8RO/3/ET/eawkrEyLozZvKsDg38pQAA9KcAA/OnAAH0pwAA86YAAPqrAgDdlAAAMCsgAPLz
+ 9gD09PYAlZKNAPDPhwD92YsA+deKAPrXigD614oA+teKAPjXiwP71YUB/9WEAP7ZkADw4KQd3Oa1Sszp
+ vGvF57d7xee3e83pvGnd5rRH8d+iGv7ZjwD/1IMA+9WGAfjXiwP614oA+teKAPrXigD514oA/dmLAO7O
+ hgCal5IA+Pn6AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wH+//8E/v//Av//
+ /wD///8A////AP///wD///8A////AP///wD///8A/v//Av7//wT///8B////AP///wD///8A////AP//
+ /wD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+</value>
+ </data>
+</root> \ No newline at end of file
diff --git a/spedytor/spedytor.csproj b/spedytor/spedytor.csproj
index 0d56b46..91afa2e 100644
--- a/spedytor/spedytor.csproj
+++ b/spedytor/spedytor.csproj
@@ -74,8 +74,15 @@
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
+ <Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
+ <Compile Include="dbWindow.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="dbWindow.Designer.cs">
+ <DependentUpon>dbWindow.cs</DependentUpon>
+ </Compile>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
@@ -98,6 +105,9 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>S3Settings.settings</DependentUpon>
</Compile>
+ <EmbeddedResource Include="dbWindow.resx">
+ <DependentUpon>dbWindow.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
@@ -179,4 +189,4 @@
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project> \ No newline at end of file