public ManufacturerFormController(ManufacturerForm instance) { this.frmManufacturer = instance; this.srvManufacturer = SamsaraAppContext.Resolve <IManufacturerService>(); Assert.IsNotNull(this.srvManufacturer); this.InitializeFormControls(); }
private void fabricanteToolStripMenuItem_Click(object sender, System.EventArgs e) { try { this.Cursor = Cursors.WaitCursor; ManufacturerForm frmManufacturer = new ManufacturerForm(); frmManufacturer.Show(); } finally { this.Cursor = Cursors.Default; } }