| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using qdr.app.studiou.orders2printpack.Properties;
- namespace qdr.app.studiou.orders2printpack
- {
- public partial class dlgLabelSettings : Form
- {
- public dlgLabelSettings()
- {
- InitializeComponent();
- }
- #region *** Form Handler ***
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>")]
- private void dlgLabelSettings_Load(object sender, EventArgs e)
- {
- tbTemplate.Text = AppSettings.Default.LabelTemplate;
- tbLPerCol.Text = AppSettings.Default.LabelPerCol;
- tbLPerRow.Text = AppSettings.Default.LabelPerRow;
- tbLWidth.Text = AppSettings.Default.LabelWidth;
- tbLHeight.Text = AppSettings.Default.LabelHeight;
- }
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "<Pending>")]
- private void butOk_Click(object sender, EventArgs e)
- {
- AppSettings.Default.LabelTemplate = tbTemplate.Text;
- AppSettings.Default.LabelPerCol = tbLPerCol.Text;
- AppSettings.Default.LabelPerRow = tbLPerRow.Text;
- AppSettings.Default.LabelWidth = tbLWidth.Text;
- AppSettings.Default.LabelHeight = tbLHeight.Text;
- AppSettings.Default.Save();
- Close();
- }
- #endregion
- private void butCancel_Click(object sender, EventArgs e)
- {
- Close();
- }
- }
- }
|