public static Bitmap GetMarkerCircleSmall() { if (Instance == null) { Instance = new ChartPropertiesDialog(); } Bitmap bm = Instance.SmallMarker16x16.Images[0] as Bitmap; return(bm); }
public static DialogResult ShowDialog( ChartViewMgr view, string tabName) { if (view.ChartControl == null) { return(DialogResult.Cancel); } if (Instance == null) { Instance = new ChartPropertiesDialog(); } ChartPropertiesDialog i = Instance; return(i.ShowDialog2(view, tabName)); }
private void LegendPropertiesMenuItem_Click(object sender, EventArgs e) { DialogResult dr = ChartPropertiesDialog.ShowDialog(ChartView, "Legend"); }
/// <summary> /// Show the chart properties menu /// </summary> /// <param name="sender"></param> /// <param name="e"></param> internal void PropertiesMenuItem_Click(object sender, EventArgs e) { DialogResult dr = ChartPropertiesDialog.ShowDialog(ChartView); }