Beispiel #1
0
        private void Startsync_Click(object sender, EventArgs e)
        {
            if (startsync.Text == "Start Sync")
            {
                Configuration config = Configuration.Create();
                if (config.SyncPairs.Count == 0)
                {
                    ConfigFrm cf = new ConfigFrm();
                    cf.ShowDialog();
                    return;
                }

                startsync.Text = "Cancel";
                MethodInvoker syncDelegate = new MethodInvoker(SyncEvernoteWithIMAP);
                syncDelegate.BeginInvoke(null, null);
            }
            else
            {
                cancelled = true;
            }
        }
Beispiel #2
0
        private void OptionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ConfigFrm cf = new ConfigFrm();

            cf.ShowDialog();
        }
Beispiel #3
0
        private void Startsync_Click(object sender, EventArgs e)
        {
            if (startsync.Text == "Start Sync")
            {
                Configuration config = Configuration.Create();
                if (config.SyncPairs.Count == 0)
                {
                    ConfigFrm cf = new ConfigFrm();
                    cf.ShowDialog();
                    return;
                }

                startsync.Text = "Cancel";
                MethodInvoker syncDelegate = new MethodInvoker(SyncEvernoteWithIMAP);
                syncDelegate.BeginInvoke(null, null);
            }
            else
            {
                cancelled = true;
            }
        }
Beispiel #4
0
 private void OptionsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ConfigFrm cf = new ConfigFrm();
     cf.ShowDialog();
 }