Example #1
0
        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;
            }
        }
Example #2
0
        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);
            }
        }
Example #3
0
 public Form3()
 {
     utils = new TweetUtils();
     InitializeComponent();
 }