Наследование: System.Windows.Forms.Form
Пример #1
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;
            }
        }
Пример #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;
        }