Exemple #1
0
 public override void FreeResource()
 {
     Debug.WriteLine("Soccer App-->FreeResource Addin");
     if (m_objopencommand != null)
     {
         m_objopencommand.FreeResources();
         m_objopencommand = null;
     }
     if (m_objDocument != null)
     {
         m_objDocument.FreeResource();
         m_objDocument = null;
     }
 }
Exemple #2
0
        }//end (GlobalVariableAddin)

        #endregion

        #region Public Methods

        public override void Load()
        {
            try
            {
                m_objopencommand = new OpenSoccerAppCmd();
                m_objopencommand.Initialize(ID, AddinName);
                m_objopencommand.OnOpenClick += M_objopencommand_OnCommandClick;
            }
            catch (Exception ex)
            {
                LogWriter.WriteLog(ex);
            }
            finally
            {
            }
            base.Load();
        }