public DebuggingTable() { InitializeComponent(); hash = new Dictionary <string, string>(); table.ItemsSource = hash; DebuggingTable.LatestCreated = this; }
private void InitialzizeTabControl() { status = new Status(this); status.Visibility = Visibility.Visible; status.checkboxShowOnlyWantedTarget.Checked += (o, e) => UpdateShowAllTargets(); status.checkboxShowOnlyWantedTarget.Unchecked += (o, e) => UpdateShowAllTargets(); status.Header = Props.Default.TabHeaderStatus; tabControl.Items.Add(status); jointSelectionPanel = new JointSelection(this) { Header = Props.Default.TabHeaderJointSelection }; tabControl.Items.Add(jointSelectionPanel); debuggingTable = new DebuggingTable(); debuggingTable.Visibility = Visibility.Visible; tabControl.Items.Add(new TabItem() { Content = debuggingTable, Header = "debug" }); tabControl.SelectedItem = status; }