Exemplo n.º 1
0
        private ChartModel OpenChartAddForm()
        {
            var addForm = new ChartEditForm();

            addForm.ShowDialog();
            return(addForm.ChartModel);
        }
Exemplo n.º 2
0
        private ChartModel OpenChartAddForm(Func <string, ChartModel> func)
        {
            var addForm = new ChartEditForm(func);

            addForm.ShowDialog();
            return(addForm.ChartModel);
        }
Exemplo n.º 3
0
        private void OpenChartEditForm()
        {
            var editForm = new ChartEditForm(tree.SelectedNode as ChartModel);

            editForm.ShowDialog();
        }