private void firewallsToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; FirewallBrandForm frmFirewallBrand = new FirewallBrandForm(); frmFirewallBrand.Show(); } finally { this.Cursor = Cursors.Default; } }
public FirewallBrandFormController(FirewallBrandForm instance) { this.frmFirewallBrand = instance; this.srvFirewallBrand = SamsaraAppContext.Resolve <IFirewallBrandService>(); this.InitializeFormControls(); }