Пример #1
0
        private ChartModel OpenChartAddForm()
        {
            var addForm = new ChartEditForm();

            addForm.ShowDialog();
            return(addForm.ChartModel);
        }
Пример #2
0
        private ChartModel OpenChartAddForm(Func <string, ChartModel> func)
        {
            var addForm = new ChartEditForm(func);

            addForm.ShowDialog();
            return(addForm.ChartModel);
        }
Пример #3
0
        private void OpenChartEditForm()
        {
            var editForm = new ChartEditForm(tree.SelectedNode as ChartModel);

            editForm.ShowDialog();
        }