示例#1
0
 private void setUpdateCheckUrlToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (DebugOptionsDialog dialog = new DebugOptionsDialog())
     {
         dialog.UpdateCheckServiceUrl.Text = Settings.Default.AxCrypt2VersionCheckUrl.ToString();
         DialogResult result = dialog.ShowDialog();
         if (result != DialogResult.OK)
         {
             return;
         }
         Settings.Default.AxCrypt2VersionCheckUrl = new Uri(dialog.UpdateCheckServiceUrl.Text);
     }
 }
示例#2
0
 private void setUpdateCheckUrlToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (DebugOptionsDialog dialog = new DebugOptionsDialog())
     {
         dialog.UpdateCheckServiceUrl.Text = Settings.Default.AxCrypt2VersionCheckUrl.ToString();
         DialogResult result = dialog.ShowDialog();
         if (result != DialogResult.OK)
         {
             return;
         }
         Settings.Default.AxCrypt2VersionCheckUrl = new Uri(dialog.UpdateCheckServiceUrl.Text);
     }
 }