diff --git a/App.config b/App.config
index 56efbc7..1cd0cbc 100644
--- a/App.config
+++ b/App.config
@@ -1,6 +1,14 @@
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Form1.Designer.cs b/Form1.Designer.cs
deleted file mode 100644
index 636a33e..0000000
--- a/Form1.Designer.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-
-namespace RailCrossingDataManager {
- partial class Form1 {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing) {
- if (disposing && (components != null)) {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent() {
- this.components = new System.ComponentModel.Container();
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(800, 450);
- this.Text = "Form1";
- }
-
- #endregion
- }
-}
-
diff --git a/MainForm.Designer.cs b/MainForm.Designer.cs
new file mode 100644
index 0000000..f1ca44e
--- /dev/null
+++ b/MainForm.Designer.cs
@@ -0,0 +1,91 @@
+
+namespace RailCrossingDataManager {
+ partial class MainForm {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing) {
+ if (disposing && (components != null)) {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent() {
+ this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
+ this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
+ this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
+ this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
+ ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
+ this.SuspendLayout();
+ //
+ // ribbon
+ //
+ this.ribbon.ExpandCollapseItem.Id = 0;
+ this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
+ this.ribbon.ExpandCollapseItem,
+ this.ribbon.SearchEditItem});
+ this.ribbon.Location = new System.Drawing.Point(0, 0);
+ this.ribbon.MaxItemId = 1;
+ this.ribbon.Name = "ribbon";
+ this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
+ this.ribbonPage1});
+ this.ribbon.Size = new System.Drawing.Size(744, 158);
+ this.ribbon.StatusBar = this.ribbonStatusBar;
+ //
+ // ribbonPage1
+ //
+ this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
+ this.ribbonPageGroup1});
+ this.ribbonPage1.Name = "ribbonPage1";
+ this.ribbonPage1.Text = "Home";
+ //
+ // ribbonPageGroup1
+ //
+ this.ribbonPageGroup1.Name = "ribbonPageGroup1";
+ this.ribbonPageGroup1.Text = "ribbonPageGroup1";
+ //
+ // ribbonStatusBar
+ //
+ this.ribbonStatusBar.Location = new System.Drawing.Point(0, 413);
+ this.ribbonStatusBar.Name = "ribbonStatusBar";
+ this.ribbonStatusBar.Ribbon = this.ribbon;
+ this.ribbonStatusBar.Size = new System.Drawing.Size(744, 24);
+ //
+ // MainForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(744, 437);
+ this.Controls.Add(this.ribbonStatusBar);
+ this.Controls.Add(this.ribbon);
+ this.Name = "MainForm";
+ this.Ribbon = this.ribbon;
+ this.StatusBar = this.ribbonStatusBar;
+ this.Text = "Rail Crossing Data Manager";
+ ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private DevExpress.XtraBars.Ribbon.RibbonControl ribbon;
+ private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
+ private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
+ private DevExpress.XtraBars.Ribbon.RibbonStatusBar ribbonStatusBar;
+ }
+}
\ No newline at end of file
diff --git a/Form1.cs b/MainForm.cs
similarity index 65%
rename from Form1.cs
rename to MainForm.cs
index faeccbf..bf7c2e0 100644
--- a/Form1.cs
+++ b/MainForm.cs
@@ -1,4 +1,5 @@
-using System;
+using DevExpress.XtraBars;
+using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
@@ -9,9 +10,9 @@ using System.Threading.Tasks;
using System.Windows.Forms;
namespace RailCrossingDataManager {
- public partial class Form1 : Form {
- public Form1() {
+ public partial class MainForm : DevExpress.XtraBars.Ribbon.RibbonForm {
+ public MainForm() {
InitializeComponent();
}
}
-}
+}
\ No newline at end of file
diff --git a/MainForm.resx b/MainForm.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/MainForm.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/Program.cs b/Program.cs
index c9261f2..97c2bab 100644
--- a/Program.cs
+++ b/Program.cs
@@ -13,7 +13,7 @@ namespace RailCrossingDataManager {
static void Main() {
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new Form1());
+ Application.Run(new MainForm());
}
}
}
diff --git a/Properties/licenses.licx b/Properties/licenses.licx
new file mode 100644
index 0000000..8f02e9b
--- /dev/null
+++ b/Properties/licenses.licx
@@ -0,0 +1,2 @@
+DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v21.2, Version=21.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
+DevExpress.XtraEditors.CheckEdit, DevExpress.XtraEditors.v21.2, Version=21.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
diff --git a/RailCrossingDataManager.csproj b/RailCrossingDataManager.csproj
index 1dead82..25e99b3 100644
--- a/RailCrossingDataManager.csproj
+++ b/RailCrossingDataManager.csproj
@@ -12,6 +12,8 @@
512
true
true
+
+
AnyCPU
@@ -33,8 +35,45 @@
4
+
+ packages\CsvHelper.27.2.1\lib\net47\CsvHelper.dll
+
+
+
+
+
+
+
+
+
+ packages\Microsoft.Bcl.AsyncInterfaces.1.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll
+
+
+ packages\Microsoft.Bcl.HashCode.1.0.0\lib\net461\Microsoft.Bcl.HashCode.dll
+
+
+ packages\System.Buffers.4.4.0\lib\netstandard2.0\System.Buffers.dll
+
+
+
+
+ packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\lib\net46\System.Data.SQLite.dll
+
+
+ packages\System.Memory.4.5.0\lib\netstandard2.0\System.Memory.dll
+
+
+
+ packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll
+
+
+ packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll
+
+
+ packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll
+
@@ -46,14 +85,18 @@
-
+
Form
-
- Form1.cs
+
+ MainForm.cs
+
+ MainForm.cs
+
+
ResXFileCodeGenerator
Resources.Designer.cs
@@ -63,6 +106,7 @@
True
Resources.resx
+
SettingsSingleFileGenerator
Settings.Designer.cs
@@ -77,4 +121,11 @@
+
+
+
+ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
+
+
+
\ No newline at end of file
diff --git a/packages.config b/packages.config
new file mode 100644
index 0000000..c2fe869
--- /dev/null
+++ b/packages.config
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file