Ejemplo n.º 1
0
        public static Bitmap GetMarkerCircleSmall()
        {
            if (Instance == null)
            {
                Instance = new ChartPropertiesDialog();
            }
            Bitmap bm = Instance.SmallMarker16x16.Images[0] as Bitmap;

            return(bm);
        }
Ejemplo n.º 2
0
        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));
        }
Ejemplo n.º 3
0
 private void LegendPropertiesMenuItem_Click(object sender, EventArgs e)
 {
     DialogResult dr = ChartPropertiesDialog.ShowDialog(ChartView, "Legend");
 }
Ejemplo n.º 4
0
        /// <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);
        }