コード例 #1
0
        /// <summary>
        /// Handles the CorporationIndustryJobsUpdated event of the EveMonClient control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EVEMon.Common.CustomEventArgs.CharacterChangedEventArgs"/> instance containing the event data.</param>
        private void EveMonClient_CorporationIndustryJobsUpdated(object sender, CharacterChangedEventArgs e)
        {
            if (e.Character != this)
                return;

            if (Identity.CanQueryCharacterInfo && m_characterDataQuerying != null &&
                !m_characterDataQuerying.CharacterIndustryJobsQueried)
            {
                return;
            }

            NotifyForIndustryJobsRelatedEvents();
        }
コード例 #2
0
        /// <summary>
        /// When the character changes, we invalidate the repainting.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void EveMonClient_CharacterUpdated(object sender, CharacterChangedEventArgs e)
        {
            if (!Visible)
                return;

            CCPCharacter ccpCharacter = e.Character as CCPCharacter;

            // Current character isn't a CCP character, so can't have a Queue.
            if (ccpCharacter == null)
                return;

            if (m_skillQueue == null || ccpCharacter.SkillQueue != m_skillQueue)
                return;

            Invalidate();
        }
コード例 #3
0
        /// <summary>
        /// Handles the CharacterAssetsUpdated event of the EveMonClient control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EVEMon.Common.CustomEventArgs.CharacterChangedEventArgs"/> instance containing the event data.</param>
        /// <remarks>Triggering a settings exportation to update the character owned skillbooks found in Assets</remarks>
        private void EveMonClient_CharacterAssetsUpdated(object sender, CharacterChangedEventArgs e)
        {
            if (e.Character != this)
                return;

            Export();
        }