2019-07-13 02:01:22 +02:00
|
|
|
|
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 Switch_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;
|
2019-07-13 02:03:23 +02:00
|
|
|
|
|
|
|
|
|
CanResize = false;
|
2019-07-13 02:01:22 +02:00
|
|
|
|
}
|
|
|
|
|
|
2019-07-13 02:03:23 +02:00
|
|
|
|
private void texturePathTB_DoubleClick(object sender, EventArgs e)
|
2019-07-13 02:01:22 +02:00
|
|
|
|
{
|
|
|
|
|
FolderSelectDialog ofd = new FolderSelectDialog();
|
|
|
|
|
if (ofd.ShowDialog() == DialogResult.OK)
|
|
|
|
|
texturePathTB.Text = ofd.SelectedPath;
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-13 02:03:23 +02:00
|
|
|
|
private void materalPathTB_DoubleClick(object sender, EventArgs e)
|
2019-07-13 02:01:22 +02:00
|
|
|
|
{
|
|
|
|
|
FolderSelectDialog ofd = new FolderSelectDialog();
|
|
|
|
|
if (ofd.ShowDialog() == DialogResult.OK)
|
|
|
|
|
materalPathTB.Text = ofd.SelectedPath;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|