Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            var obj = new frmBarSpacingSettings(_horSpacingSetting);

            obj.ShowDialog();
            if (obj.DialogResult == DialogResult.OK)
            {
                tbHorSpacing.Text = _horSpacingSetting.SpacingText();
            }
        }
Пример #2
0
        private void btnVertSpacingSetting_Click(object sender, EventArgs e)
        {
            var obj = new frmBarSpacingSettings(_tmpVertSpacingSetting);

            obj.ShowDialog();
            if (obj.DialogResult == DialogResult.OK)
            {
                tbVertSpacing.Text = _tmpVertSpacingSetting.SpacingText();
            }
        }