예제 #1
0
        private void gridTabNames_CellDoubleClick(object sender, UI.ODGridClickEventArgs e)
        {
            OrthoChartTab         orthoChartTab = (OrthoChartTab)gridTabNames.ListGridRows[e.Row].Tag;
            FormOrthoChartTabEdit form          = new FormOrthoChartTabEdit(orthoChartTab);

            if (form.ShowDialog() == DialogResult.OK)
            {
                FillGridTabNames();
            }
        }
예제 #2
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            OrthoChartTab         orthoChartTab = new OrthoChartTab();
            FormOrthoChartTabEdit form          = new FormOrthoChartTabEdit(orthoChartTab);

            if (form.ShowDialog() == DialogResult.OK)
            {
                _listNewOrthoChartTabs.Add(orthoChartTab);
                FillGridTabNames();
            }
        }