public FormAnimViewDragDrop(odfEditor destEditor, bool morphOrAnimation) { InitializeComponent(); editor = destEditor; if (morphOrAnimation) panelMorphList.BringToFront(); else { panelAnimation.BringToFront(); comboBoxMethod.Items.AddRange(Enum.GetNames(typeof(ReplaceAnimationMethod))); } }
public FormAnimViewDragDrop(odfEditor destEditor, bool morphOrAnimation) { InitializeComponent(); editor = destEditor; if (morphOrAnimation) { panelMorphList.BringToFront(); } else { panelAnimation.BringToFront(); comboBoxMethod.Items.AddRange(Enum.GetNames(typeof(ReplaceAnimationMethod))); } }
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; }