public static FacebookManager GetInstance() { if (m_FacebookManager == null) { m_FacebookManager = new FacebookManager(); } return m_FacebookManager; }
public FacebookForm() { InitializeComponent(); m_FacebookManager = FacebookManager.GetInstance(); if (m_FacebookManager.AppSettingsInstance.RememberUser) { m_FacebookManager.AppSettingsInstance = AppSettings.GetInstance(); this.Location = m_FacebookManager.AppSettingsInstance.LastWindowLocation; this.m_CheckboxRemberMe.Checked = m_FacebookManager.AppSettingsInstance.RememberUser; } }