Пример #1
0
 private void listView1_DoubleClick(object sender, EventArgs e)
 {
     if (this.listView1.SelectedIndices.Count > 0)
     {
         Form form = new PluginDetailForm(this.listView1.SelectedItems[0].Tag as PluginAttribute);
         form.ShowInTaskbar = false;
         form.ShowDialog();
     }
 }
Пример #2
0
        void listview_DoubleClick(object sender, EventArgs e)
        {
            ListView lv = sender as ListView;

            if (lv.SelectedIndices.Count > 0)
            {
                Form form = new PluginDetailForm(lv.SelectedItems[0].Tag as PluginAttribute);
                form.ShowInTaskbar = false;
                form.ShowDialog();
            }
            //throw new Exception("The method or operation is not implemented.");
        }
Пример #3
0
 void listview_DoubleClick(object sender, EventArgs e)
 {
     ListView lv = sender as ListView;
     if (lv.SelectedIndices.Count > 0)
     {
         Form form = new PluginDetailForm(lv.SelectedItems[0].Tag as PluginAttribute);
         form.ShowInTaskbar = false;
         form.ShowDialog();
     }
     //throw new Exception("The method or operation is not implemented.");
 }