Ejemplo n.º 1
0
 private void SoundCloudCredentials_Click(object sender, EventArgs e)
 {
     try
     {
         CheckCloseWindows();
         AppendToLog("Starting SoundCloud credentials set...");
         _scw = new SoundCloudWindow();
         //scw.Closed += SoundCloudWindow_CredentialsSet;
         _scw.CredentialsSet += SoundCloudWindow_CredentialsSet;
         _scw.Show(this);
     }
     catch (Exception ex)
     {
         Log.Error(ex.Message, ex);
     }
 }
Ejemplo n.º 2
0
        private void CheckCloseWindows()
        {
            try
            {
                if (_fbw != null)
                {
                    _fbw.Close();
                    _fbw = null;
                }

                if (_scw != null)
                {
                    _scw.Close();
                    _scw = null;
                }
            }
            catch (Exception ex)
            {
                Log.Error(ex.Message, ex);
            }
        }
Ejemplo n.º 3
0
 private void SoundCloudCredentials_Click(object sender, EventArgs e)
 {
     try
     {
         CheckCloseWindows();
         AppendToLog("Starting SoundCloud credentials set...");
         _scw = new SoundCloudWindow();
         //scw.Closed += SoundCloudWindow_CredentialsSet;
         _scw.CredentialsSet += SoundCloudWindow_CredentialsSet;
         _scw.Show(this);
     }
     catch (Exception ex)
     {
         Log.Error(ex.Message, ex);
     }
 }
Ejemplo n.º 4
0
        private void CheckCloseWindows()
        {
            try
            {
                if (_fbw != null)
                {
                    _fbw.Close();
                    _fbw = null;
                }

                if (_scw != null)
                {
                    _scw.Close();
                    _scw = null;
                }
            }
            catch (Exception ex)
            {
                Log.Error(ex.Message, ex);
            }
        }