private void InitializeComponent() { GUI.LoadComponent(this, "Assets/Scripts/UI/ChatControlView.xaml"); _placeholderText = FindName("_placeholderText") as TextBlock; _entryText = FindName("_entryText") as TextBox; }
private void InitializeComponent() { GUI.LoadComponent(this, "Assets/Scripts/UI/ApartmentView.xaml"); }
private void InitializeComponent() { GUI.LoadComponent(this, "Assets/Scripts/UI/TurbineView.xaml"); _renderTextureCanvas = (Canvas)FindName("_renderTextureCanvas"); TurbineViewModel.Instance.RenderTextureCanvas = _renderTextureCanvas; }
private void InitializeComponent() { GUI.LoadComponent(this, "Assets/Scripts/UI/JoystickControl.xaml"); _joystick = FindName("_joystick") as Ellipse; }