Пример #1
0
 public DocumentTypeWarrantyFormController(DocumentTypeWarrantyForm instance)
 {
     this.frmDocumentTypeWarranty = instance;
     this.srvDocumentTypeWarranty = SamsaraAppContext.Resolve <IDocumentTypeWarrantyService>();
     Assert.IsNotNull(this.srvDocumentTypeWarranty);
     this.InitializeFormControls();
 }
Пример #2
0
 private void tiposDeDocumentosDeFianzasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         DocumentTypeWarrantyForm frmDocumentTypeWarranty = new DocumentTypeWarrantyForm();
         frmDocumentTypeWarranty.Show();
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }