public PaymentTable(string tableName, PaymentController controller) { InitializeComponent(); _paymentController = controller; _tableId = Convert.ToUInt32(tableName.Substring(8)); _evRepeater = new OperationEventRepeater <Order>(); _evRepeater.OperationEvent += DoAlterations; _paymentController.AddOrderAlterEvent(_evRepeater.Repeater); _evTableRepeater = new OperationEventRepeater <Table>(); _evTableRepeater.OperationEvent += DoTableAlterations; _paymentController.AddTableAlterEvent(_evTableRepeater.Repeater); }