예제 #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);
            }
        }
예제 #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);
            }
        }
예제 #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);
            }
        }