JD2022-TU1/main/tools/apps/FatExplorer/MultipleBundlesDialog.cs

34 lines
784 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 FatExplorer
{
public partial class MultipleBundlesDialog : Form
{
public string SelectedValue
{
get { return bundleNamesComboBox.Text; }
}
public MultipleBundlesDialog(List<string> dropdownValues)
{
InitializeComponent();
foreach (var bundleName in dropdownValues)
{
bundleNamesComboBox.Items.Add(bundleName);
}
}
private void openButton_Click(object sender, EventArgs e)
{
this.Close();
}
}
}