Winify

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 67  →  ?path2? @ 69
/trunk/Winify/Settings/SettingsForm.Designer.cs
@@ -47,6 +47,11 @@
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
this.label12 = new System.Windows.Forms.Label();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.groupBox8 = new System.Windows.Forms.GroupBox();
this.tableLayoutPanel14 = new System.Windows.Forms.TableLayoutPanel();
this.label13 = new System.Windows.Forms.Label();
this.trackBar1 = new System.Windows.Forms.TrackBar();
this.textBox4 = new System.Windows.Forms.TextBox();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
@@ -93,11 +98,6 @@
this.tableLayoutPanel9 = new System.Windows.Forms.TableLayoutPanel();
this.button5 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.groupBox8 = new System.Windows.Forms.GroupBox();
this.tableLayoutPanel14 = new System.Windows.Forms.TableLayoutPanel();
this.label13 = new System.Windows.Forms.Label();
this.trackBar1 = new System.Windows.Forms.TrackBar();
this.textBox4 = new System.Windows.Forms.TextBox();
this.tabControl1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.flowLayoutPanel2.SuspendLayout();
@@ -107,6 +107,9 @@
this.groupBox7.SuspendLayout();
this.tableLayoutPanel13.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
this.groupBox8.SuspendLayout();
this.tableLayoutPanel14.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
this.tabPage1.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
this.groupBox1.SuspendLayout();
@@ -125,9 +128,6 @@
this.tableLayoutPanel12.SuspendLayout();
this.tableLayoutPanel8.SuspendLayout();
this.tableLayoutPanel9.SuspendLayout();
this.groupBox8.SuspendLayout();
this.tableLayoutPanel14.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
this.SuspendLayout();
//
// tabControl1
@@ -303,6 +303,62 @@
this.checkBox4.UseVisualStyleBackColor = true;
this.checkBox4.CheckStateChanged += new System.EventHandler(this.checkBox4_CheckedStateChanged);
//
// groupBox8
//
this.groupBox8.Controls.Add(this.tableLayoutPanel14);
this.groupBox8.Location = new System.Drawing.Point(209, 62);
this.groupBox8.Name = "groupBox8";
this.groupBox8.Size = new System.Drawing.Size(200, 78);
this.groupBox8.TabIndex = 3;
this.groupBox8.TabStop = false;
this.groupBox8.Text = "Retrieve Past Notifications on Start";
//
// tableLayoutPanel14
//
this.tableLayoutPanel14.ColumnCount = 2;
this.tableLayoutPanel14.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 22.16495F));
this.tableLayoutPanel14.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 77.83505F));
this.tableLayoutPanel14.Controls.Add(this.label13, 0, 0);
this.tableLayoutPanel14.Controls.Add(this.trackBar1, 1, 0);
this.tableLayoutPanel14.Controls.Add(this.textBox4, 1, 1);
this.tableLayoutPanel14.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel14.Location = new System.Drawing.Point(3, 16);
this.tableLayoutPanel14.Name = "tableLayoutPanel14";
this.tableLayoutPanel14.RowCount = 2;
this.tableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel14.Size = new System.Drawing.Size(194, 59);
this.tableLayoutPanel14.TabIndex = 0;
//
// label13
//
this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(3, 13);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(37, 13);
this.label13.TabIndex = 0;
this.label13.Text = "Hours";
//
// trackBar1
//
this.trackBar1.Dock = System.Windows.Forms.DockStyle.Fill;
this.trackBar1.Location = new System.Drawing.Point(46, 3);
this.trackBar1.Maximum = 48;
this.trackBar1.Name = "trackBar1";
this.trackBar1.Size = new System.Drawing.Size(145, 33);
this.trackBar1.TabIndex = 1;
this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged);
//
// textBox4
//
this.textBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.textBox4.Location = new System.Drawing.Point(46, 42);
this.textBox4.Name = "textBox4";
this.textBox4.ReadOnly = true;
this.textBox4.Size = new System.Drawing.Size(145, 20);
this.textBox4.TabIndex = 2;
//
// tabPage1
//
this.tabPage1.Controls.Add(this.tableLayoutPanel3);
@@ -846,62 +902,6 @@
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.Button6_Click);
//
// groupBox8
//
this.groupBox8.Controls.Add(this.tableLayoutPanel14);
this.groupBox8.Location = new System.Drawing.Point(209, 62);
this.groupBox8.Name = "groupBox8";
this.groupBox8.Size = new System.Drawing.Size(200, 78);
this.groupBox8.TabIndex = 3;
this.groupBox8.TabStop = false;
this.groupBox8.Text = "Retrieve Past Notifications on Start";
//
// tableLayoutPanel14
//
this.tableLayoutPanel14.ColumnCount = 2;
this.tableLayoutPanel14.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 22.16495F));
this.tableLayoutPanel14.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 77.83505F));
this.tableLayoutPanel14.Controls.Add(this.label13, 0, 0);
this.tableLayoutPanel14.Controls.Add(this.trackBar1, 1, 0);
this.tableLayoutPanel14.Controls.Add(this.textBox4, 1, 1);
this.tableLayoutPanel14.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel14.Location = new System.Drawing.Point(3, 16);
this.tableLayoutPanel14.Name = "tableLayoutPanel14";
this.tableLayoutPanel14.RowCount = 2;
this.tableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel14.Size = new System.Drawing.Size(194, 59);
this.tableLayoutPanel14.TabIndex = 0;
//
// label13
//
this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(3, 13);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(37, 13);
this.label13.TabIndex = 0;
this.label13.Text = "Hours";
//
// trackBar1
//
this.trackBar1.Dock = System.Windows.Forms.DockStyle.Fill;
this.trackBar1.Location = new System.Drawing.Point(46, 3);
this.trackBar1.Maximum = 48;
this.trackBar1.Name = "trackBar1";
this.trackBar1.Size = new System.Drawing.Size(145, 33);
this.trackBar1.TabIndex = 1;
this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged);
//
// textBox4
//
this.textBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.textBox4.Location = new System.Drawing.Point(46, 42);
this.textBox4.Name = "textBox4";
this.textBox4.ReadOnly = true;
this.textBox4.Size = new System.Drawing.Size(145, 20);
this.textBox4.TabIndex = 2;
//
// SettingsForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -924,6 +924,10 @@
this.tableLayoutPanel13.ResumeLayout(false);
this.tableLayoutPanel13.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
this.groupBox8.ResumeLayout(false);
this.tableLayoutPanel14.ResumeLayout(false);
this.tableLayoutPanel14.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
this.tabPage1.ResumeLayout(false);
this.tableLayoutPanel3.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
@@ -945,10 +949,6 @@
this.tableLayoutPanel12.PerformLayout();
this.tableLayoutPanel8.ResumeLayout(false);
this.tableLayoutPanel9.ResumeLayout(false);
this.groupBox8.ResumeLayout(false);
this.tableLayoutPanel14.ResumeLayout(false);
this.tableLayoutPanel14.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
this.ResumeLayout(false);
 
}
/trunk/Winify/Settings/SettingsForm.cs
@@ -40,8 +40,6 @@
public SettingsForm()
{
InitializeComponent();
 
Utilities.WindowState.FormTracker.Track(this);
}
 
public SettingsForm(MainForm mainForm, Servers.Servers servers, Announcements.Announcements announcements,
@@ -224,6 +222,8 @@
 
private void SettingsForm_Load(object sender, EventArgs e)
{
Utilities.WindowState.FormTracker.Track(this);
 
// Databindings.
trackBar1.DataBindings.Add(new Binding("Value", _configurationBindingSource,
nameof(_mainForm.Configuration.RetrievePastNotificationHours), true,