示例#1
0
        private void buttonFriendRaterFeature_Click(object sender, EventArgs e)
        {
            BlinkButton button = this.buttonFaceLikerFeature as BlinkButton;

            button.Blink();
            this.Hide();
            m_FaceLikersForm.StartPosition = FormStartPosition.Manual;
            m_FaceLikersForm.Location      = this.Location;
            m_FaceLikersForm.Show();
        }
示例#2
0
        private void buttonCheckinFeature_Click(object sender, EventArgs e)
        {
            BlinkButton button = this.buttonCheckinFeature as BlinkButton;

            button.Blink();
            this.Hide();
            m_CheckInRecommensationForm.StartPosition = FormStartPosition.Manual;
            m_CheckInRecommensationForm.Location      = this.Location;
            m_CheckInRecommensationForm.Show();
        }
 private void buttonLogin_Click(object sender, EventArgs e)
 {
     m_AppManager = AppManager.Instance;
     try
     {
         m_AppManager.Login();
         BlinkButton button = this.buttonLogin as BlinkButton;
         button.Blink();
         this.Hide();
         m_AppManager.MainForm.StartPosition = FormStartPosition.Manual;
         m_AppManager.MainForm.Location      = this.Location;
         m_AppManager.MainForm.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Operation Failed: " + ex.Message);
     }
 }