Ejemplo n.º 1
0
 public void Execute(IGridController gridController, DataRow row)
 {
     using (InvoiceAutoForm invoiceAutoForm = new InvoiceAutoForm(Utils.GetGuid(row, "ID_INVOICE_GLOBAL")))
     {
         invoiceAutoForm.ShowDialog();
     }
 }
Ejemplo n.º 2
0
        public GridForm(IGridController controller)
        {
            _controller = controller;
            _images     = new Dictionary <int, PictureBox>();

            InitializeComponent();
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Start principal application
 /// </summary>
 /// <param name="notify"></param>
 /// <param name="config"></param>
 /// <param name="about"></param>
 /// <param name="grid"></param>
 /// <param name="deviceRepository"></param>
 public AppController(
     INotifyController notify,
     IConfigController config,
     IAboutController about,
     IGridController grid,
     IDeviceRepository deviceRepository
     )
 {
     this._notify           = notify;
     this._config           = config;
     this._about            = about;
     this._grid             = grid;
     this._deviceRepository = deviceRepository;
 }
Ejemplo n.º 4
0
 public bool IsEnabled(IGridController gridController, DataRow row)
 {
     return(Utils.GetString(row, "DOCUMENT_STATE") == "PROC");
 }
Ejemplo n.º 5
0
 public void AttachTreeView(IGridController gridController)
 {
     _gridController = gridController;
 }