示例#1
0
        private void RefreshPlugins()
        {
            this.listView1.Items.Clear();
            List <BankPlugin> plugins = Killer.GetPlugins();

            foreach (BankPlugin plugin in plugins)
            {
                ListViewItem item = new ListViewItem();
                item.Text = string.Format("{0}", plugin.Bank);
                item.SubItems.Add(Killer.IsPluginEnabled(plugin) ? "Yes" : "No");
                this.listView1.Items.Add(item);
            }
        }