Inheritance: System.Windows.Forms.Form
示例#1
0
文件: Main.cs 项目: forksnd/Blam_BSP
        private void tsbtnEditPluginSet_Click(object sender, EventArgs e)
        {
            Globals.PluginSetSelector pss = new Globals.PluginSetSelector();
            pss.Owner = this;
            pss.ShowDialog();

            object temp = tscbPluginSet.SelectedItem;

            tscbPluginSet.Items.Clear();
            tscbPluginSet.Items.AddRange(Globals.PluginSetSelector.getNames());
            tscbPluginSet.SelectedItem = temp;
            if (tscbPluginSet.SelectedItem == null)
            {
                tscbPluginSet.SelectedIndex = 0;
            }
        }
示例#2
0
        private void tsbtnEditPluginSet_Click(object sender, EventArgs e)
        {
            Globals.PluginSetSelector pss = new Globals.PluginSetSelector();
            pss.Owner = this;
            pss.ShowDialog();

            object temp = tscbPluginSet.SelectedItem;
            tscbPluginSet.Items.Clear();
            tscbPluginSet.Items.AddRange(Globals.PluginSetSelector.getNames());
            tscbPluginSet.SelectedItem = temp;
            if (tscbPluginSet.SelectedItem == null)
                tscbPluginSet.SelectedIndex = 0;
        }