Exemple #1
0
        private void DoExecute(object sender, EventArgs eventArgs)
        {
            ServerProjectsWindow w = (ServerProjectsWindow)sender;

            if (w.DialogResult == true && !string.IsNullOrEmpty(w.SelectedProject))
            {
                OpenServerWebProject(w.SelectedProject);
            }
        }
Exemple #2
0
        public override void Execute(object parameter)
        {
            GetServerProjectList();
            ServerProjectsWindow w = new ServerProjectsWindow();

            w.Projects = ServerProjectList;
            w.Closed  += DoExecute;
            w.ShowDialog();
        }