public SettingsDialog() { this.InitializeComponent(); this.Icon = Properties.Resources.MainIcon; PermissionCheck.SetButtonShield(this.btnRemove, !PermissionCheck.IsRunAsAdmin); PermissionCheck.SetButtonShield(this.btnInstall, !PermissionCheck.IsRunAsAdmin); this.SetDoubleBuffered(this.tabContent); this.SetDoubleBuffered(this.tabRegistration); this.SetDoubleBuffered(this.tabArguments); this.SetDoubleBuffered(this.txtArguments); // Actually, it does not really has an effect. But why? }