Exemplo n.º 1
0
 public NumberingOptions(NumberingOptions source)
 {
     this.start     = source.start;
     this.increment = source.increment;
     this.format    = source.format;
     this.count     = source.count;
     this.stride    = source.stride;
 }
Exemplo n.º 2
0
        public NumberingDialog(NumberingOptions source)
        {
            this.options = source;

            InitializeComponent();

            numberingOptionsBindingSource.Add(this.options);

            this.textBoxFormat.TextChanged += TextBoxFormat_TextChanged;
            this.textBoxFormat.Validated   += TextBoxFormat_TextChanged;
        }
Exemplo n.º 3
0
 private void TextBoxFormat_TextChanged(object sender, EventArgs e)
 {
     this.labelExample.Text = NumberingOptions.FormatValue(1, this.textBoxFormat.Text);
 }