public SearchGoogle_Window(GameCreationAssistedS2_ViewModel vm)
        {
            InitializeComponent();
            this.vm = vm;
            this.save.IsEnabled = false;
            listtoDisplay = new List<UserControl_Image>();

        }
Exemplo n.º 2
0
        public UserControl_GameCreationAssisted_step2(GameCreationAssisted_Window main, GameCreationAssistedS1_ViewModel obj)
        {
            InitializeComponent();
            this.mainWind       = main;
            this.assisted_S2_VM = new GameCreationAssistedS2_ViewModel(obj);
            if (obj.imageOption == "Recherche sur Google")
            {
                this.Image.Children.Clear();
                this.Image.Children.Add(new UserControl_SerchGoogle(this.assisted_S2_VM));
            }
            else
            {
                this.Image.Children.Clear();
                this.Image.Children.Add(new UserControl_UploadImage(this.assisted_S2_VM));
            }
            addHint();

            DataContext = this.assisted_S2_VM;
        }
Exemplo n.º 3
0
 public UserControl_SerchGoogle(GameCreationAssistedS2_ViewModel vm)
 {
     InitializeComponent();
     this.vm        = vm;
     this.elem.Text = this.vm.file;
 }
Exemplo n.º 4
0
 public UserControl_UploadImage(GameCreationAssistedS2_ViewModel vm)
 {
     InitializeComponent();
     this.vm = vm;
 }