private void timer_Callback(object state) { if (this.m_adTrack == null) { return; } var si = new SongInfo(this); if (this.Get(si, IntPtr.Zero, this.m_adTrack)) { DecchiCore.Run(si); } }
public static void DefaultADCallback(object args) { var rule = (IParseRule)args; var si = rule.GetFromPlayer(null); if (si != null) { // 같은 곡이 아님 if (IParseRule.m_befTitle != si.Title) { DecchiCore.Run(si); } IParseRule.m_befTitle = si.Title; } rule.m_timer.Change(IParseRule.RefreshTimeSpan, 0); }
private void ctlTweet_Click(object sender, RoutedEventArgs e) { DecchiCore.Run(); }