/// <summary>
 /// Set the required properties values and click event of ignore button.
 /// </summary>
 private void EvaluateIgnoreButton()
 {
     _ignoreButton = new MetroSetDefaultButton
     {
         Text    = @"Ignore",
         Size    = _buttonSize,
         Visible = false
     };
     _ignoreButton.Click += IgnoreButton_Click;
 }
 /// <summary>
 /// Set the required properties values and click event of ok button.
 /// </summary>
 private void EvaluateOkeyButton()
 {
     _okButton = new MetroSetDefaultButton
     {
         Text    = @"Ok",
         Size    = _buttonSize,
         Visible = false
     };
     _okButton.Click += OkButton_Click;
 }
 /// <summary>
 /// Set the required properties values and click event of abort button.
 /// </summary>
 private void EvaluateAbortButton()
 {
     _abortButton = new MetroSetDefaultButton
     {
         Text    = @"Abort",
         Size    = _buttonSize,
         Visible = false
     };
     _abortButton.Click += AbortButton_Click;
 }
 /// <summary>
 /// Set the required properties values and click event of yes button.
 /// </summary>
 private void EvaluateYesButton()
 {
     _yesButton = new MetroSetDefaultButton
     {
         Text    = @"Yes",
         Size    = _buttonSize,
         Visible = false
     };
     _yesButton.Click += YesButton_Click;
 }
 /// <summary>
 /// Set the required properties values and click event of no button.
 /// </summary>
 private void EvaluateNoButton()
 {
     _noButton = new MetroSetDefaultButton
     {
         Text    = @"No",
         Size    = _buttonSize,
         Visible = false
     };
     _noButton.Click += NoButton_Click;
 }
 /// <summary>
 /// Set the required properties values and click event of cancel button.
 /// </summary>
 private void EvaluateCancelButton()
 {
     _cancelButton = new MetroSetDefaultButton
     {
         Text    = @"Cancel",
         Size    = _buttonSize,
         Visible = false
     };
     _cancelButton.Click += CancelButton_Click;
 }
 /// <summary>
 /// Set the required properties values and click event of retry button.
 /// </summary>
 private void EvaluateRetryButton()
 {
     _retryButton = new MetroSetDefaultButton
     {
         Text    = @"Retry",
         Size    = _buttonSize,
         Visible = false
     };
     _retryButton.Click += RetryButton_Click;
 }
Beispiel #8
0
 public MetroSetDefaultButtonActionList(IComponent component) : base(component)
 {
     _metroSetButton = (MetroSetDefaultButton)component;
 }