예제 #1
0
        public static FacebookManager GetInstance()
        {
            if (m_FacebookManager == null)
            {
                m_FacebookManager = new FacebookManager();
            }

            return(m_FacebookManager);
        }
예제 #2
0
        public FacebookForm()
        {
            this.InitializeComponent();
            m_FacebookManager = FacebookManager.GetInstance();

            if (m_FacebookManager.AppSettingsInstance.RememberUser)
            {
                m_FacebookManager.AppSettingsInstance = AppSettings.GetInstance();
                this.Size     = m_FacebookManager.AppSettingsInstance.LastWindowsSize;
                this.Location = m_FacebookManager.AppSettingsInstance.LastWindowLocation;
                this.m_RemberMeCheckbox.Checked = m_FacebookManager.AppSettingsInstance.RememberUser;
            }
        }