예제 #1
0
 /// <summary>
 /// Initializes a new instance of ButtonClickEventArgs
 /// </summary>
 /// <param name="Button">The button clicked in dialog, for custom buttons</param>
 /// <param name="cancel"></param>
 public ButtonClickEventArgs(TaskDialogButton Button, bool cancel) : base(cancel)
 {
     this.Button    = Button;
     IsCustomButton = true;
 }
 /// <summary>
 /// Initializes a new instance of TaskDialogResult
 /// </summary>
 /// <param name="Button">The custom button clicked</param>
 internal TaskDialogResult(TaskDialogButton Button)
 {
     this.Button    = Button;
     IsCustomButton = true;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of ButtonClickEventArgs
 /// </summary>
 /// <param name="Button">The button clicked in dialog, for custom buttons</param>
 public ButtonClickEventArgs(TaskDialogButton Button) : base()
 {
     this.Button    = Button;
     IsCustomButton = true;
 }