1
0
mirror of synced 2024-12-03 19:47:29 +01:00
Switch-Toolbox/File_Format_Library/GUI/BMD/BMDModelImportSettings.cs
KillzXGaming 7cf2e9c571 Cleanup
2019-07-16 17:45:10 -04:00

42 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Toolbox.Library.Forms;
namespace FirstPlugin
{
public partial class BMDModelImportSettings : STForm
{
public string TexturePath => texturePathTB.Text;
public string MaterialPath => materalPathTB.Text;
public BMDModelImportSettings()
{
InitializeComponent();
stComboBox1.SelectedIndex = 0;
CanResize = false;
}
private void texturePathTB_DoubleClick(object sender, EventArgs e)
{
FolderSelectDialog ofd = new FolderSelectDialog();
if (ofd.ShowDialog() == DialogResult.OK)
texturePathTB.Text = ofd.SelectedPath;
}
private void materalPathTB_DoubleClick(object sender, EventArgs e)
{
FolderSelectDialog ofd = new FolderSelectDialog();
if (ofd.ShowDialog() == DialogResult.OK)
materalPathTB.Text = ofd.SelectedPath;
}
}
}