| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using qdr.app.studiou.orders2printpack.Properties;
- 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 qdr.app.studiou.orders2printpack
- {
- public partial class FormLauncher : Form
- {
- public FormLauncher()
- {
- InitializeComponent();
- }
- private void FormLauncher_Load(object sender, EventArgs e)
- {
- Text = $"{Application.ProductName} v{Application.ProductVersion}";
- }
- private void butFormBatch_Click(object sender, EventArgs e)
- {
- var form = new FormBatch();
- form.Show(this);
- }
- private void butProductEdit_Click(object sender, EventArgs e)
- {
- var form = new FormProductEdit();
- form.Show(this);
- }
-
- private void butResetCfg_Click(object sender, EventArgs e)
- {
- AppSettings.Default.Reset();
- AppSettings.Default.Reload();
- AppSettings.Default.Save();
- MessageBox.Show("Konfigurace nastavena do výchozího nastavení.", "Reset konfigurace", MessageBoxButtons.OK, MessageBoxIcon.Information);
- }
- }
- }
|