public WebAppsDialog(Guid serverId) { InitializeComponent(); _serverId = serverId; _config = MainWindow.Config; icApps.ItemsSource = _config.Config.ServerProfiles.FirstOrDefault(x => x.Id == serverId).Applications; }
public EditDefaultLocationDialog() { InitializeComponent(); _config = MainWindow.Config; txtDefaultLocation.Text = _config.Config.DefaultServerLocation; txtDefaultLocation.SelectAll(); }
public AddWebAppDialog(ManageProcess process, Guid serverId = new Guid(), WebApp webAppForUpdate = null) { InitializeComponent(); _config = MainWindow.Config; _process = process; _webAppForUpdate = webAppForUpdate; _serverId = serverId; if (process == ManageProcess.Update) { txtWebAppName.Text = _webAppForUpdate.Name; txtFolderName.Text = _webAppForUpdate.FolderName; } }
public AddServerDialog(ManageProcess process, ServerProfile profileForUpdate = null) { InitializeComponent(); _config = MainWindow.Config; _process = process; this.profileForUpdate = profileForUpdate; if (process == ManageProcess.Update) { txtProfileName.Text = profileForUpdate.ProfileName; txtServerName1.Text = profileForUpdate.FirstServerName; txtServerName2.Text = profileForUpdate.SecondServerName; } }
public ServerProfilesDialog() { InitializeComponent(); _config = MainWindow.Config; icServerProfiles.ItemsSource = _config.GetServerProfiles(); }