/// <summary> /// Constructs a new input form. /// </summary> /// <param name="rebh"></param> public InputForm(ICreateTransaction th, ISubmitRebate rebh, IProcessReturn reth, IGenerateRebate gch) { transaction_handler = th; rebate_handler = rebh; generate_checks_handler = gch; return_handler = reth; }
/// <summary> /// Initializes the MainMenu class. /// </summary> public uxMainMenu(ICreateTransaction th, ISubmitRebate rebh, IProcessReturn reth, IGenerateRebate gch) { InitializeComponent(); transaction_handler = th; rebate_handler = rebh; generate_checks_handler = gch; return_handler = reth; }
/// <summary> /// Initializes the form. /// </summary> /// <param name="generate_checks_handler"></param> public uxGenerateChecks(IGenerateRebate generate_checks_handler) { this.generate_checks_handler = generate_checks_handler; InitializeComponent(); }