Beispiel #1
0
 public ListBoxSelector(ListSelectorForm pSelector, DateTime pDate, long pGroup)
 {
     InitializeComponent();
     this.drawDate = pDate;
     this.drawType = pGroup;
     this.selector = pSelector;
     this.fillTable();
 }
Beispiel #2
0
 public CopyListForm(ApplicationMediator pMediator, ListSelectorForm pSelectorForm, long pListId)
 {
     InitializeComponent();
     this.listId       = pListId;
     this.selectorForm = pSelectorForm;
     this.groupService = new DrawTypeService();
     this.createControls();
     // Establecer el ApplicationMediator
     this.appMediator = pMediator;
 }
Beispiel #3
0
 private void displayScreenByType(long pGroupId, DateTime pDrawDate)
 {
     // Validar el tipo de pantalla de despliegue DisplayScreenForm
     if (this.type == SystemConstants.DISPLAY_QR_CODE)
     {
         // Pantalla de despliegue de Código QR
         DisplayQRForm qrForm = new DisplayQRForm(pDrawDate, pGroupId);
         if (qrForm.generateQRCode())
         {
             qrForm.Show();
         }
     }
     else
     {
         // Pantalla de despliegue de Selección de Lista
         ListSelectorForm listBoxSelector = new ListSelectorForm(this.appMediator, pDrawDate, pGroupId, this.type);
         listBoxSelector.ShowDialog();
     }
 }