public ViewPanel() { InitializeComponent(); LayoutInitGraphButton.AttachToolTip("A graph showing which class created which class"); MapDependencies.AttachToolTip("Select a class node to show dependencies in a treemap\r\nBlue - independent of, red - dependent on, purple - inter-dependent"); GraphDependencies.AttachToolTip("Select a class node to show dependencies in a dependecy graph\r\nBlue - independent of, red - dependent on, purple - inter-dependent"); ShowAllDependenciesCheckBox.AttachToolTip("Show dependencies of dependencies"); GraphIntermediateDependencies.AttachToolTip("Given 2 selected class nodes, show how they depend on each other"); RenderGibsonButton.AttachToolTip("hax0rz 0wnly - press 'm' for mouse look"); IncludeOutsideZoomButton.AttachToolTip("Show methods outside current zoom level\r\nIn call graph view these methods are gray"); IncludeNotXRayedButton.AttachToolTip("Shows methods outside what was xrayed\r\nIn call graph view these methods are circles"); LayoutInOrder.AttachToolTip("In the call graph methods are shown in the order that they were first called top to bottom"); ShowAllButton.AttachToolTip("Show all calls ever made.\r\nIn graph mode, red lines are calls LtR, blue lines are RtL and purple is both."); }
private void MultiMode_Click(object sender, EventArgs e) { LoopImages.Visible = false; RotateButton.Visible = false; NextButton.Visible = false; PreviousButton.Visible = false; if (!listBox1.Visible) { HideShowListButton.PerformClick(); } ShowAllButton.Enabled = true; listBox1.SelectionMode = SelectionMode.MultiExtended; CurrentMode.Text = "Multi Mode"; if (pictureBoxes.Count == 1) { ShowAllButton.PerformClick(); } }
void ReleaseDesignerOutlets() { if (HeadingLabel != null) { HeadingLabel.Dispose(); HeadingLabel = null; } if (ShowAllButton != null) { ShowAllButton.Dispose(); ShowAllButton = null; } if (WidgetList != null) { WidgetList.Dispose(); WidgetList = null; } }
private void path_TextChanged(object sender, EventArgs e) { if (!Directory.Exists(path.Text)) { errorProvider1.SetError(path, "The Path Isn't Valid"); } else { errorProvider1.Clear(); if (currentPath == path.Text || path.Text == "") { return; } if (ShowWarning("Do you want to change current dirictory?\nif yes it will remove all imeges in the list box")) { currentPath = path.Text; ShowAllButton.PerformClick(); } else { path.Text = currentPath; } } }