From aaaa6b45859e74c791f35e18c220118a54a345ad Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Fri, 17 Dec 2021 09:07:34 +0300 Subject: Create simple base form for settings window --- Source/Settings/SettingsForm.Designer.cs | 46 ++++++++++++ Source/Settings/SettingsForm.cs | 32 +++++++++ Source/Settings/SettingsForm.resx | 120 +++++++++++++++++++++++++++++++ 3 files changed, 198 insertions(+) create mode 100644 Source/Settings/SettingsForm.Designer.cs create mode 100644 Source/Settings/SettingsForm.cs create mode 100644 Source/Settings/SettingsForm.resx (limited to 'Source/Settings') diff --git a/Source/Settings/SettingsForm.Designer.cs b/Source/Settings/SettingsForm.Designer.cs new file mode 100644 index 0000000..ea14638 --- /dev/null +++ b/Source/Settings/SettingsForm.Designer.cs @@ -0,0 +1,46 @@ +namespace RehauSku.Settings +{ + partial class SettingsForm + { + /// + /// 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.SuspendLayout(); + // + // SettingsForm + // + 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 = "SettingsForm"; + this.Text = "SettingsForm"; + this.ResumeLayout(false); + + } + + #endregion + } +} \ No newline at end of file diff --git a/Source/Settings/SettingsForm.cs b/Source/Settings/SettingsForm.cs new file mode 100644 index 0000000..b87ac5c --- /dev/null +++ b/Source/Settings/SettingsForm.cs @@ -0,0 +1,32 @@ +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 RehauSku.Settings +{ + public partial class SettingsForm : Form + { + public SettingsForm() + { + InitializeComponent(); + + FormClosing += (sender, eventArgs) => + { + MessageBox.Show("ok"); + }; + + + } + + private void button1_Click(object sender, EventArgs e) + { + + } + } +} diff --git a/Source/Settings/SettingsForm.resx b/Source/Settings/SettingsForm.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Source/Settings/SettingsForm.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 -- cgit v1.2.3