Esempio n. 1
0
        void AddFootwork()
        {
            var vm     = new TagViewModel <Footwork>(m_ApiClient);
            var dialog = new TagEditorDialog()
            {
                DataContext = vm
            };
            var result = dialog.ShowDialog();

            if (result == true)
            {
                Tags.Footwork.Insert(1, vm.Tag);
            }
        }
Esempio n. 2
0
        void AddTechnique()
        {
            var vm     = new TagViewModel <Technique>(m_ApiClient);
            var dialog = new TagEditorDialog()
            {
                DataContext = vm
            };
            var result = dialog.ShowDialog();

            if (result == true)
            {
                Tags.Techniques.Insert(1, vm.Tag);
            }
        }
Esempio n. 3
0
        void AddGuardModifier()
        {
            var vm     = new TagViewModel <GuardModifier>(m_ApiClient);
            var dialog = new TagEditorDialog()
            {
                DataContext = vm
            };
            var result = dialog.ShowDialog();

            if (result == true)
            {
                Tags.GuardModifiers.Insert(1, vm.Tag);
            }
        }