public AddArtwork() { InitializeComponent(); IArtworkService service = new ArtworkService(); IArtworkLogic logic = new ArtworkLogic(service); _artworkLogic = logic; }
public PictureSlideShow() { InitializeComponent(); IArtworkService service = new ArtworkService(); IArtworkLogic logic = new ArtworkLogic(service); _artworkLogic = logic; StopSlide.IsEnabled = false; Interval2.IsChecked = true; }
public ShowPicture(string artworkName) { InitializeComponent(); _artworkName = artworkName; IArtworkService service = new ArtworkService(); IArtworkLogic logic = new ArtworkLogic(service); _artworkLogic = logic; LoadArtwork(); }
public MainWindow() { InitializeComponent(); IArtworkService service = new ArtworkService(); IArtworkLogic logic = new ArtworkLogic(service); _artworkLogic = logic; listBoxPlace.SelectedValue = "Alla Områden"; FillList(); LoadPlaceList(); }
public EditArtwork(string artworkName) { InitializeComponent(); IArtworkService service = new ArtworkService(); IArtworkLogic logic = new ArtworkLogic(service); _artworkLogic = logic; _artworkName = artworkName; FillInfo(); }