public UserControl_Passive(bool tuto) { InitializeComponent(); this.activatetuto = true; this.passive = false; this.BarTuto = new UserControl_GameInfoBar("GUESS"); this.InfoBar.Children.Add(BarTuto); }
public UserControl_Write(StateUpdate_Model stateUpdate, HomePage_ViewModel homePageViewModel) { InitializeComponent(); gameInfoBar = new UserControl_GameInfoBar(stateUpdate, homePageViewModel); this.InfoBar.Children.Add(gameInfoBar); this.DrawingArea.Children.Add(drawView); }
public UserControl_Passive(StateUpdate_Model stateUpdate, HomePage_ViewModel homePageViewModel) { this.activatetuto = false; this.BarInfoPassive = new UserControl_GameInfoBar(stateUpdate, homePageViewModel); InitializeComponent(); this.virtualP = new VirtualPlayer(this.PassiveCanvas, this.PassiveCanvasPath); this.InfoBar.Children.Add(this.BarInfoPassive); }