예제 #1
0
 private void _showSettingsLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     var model = new ServerSettingsModel();
     model.InitFromProjectPath(ProjectFolderPath);
     using (var dlg = new ServerSettingsDialog(model))
     {
         dlg.ShowDialog();
         UpdateDisplay();
     }
 }
예제 #2
0
 private void LaunchCustomUrl(string url)
 {
     var model = new ServerSettingsModel();
     model.InitFromUri(url);
     using (var dlg = new ServerSettingsDialog(model))
     {
         if (DialogResult.OK != dlg.ShowDialog())
             return;
     }
 }
예제 #3
0
        private void _showSettingsLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            var model = new ServerSettingsModel();

            model.InitFromProjectPath(ProjectFolderPath);
            using (var dlg = new ServerSettingsDialog(model))
            {
                dlg.ShowDialog();
                UpdateDisplay();
            }
        }
예제 #4
0
 private void _internetStatusLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     DialogResult dlgResult;
     using(var dlg = new ServerSettingsDialog(_repository.PathToRepo))
     {
         dlgResult = dlg.ShowDialog();
     }
     if (dlgResult == DialogResult.OK)
         RecheckInternetStatus();
 }