Esempio n. 1
0
 private void mnuILCProperties_Click(object sender, EventArgs e)
 {
     foreach (ListViewItem LVI in this.lstItems.SelectedItems)
     {
         ThingPropertyPages TPP = new ThingPropertyPages(LVI.Tag as Item);
         TPP.Show(this);
     }
 }
Esempio n. 2
0
        private void ListView_DoubleClick(object sender, EventArgs e)
        {
            ListView LV = sender as ListView;

            foreach (ListViewItem LVI in LV.SelectedItems)
            {
                ThingPropertyPages TPP = new ThingPropertyPages(LVI.Tag as IThing);
                TPP.Show(this);
            }
        }
Esempio n. 3
0
 private void lstFields_ItemActivate(object sender, EventArgs e)
 {
     if (this.lstFields.SelectedItems != null && this.lstFields.SelectedItems.Count > 0) {
       Things.IThing T = this.lstFields.SelectedItems[0].Tag as Things.IThing;
     if (T != null) {
       using (ThingPropertyPages TPP = new ThingPropertyPages(T))
     TPP.ShowDialog(this);
     }
       }
 }
Esempio n. 4
0
 private void lstFields_ItemActivate(object sender, EventArgs e)
 {
     if (this.lstFields.SelectedItems != null && this.lstFields.SelectedItems.Count > 0)
     {
         Things.IThing T = this.lstFields.SelectedItems[0].Tag as Things.IThing;
         if (T != null)
         {
             using (ThingPropertyPages TPP = new ThingPropertyPages(T))
                 TPP.ShowDialog(this);
         }
     }
 }
Esempio n. 5
0
        private void mnuELCProperties_Click(object sender, EventArgs e)
        {
            ListView LV = this.mnuEntryListContext.SourceControl as ListView;

            if (LV != null)
            {
                foreach (ListViewItem LVI in LV.SelectedItems)
                {
                    ThingPropertyPages TPP = new ThingPropertyPages(LVI.Tag as IThing);
                    TPP.Show(this);
                }
            }
        }
Esempio n. 6
0
 private void mnuELCProperties_Click(object sender, EventArgs e)
 {
     ListView LV = this.mnuEntryListContext.SourceControl as ListView;
       if (LV != null) {
     foreach (ListViewItem LVI in LV.SelectedItems) {
     ThingPropertyPages TPP = new ThingPropertyPages(LVI.Tag as IThing);
       TPP.Show(this);
     }
       }
 }
Esempio n. 7
0
 private void ListView_DoubleClick(object sender, EventArgs e)
 {
     ListView LV = sender as ListView;
       foreach (ListViewItem LVI in LV.SelectedItems) {
       ThingPropertyPages TPP = new ThingPropertyPages(LVI.Tag as IThing);
     TPP.Show(this);
       }
 }
Esempio n. 8
0
 private void mnuILCProperties_Click(object sender, EventArgs e)
 {
     foreach (ListViewItem LVI in this.lstItems.SelectedItems) {
       ThingPropertyPages TPP = new ThingPropertyPages(LVI.Tag as Item);
     TPP.Show(this);
       }
 }