Trackbar eingefügt für Icongröße
This commit is contained in:
Generated
+26
-9
@@ -71,6 +71,7 @@
|
||||
checkBox_isHidden = new CheckBox();
|
||||
bt_createQR_WIFI = new Button();
|
||||
tabPage4 = new TabPage();
|
||||
ICAL_fullday = new CheckBox();
|
||||
ICAL_location = new TextBox();
|
||||
ICAL_summary = new TextBox();
|
||||
ICAL_description = new TextBox();
|
||||
@@ -92,7 +93,7 @@
|
||||
panel_ColorDark = new Panel();
|
||||
button_ChangeColorLight = new Button();
|
||||
button_ChangeColorDark = new Button();
|
||||
ICAL_fullday = new CheckBox();
|
||||
tb_IconSize = new TrackBar();
|
||||
tabControl1.SuspendLayout();
|
||||
tabPage1.SuspendLayout();
|
||||
tabPage2.SuspendLayout();
|
||||
@@ -100,6 +101,7 @@
|
||||
tabPage4.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)pb_QRC).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)pb_icon).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)tb_IconSize).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// tabControl1
|
||||
@@ -524,6 +526,16 @@
|
||||
tabPage4.Text = "Termin";
|
||||
tabPage4.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// ICAL_fullday
|
||||
//
|
||||
ICAL_fullday.AutoSize = true;
|
||||
ICAL_fullday.Location = new Point(253, 86);
|
||||
ICAL_fullday.Name = "ICAL_fullday";
|
||||
ICAL_fullday.Size = new Size(78, 19);
|
||||
ICAL_fullday.TabIndex = 30;
|
||||
ICAL_fullday.Text = "ganztägig";
|
||||
ICAL_fullday.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// ICAL_location
|
||||
//
|
||||
ICAL_location.Location = new Point(106, 45);
|
||||
@@ -703,21 +715,23 @@
|
||||
button_ChangeColorDark.UseVisualStyleBackColor = true;
|
||||
button_ChangeColorDark.Click += button_ChangeColorDark_Click;
|
||||
//
|
||||
// ICAL_fullday
|
||||
// tb_IconSize
|
||||
//
|
||||
ICAL_fullday.AutoSize = true;
|
||||
ICAL_fullday.Location = new Point(253, 86);
|
||||
ICAL_fullday.Name = "ICAL_fullday";
|
||||
ICAL_fullday.Size = new Size(78, 19);
|
||||
ICAL_fullday.TabIndex = 30;
|
||||
ICAL_fullday.Text = "ganztägig";
|
||||
ICAL_fullday.UseVisualStyleBackColor = true;
|
||||
tb_IconSize.Location = new Point(517, 186);
|
||||
tb_IconSize.Maximum = 33;
|
||||
tb_IconSize.Minimum = 10;
|
||||
tb_IconSize.Name = "tb_IconSize";
|
||||
tb_IconSize.Size = new Size(263, 45);
|
||||
tb_IconSize.TabIndex = 10;
|
||||
tb_IconSize.Value = 15;
|
||||
tb_IconSize.Scroll += tb_IconSize_Scroll;
|
||||
//
|
||||
// Main
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(929, 733);
|
||||
Controls.Add(tb_IconSize);
|
||||
Controls.Add(button_ChangeColorDark);
|
||||
Controls.Add(button_ChangeColorLight);
|
||||
Controls.Add(panel_ColorDark);
|
||||
@@ -743,7 +757,9 @@
|
||||
tabPage4.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)pb_QRC).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)pb_icon).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)tb_IconSize).EndInit();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -813,5 +829,6 @@
|
||||
private TextBox ICAL_summary;
|
||||
private TextBox ICAL_description;
|
||||
private CheckBox ICAL_fullday;
|
||||
private TrackBar tb_IconSize;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -300,5 +300,10 @@ namespace QR_Code_Generator
|
||||
{
|
||||
ICAL_ende.Value = ICAL_start.Value.AddHours(1);
|
||||
}
|
||||
|
||||
private void tb_IconSize_Scroll(object sender, EventArgs e)
|
||||
{
|
||||
iconSizePercent = tb_IconSize.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user