public frmGetChats(string videoId, string liveChatId, YouTubeApi api) { InitializeComponent(); this.DoubleBuffered = true; _videoId = videoId; _liveChatId = liveChatId; Control.CheckForIllegalCrossThreadCalls = false; _youtubeApi = api; timerViewerCount.Stop(); timerException.Stop(); timerChatCount.Stop(); }
public frmCompetitions(string videoId, string liveChatId, YouTubeApi api) { InitializeComponent(); _videoId = videoId; _liveChatId = liveChatId; _youtubeApi = api; dgwAnswers.DoubleBuffered(true); dgwAnswers.CellDoubleClick += DataGridViewCellDoubleClick; timerQuestion.Stop(); timerException.Stop(); timerAnswerCount.Stop(); }