public GameCreation_Window() { InitializeComponent(); draw_ViewModel = new Drow_ViewModel(); this.DrowInterface = new UserControl_Drow(this.draw_ViewModel); this.Draw_Interface.Children.Add(DrowInterface); this.GameCreationManual1 = new UserControl_GameCreationManual_1(this); this.Game_Creation.Children.Add(this.GameCreationManual1); }
public UserControl_Drow() { this.activateTuto = false; InitializeComponent(); GlobalUser.OutilSelectionnee = "crayon"; DataContext = new Drow_ViewModel();; traits = new List <List <Point> >(); trait = new List <Point>(); crayon.Background = Brushes.LightBlue; efface_segment.Background = Brushes.Transparent; efface_trait.Background = Brushes.Transparent; this.surfaceDessin.UseCustomCursor = true; this.surfaceDessin.Cursor = Cursors.Hand; }