Ejemplo n.º 1
0
        private void OKButton_Click(object sender, RoutedEventArgs e)
        {
            if (InputText.Text != null && InputText.Text != "")
            {
                App._global._treeName = InputText.Text;
            }

            TreeEdit treeedit = UIHelper.FindChild <TreeEdit>(App._wnd, "MyTreeEdit");

            treeedit.UpdateTreeNameLabel();

            this.Close();
        }
Ejemplo n.º 2
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            TreeEdit treeedit = UIHelper.FindChild <TreeEdit>(this, "MyTreeEdit");

            treeedit.UpdateTreeNameLabel();
        }