Audioguides QR Code ordner öffnen hinzu
This commit is contained in:
+16
@@ -31,6 +31,7 @@
|
||||
bt_connect = new Button();
|
||||
dataGridView1 = new DataGridView();
|
||||
bt_Save = new Button();
|
||||
cb_OPenPathAferSave = new CheckBox();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
@@ -65,11 +66,24 @@
|
||||
bt_Save.UseVisualStyleBackColor = true;
|
||||
bt_Save.Click += bt_Save_Click;
|
||||
//
|
||||
// cb_OPenPathAferSave
|
||||
//
|
||||
cb_OPenPathAferSave.AutoSize = true;
|
||||
cb_OPenPathAferSave.Checked = true;
|
||||
cb_OPenPathAferSave.CheckState = CheckState.Checked;
|
||||
cb_OPenPathAferSave.Location = new Point(421, 16);
|
||||
cb_OPenPathAferSave.Name = "cb_OPenPathAferSave";
|
||||
cb_OPenPathAferSave.Size = new Size(214, 19);
|
||||
cb_OPenPathAferSave.TabIndex = 5;
|
||||
cb_OPenPathAferSave.Text = "Speicherort nach Abschluss öffnen?";
|
||||
cb_OPenPathAferSave.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// QR4AudioGuide
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(800, 520);
|
||||
Controls.Add(cb_OPenPathAferSave);
|
||||
Controls.Add(bt_Save);
|
||||
Controls.Add(dataGridView1);
|
||||
Controls.Add(bt_connect);
|
||||
@@ -77,6 +91,7 @@
|
||||
Text = "QR4AudioGuide";
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -84,5 +99,6 @@
|
||||
private Button bt_connect;
|
||||
private DataGridView dataGridView1;
|
||||
private Button bt_Save;
|
||||
private CheckBox cb_OPenPathAferSave;
|
||||
}
|
||||
}
|
||||
@@ -152,7 +152,10 @@ namespace QR_Code_Generator
|
||||
qrCode.Save(filePath, System.Drawing.Imaging.ImageFormat.Png);
|
||||
}
|
||||
}
|
||||
|
||||
if(cb_OPenPathAferSave.Checked)
|
||||
{
|
||||
System.Diagnostics.Process.Start("explorer.exe", selectedPath);
|
||||
}
|
||||
MessageBox.Show("QR-Codes gespeichert!", "Fertig", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user