Beispiel #1
0
        private void webToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebSyncOptions subscriptionWebSync = new WebSyncOptions();
            DialogResult   dr = subscriptionWebSync.ShowDialog(this);

            if (dr == DialogResult.OK)
            {
                // If Web synchronization is enabled, disable upload only options.
                if (subscriptionWebSync.WebSynchronizationEnabled)
                {
                    mnuSynchronizeOnlyUploadData.Enabled = false;
                }
                else
                {
                    mnuSynchronizeOnlyUploadData.Enabled = true;
                }
            }
        }
Beispiel #2
0
        private void webToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WebSyncOptions subscriptionWebSync = new WebSyncOptions();
            DialogResult dr = subscriptionWebSync.ShowDialog(this);

            if (dr == DialogResult.OK)
            {
                // If Web synchronization is enabled, disable upload only options.
                if (subscriptionWebSync.WebSynchronizationEnabled)
                {
                    mnuSynchronizeOnlyUploadData.Enabled = false;
                }
                else
                {
                    mnuSynchronizeOnlyUploadData.Enabled = true;
                }
            }
        }