Esempio n. 1
0
        protected void ListCellDoubleClick(object sender, LayoutHitTestEventArgs e)
        {
            var log  = list.SelectedItem as DBLogItem;
            var view = new DataLogView {
                Filter = log.BaseItem, Mode = DataLogMode.Default
            };

            view.ShowDialog(this);
        }
Esempio n. 2
0
        private void ToolDetailsClick(object sender, EventArgs e)
        {
            if (listRows.SelectedItem == null)
            {
                return;
            }
            var details = new DataLogView()
            {
                Filter = ((LogMap)listRows.SelectedItem).Row, Mode = DataLogMode.Default
            };

            details.ShowWindow(this);
        }
Esempio n. 3
0
        protected override void OnToolLogClick(object sender, EventArgs e)
        {
            if (Table == null)
            {
                return;
            }
            var logView = new DataLogView()
            {
                Filter = Selected,
                Table  = Table,
                Mode   = Selected != null ? DataLogMode.Default : DataLogMode.Table
            };

            logView.ShowDialog(this);
        }