コード例 #1
0
 public DocumentTypeWarrantyFormController(DocumentTypeWarrantyForm instance)
 {
     this.frmDocumentTypeWarranty = instance;
     this.srvDocumentTypeWarranty = SamsaraAppContext.Resolve <IDocumentTypeWarrantyService>();
     Assert.IsNotNull(this.srvDocumentTypeWarranty);
     this.InitializeFormControls();
 }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: najeraz/samsara-projects
 private void tiposDeDocumentosDeFianzasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         DocumentTypeWarrantyForm frmDocumentTypeWarranty = new DocumentTypeWarrantyForm();
         frmDocumentTypeWarranty.Show();
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }