12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #if UNITY_5_3_OR_NEWER
- #define NOESIS
- using Noesis;
- #else
- using System;
- using System.Windows;
- using System.Windows.Controls;
- #endif
- namespace Localization
- {
- /// <summary>
- /// Interaction logic for MainWindow.xaml
- /// </summary>
- public partial class MainWindow : UserControl
- {
- public MainWindow()
- {
- this.Initialized += OnInitialized;
- this.InitializeComponent();
- }
- #if NOESIS
- void InitializeComponent()
- {
- Noesis.GUI.LoadComponent(this, "Assets/NoesisGUI/Samples/Localization/MainWindow.xaml");
- }
- #endif
- private void OnInitialized(object sender, EventArgs args)
- {
- this.DataContext = new ViewModel();
- }
- private void platform_bd_SelectionChanged(object sender, SelectionChangedEventArgs e)
- {
- }
- private void set_enclosure_mat_a_SelectionChanged(object sender, SelectionChangedEventArgs e)
- {
- }
- private void TabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
- {
- }
- private void main_tab_SelectionChanged(object sender, SelectionChangedEventArgs e)
- {
- }
- }
- }
|