Example #1
0
        public FormAnimViewDragDrop(odfEditor destEditor, bool morphOrAnimation)
        {
            InitializeComponent();
            editor = destEditor;

            if (morphOrAnimation)
                panelMorphList.BringToFront();
            else
            {
                panelAnimation.BringToFront();
                comboBoxMethod.Items.AddRange(Enum.GetNames(typeof(ReplaceAnimationMethod)));
            }
        }
Example #2
0
        public FormAnimViewDragDrop(odfEditor destEditor, bool morphOrAnimation)
        {
            InitializeComponent();
            editor = destEditor;

            if (morphOrAnimation)
            {
                panelMorphList.BringToFront();
            }
            else
            {
                panelAnimation.BringToFront();
                comboBoxMethod.Items.AddRange(Enum.GetNames(typeof(ReplaceAnimationMethod)));
            }
        }
Example #3
0
        public FormMeshViewDragDrop(odfEditor destEditor, Panel panel)
        {
            InitializeComponent();
            editor = destEditor;

            switch (panel)
            {
            case Panel.Frame:
                panelFrame.BringToFront();
                break;
            case Panel.Mesh:
                panelMesh.BringToFront();
                break;
            case Panel.MorphList:
                panelMorphList.BringToFront();
                break;
            }

            numericFrameId.Maximum = editor.Frames.Count - 1;
            numericMeshId.Maximum = editor.Frames.Count - 1;
        }
Example #4
0
        public FormMeshViewDragDrop(odfEditor destEditor, Panel panel)
        {
            InitializeComponent();
            editor = destEditor;

            switch (panel)
            {
            case Panel.Frame:
                panelFrame.BringToFront();
                break;

            case Panel.Mesh:
                panelMesh.BringToFront();
                break;

            case Panel.MorphList:
                panelMorphList.BringToFront();
                break;
            }

            numericFrameId.Maximum = editor.Frames.Count - 1;
            numericMeshId.Maximum  = editor.Frames.Count - 1;
        }