private static void ComposerStateChanged(object sender, EventArgs e) { m_tray_icon.Icon = Composer.IsDisabled() ? Properties.Resources.IconDisabled : Composer.IsComposing() ? Properties.Resources.IconActive : Properties.Resources.IconNormal; m_tray_icon.Text = Composer.IsDisabled() ? i18n.Text.DisabledToolTip : String.Format(i18n.Text.TrayToolTip, Settings.ComposeKey.Value.FriendlyName, Settings.GetSequenceCount(), Program.Version); m_disable_item.Checked = Composer.IsDisabled(); }