private void menuItemSetup_Click(object sender, EventArgs e) { if (PrefC.GetBool(PrefName.UpdateWindowShowsClassicView)) { return; } if (!Security.IsAuthorized(Permissions.Setup)) { return; } FormUpdateSetup FormU = new FormUpdateSetup(); FormU.ShowDialog(); SetButtonVisibility(); }
private void menuItemSetup_Click(object sender,EventArgs e) { if(PrefC.GetBool(PrefName.UpdateWindowShowsClassicView)){ return; } FormUpdateSetup FormU=new FormUpdateSetup(); FormU.ShowDialog(); SetMsiVisibility(); }