public LoginForm() { // Need to explicitely dismiss the splash screen here, as the login dialog is shown before the desktop window, which is normally // responsible for dismissing it. #if !MONO SplashScreenManager.DismissSplashScreen(this); #endif InitializeComponent(); _manifest.Visible = !ManifestVerification.Valid; }
public TcgaLoginForm() { // Need to explicitely dismiss the splash screen here, as the login dialog is shown before the desktop window, which is normally // responsible for dismissing it. #if !MONO SplashScreenManager.DismissSplashScreen(this); #endif InitializeComponent(); // Make rounded corners Region = Region.FromHrgn(CreateRoundRectRgn(0, 0, Width - 10, Height - 10, 20, 20)); BackColor = Color.FromArgb(255, 184, 228, 242); UpdateButtonStates(); }