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); }
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); }
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); }