Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void listLines_ItemActivate(object sender, EventArgs e)
        {
            if (listLines.SelectedObjects.Count != 1)
            {
                return;
            }

            LogLine ll = (LogLine)listLines.SelectedObjects[0];

            using (FormLine f = new FormLine(this.lf.GetLine(ll.LineNumber)))
            {
                f.ShowDialog(this);
            }
        }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void listLines_ItemActivate(object sender, EventArgs e)
        {
            var lv = (FastObjectListView)sender;

            if (lv.SelectedObjects.Count != 1)
            {
                return;
            }

            LogFile lf = logs[lv.Tag.ToString()];
            LogLine ll = (LogLine)lv.SelectedObjects[0];

            using (FormLine f = new FormLine(lf.GetLine(ll.LineNumber)))
            {
                f.ShowDialog(this);
            }
        }