public SSPlugin[] ToArray() { SSPlugin[] array = new SSPlugin[this.Count]; this.CopyTo(array, 0); return(array); }
public void AddRange(SSPlugin[] value) { for (int i = 0; (i < value.Length); i = (i + 1)) { this.Add(value[i]); } }
private void cmdNewInstance_Click(object sender, System.EventArgs e) { SSPlugin plugin = (SSPlugin)lstPlugins.Items[lstPlugins.SelectedIndex]; frmLogin login = new frmLogin(SecondSuite, plugin); login.ShowDialog(this); }
public frmLogin(frmSecondSuite secondSuite, SSPlugin plugin) { // // Required for Windows Form Designer support // InitializeComponent(); SecondSuite = secondSuite; Plugin = plugin; }
private void lstPlugins_SelectedIndexChanged(object sender, System.EventArgs e) { SSPlugin plugin = (SSPlugin)lstPlugins.Items[lstPlugins.SelectedIndex]; lblAuthor.Text = plugin.Author; lblHomepage.Text = plugin.Homepage; lblDescription.Text = plugin.Description; cmdNewInstance.Enabled = true; }
public SSPlugin[] ToArray() { SSPlugin[] array = new SSPlugin[this.Count]; this.CopyTo(array, 0); return array; }
public void Remove(SSPlugin value) { List.Remove(value); }
public void Insert(int index, SSPlugin value) { List.Insert(index, value); }
public int IndexOf(SSPlugin value) { return this.List.IndexOf(value); }
public void CopyTo(SSPlugin[] array, int index) { this.List.CopyTo(array, index); }
public bool Contains(SSPlugin value) { return(this.List.Contains(value)); }
public int Add(SSPlugin value) { return this.List.Add(value); }
public PluginCollection(SSPlugin[] value) { this.AddRange(value); }
public void Remove(SSPlugin value) { List.Remove(value); }
public void Insert(int index, SSPlugin value) { List.Insert(index, value); }
public int IndexOf(SSPlugin value) { return(this.List.IndexOf(value)); }
public bool Contains(SSPlugin value) { return this.List.Contains(value); }
public int Add(SSPlugin value) { return(this.List.Add(value)); }