Exemplo n.º 1
0
        /// <summary>
        ///     Handles the Format builder button being clicked.
        /// </summary>
        /// <param name="sender">
        ///     The sender of the event.
        /// </param>
        /// <param name="e">
        ///     The arguments of the event.
        /// </param>
        private void FormatBuilderClick(object sender, EventArgs e)
        {
            var formatBuilderDialog = new FormatBuilder(selectedShowCustomFormatText.Text, fileResultManager);

            if (formatBuilderDialog.ShowDialog(this) == DialogResult.OK)
            {
                selectedShowCustomFormatText.Text = formatBuilderDialog.FormatString;
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Handles the Format builder button being clicked.
 /// </summary>
 /// <param name="sender">
 /// The sender of the event. 
 /// </param>
 /// <param name="e">
 /// The arguments of the event. 
 /// </param>
 private void FormatBuilderClick(object sender, EventArgs e)
 {
     var formatBuilderDialog = new FormatBuilder(this.selectedShowCustomFormatText.Text);
     if (formatBuilderDialog.ShowDialog(this) == DialogResult.OK)
     {
         this.selectedShowCustomFormatText.Text = formatBuilderDialog.FormatString;
     }
 }