public long copy(LPS_LotteryPointSale pSalePoint) { long actualStatus = this.SYS_SynchronyStatus; this.LPS_Code = pSalePoint.LPS_Code; this.LPS_DisplayName = pSalePoint.LPS_DisplayName; this.LPS_Description = pSalePoint.LPS_Description; this.CPN_Company = pSalePoint.CPN_Company; this.LPS_Counter = pSalePoint.LPS_Counter; this.LPS_IsActive = pSalePoint.LPS_IsActive; this.SYS_SynchronyStatus = pSalePoint.SYS_SynchronyStatus; this.LPS_CreateDate = pSalePoint.LPS_CreateDate; return(actualStatus); }
/* * public ListInstanceForm() * { * initializeComponent(); * } */ public ListInstanceForm(ApplicationMediator pMediator, NumberBoxForm pParent, LPS_LotteryPointSale pPointSale, LDT_LotteryDrawType pDrawType, DateTime pDrawDate) { this.optionMenuEnabled = true; this.numberBoxFormParent = pParent; this.listSelectorFormParent = null; this.pointSale = pPointSale; this.drawType = pDrawType; this.drawDate = pDrawDate; //this.numberDetail = null; initializeComponent(); // Establecer el ApplicationMediator this.appMediator = pMediator; this.ticketPrintService = new TicketPrintService(); //this.lotteryListControl.resetCurrentCell(); }
public ListInstanceForm(ApplicationMediator pMediator, ListSelectorForm pSelectorForm, LPS_LotteryPointSale pPointSale, LDT_LotteryDrawType pDrawType, DateTime pDrawDate, List <LotteryTuple> pNumberList = null) { this.optionMenuEnabled = true; this.numberBoxFormParent = null; this.listSelectorFormParent = pSelectorForm; this.pointSale = pPointSale; this.drawType = pDrawType; this.drawDate = pDrawDate; this.initializeComponent(); // Inicializar el list control si hay una lista asociada if (pNumberList != null) { this.initializeListControl(pNumberList); } // Establecer el ApplicationMediator this.appMediator = pMediator; this.ticketPrintService = new TicketPrintService(); //this.lotteryListControl.resetCurrentCell(); }