예제 #1
0
 private void EventDetailsToolStripMenuItemClick(object sender, EventArgs e)
 {
     if (!(LV_Sessions.SelectedItems.Count == 0))
     {
         if (!(LV_Sessions.SelectedItems[0].Group == null))
         {
             object[]         ItemTag = (object[])LV_Sessions.SelectedItems[0].Tag;
             Frm_EventDetails Frm     = new Frm_EventDetails(ItemTag[2]);
             Frm.Show();
         }
     }
 }
예제 #2
0
        private void SessionDetailsToolStripMenuItemClick(object sender, EventArgs e)
        {
            if (!(LV_Files.SelectedItems.Count == 0))
            {
                object[] FileTag = (object[])LV_Files.SelectedItems[0].Tag;

                if (!(FileTag[1] == null))
                {
                    Frm_EventDetails Frm = new Frm_EventDetails(FileTag[1]);
                    Frm.Show();
                }
            }
        }