public AddArtwork()
 {
     InitializeComponent();
     IArtworkService service = new ArtworkService();
     IArtworkLogic logic = new ArtworkLogic(service);
     _artworkLogic = logic;
 }
        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 PictureSlideShow()
        {
            InitializeComponent();
            IArtworkService service = new ArtworkService();
            IArtworkLogic   logic   = new ArtworkLogic(service);

            _artworkLogic       = logic;
            StopSlide.IsEnabled = false;
            Interval2.IsChecked = true;
        }
        public EditArtwork(string artworkName)
        {
            InitializeComponent();
            IArtworkService service = new ArtworkService();
            IArtworkLogic logic = new ArtworkLogic(service);
            _artworkLogic = logic;

            _artworkName = artworkName;
            FillInfo();
        }
Exemplo n.º 8
0
        public ShowPicture(string artworkName)
        {
            InitializeComponent();
            _artworkName = artworkName;
            IArtworkService service = new ArtworkService();
            IArtworkLogic   logic   = new ArtworkLogic(service);

            _artworkLogic = logic;

            LoadArtwork();
        }
        public EditArtwork(string artworkName)
        {
            InitializeComponent();
            IArtworkService service = new ArtworkService();
            IArtworkLogic   logic   = new ArtworkLogic(service);

            _artworkLogic = logic;

            _artworkName = artworkName;
            FillInfo();
        }
Exemplo n.º 10
0
        public MainWindow()
        {
            InitializeComponent();
            IArtworkService service = new ArtworkService();
            IArtworkLogic   logic   = new ArtworkLogic(service);

            _artworkLogic = logic;
            listBoxPlace.SelectedValue = "Alla Områden";
            FillList();
            LoadPlaceList();
        }