public LoginForm() { InitializeComponent(); LoginTitle.Focus(); LoginTitle.Select(); MessageBox.Text = ""; }
void ReleaseDesignerOutlets() { if (FacebookBtn != null) { FacebookBtn.Dispose(); FacebookBtn = null; } if (GoogleBtn != null) { GoogleBtn.Dispose(); GoogleBtn = null; } if (LoginBtn != null) { LoginBtn.Dispose(); LoginBtn = null; } if (LoginDesc != null) { LoginDesc.Dispose(); LoginDesc = null; } if (LoginPlaceholder != null) { LoginPlaceholder.Dispose(); LoginPlaceholder = null; } if (LoginTitle != null) { LoginTitle.Dispose(); LoginTitle = null; } if (MicrosoftBtn != null) { MicrosoftBtn.Dispose(); MicrosoftBtn = null; } }