| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- 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 dlgSettings : Form
- {
- public dlgSettings()
- {
- InitializeComponent();
- }
- private void butOk_Click(object sender, EventArgs e)
- {
- AppSettings.Default.OutputFileMask = tbMask.Text;
- AppSettings.Default.SourceSearchPattern = tbExt.Text;
- AppSettings.Default.RemoveFromUri = tbReplacement.Text;
- AppSettings.Default.Save();
- Close();
- }
- private void dlgSettings_Load(object sender, EventArgs e)
- {
- tbMask.Text = AppSettings.Default.OutputFileMask;
- tbExt.Text = AppSettings.Default.SourceSearchPattern;
- tbReplacement.Text = AppSettings.Default.RemoveFromUri;
- }
- private void butCancel_Click(object sender, EventArgs e)
- {
- Close();
- }
- private void butReset_Click(object sender, EventArgs e)
- {
- AppSettings.Default.Reset();
- dlgSettings_Load(sender, e);
- }
- }
- }
|