コード例 #1
0
ファイル: LDT_LotteryDrawType.cs プロジェクト: melfallas/SILO
        public long copy(LDT_LotteryDrawType pDrawType)
        {
            long actualStatus = pDrawType.SYS_SynchronyStatus;

            this.LDT_Code            = pDrawType.LDT_Code;
            this.LDT_DisplayName     = pDrawType.LDT_DisplayName;
            this.LDT_Description     = pDrawType.LDT_Description;
            this.SYS_SynchronyStatus = pDrawType.SYS_SynchronyStatus;
            return(actualStatus);
        }
コード例 #2
0
ファイル: ListInstanceForm.cs プロジェクト: melfallas/SILO
 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();
 }
コード例 #3
0
ファイル: ListInstanceForm.cs プロジェクト: melfallas/SILO
 /*
  * 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();
 }