//------------------------------------------------------------------------------- // private void TwitMenu_SpecifyTimeTweetRequest_Click(object sender, TwitRowMenuEventArgs e) { using (FrmGetTweet frm = new FrmGetTweet()) { frm.EnableDateTimeTo = true; frm.DateTimeTo = e.TwitData.Time; if (frm.ShowDialog() == DialogResult.OK) { tssLabel.SetText(STR_GETTING_STATUS); Utilization.InvokeTransaction( () => GetSpecifyTimeTweets((UctlDispTwit)sender, frm.EnableDateTimeFrom, frm.DateTimeFrom, frm.EnableDateTimeTo, frm.DateTimeTo), () => tssLabel.RemoveText(STR_GETTING_STATUS) ); } } }
//------------------------------------------------------------------------------- // private void tsmiSpecifyTime_Click(object sender, EventArgs e) { using (FrmGetTweet frm = new FrmGetTweet()) { if (frm.ShowDialog() == DialogResult.OK) { tssLabel.SetText(STR_GETTING_STATUS); Utilization.InvokeTransaction( () => GetSpecifyTimeTweets(SelectedUctlDispTwit(), frm.EnableDateTimeFrom, frm.DateTimeFrom, frm.EnableDateTimeTo, frm.DateTimeTo), () => tssLabel.RemoveText(STR_GETTING_STATUS) ); } } }