| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- 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();
- }
- }
- }
|