public Form2() { utils = new TweetUtils(); InitializeComponent(); if (!Properties.Settings.Default.AccessToken.Equals("") && !Properties.Settings.Default.AccessTokenSecret.Equals("")) { button1.Hide(); label2.Text = Properties.Settings.Default.ScreenName; } }
public Form1() { utils = new TweetUtils(); InitializeComponent(); timer1.Interval = (int)Properties.Settings.Default.Frequency * 60000; if (!Properties.Settings.Default.AccessToken.Equals("") && !Properties.Settings.Default.AccessTokenSecret.Equals("")) { timer1.Start(); } else { MessageBox.Show("Please setup a twitter account in the settings.", "TweetCoffee", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); } }
public Form3() { utils = new TweetUtils(); InitializeComponent(); }