1
0
mirror of synced 2024-12-04 20:08:00 +01:00
Switch-Toolbox/Switch_FileFormatsMain/GUI/TextureUI/TextureFormatExport.cs
2018-11-11 20:51:12 -05:00

38 lines
825 B
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;
namespace FirstPlugin
{
public partial class TextureFormatExport : Form
{
public int Index = 0;
public TextureFormatExport(List<string> Formats)
{
InitializeComponent();
foreach (string format in Formats)
comboBox1.Items.Add(format);
Index = 0;
}
private void OkButton_Click(object sender, EventArgs e)
{
this.Close();
}
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
Index = comboBox1.SelectedIndex;
}
}
}