public CreateUserDialog(Action callback)
 {
     InitializeComponent();
     if (callback != null)
     {
         successCallback = new SuccessCallBackEventHandler(callback);
     }
 }
Exemple #2
0
 public RentBooksDialog(string bookNumber, Action action)
 {
     InitializeComponent();
     this.bookNumber = bookNumber;
     if (action != null)
     {
         successCallback = new SuccessCallBackEventHandler(action);
     }
     initlizationBookInfo(bookNumber);
     this.userId_txt.Visible = false;
 }