Beispiel #1
0
        private void openNamedSectionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            using (NamedSectionForm frm = new NamedSectionForm())
            {
                if (frm.ShowDialog(this) == DialogResult.OK)
                {
                    SectionEditorForm c = new SectionEditorForm(frm.MappedFile, frm.SectionName, frm.ReadOnly);

                    c.Show(dockPanel, DockState.Document);
                }
            }
        }
        private void openNamedSectionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            using (NamedSectionForm frm = new NamedSectionForm())
            {
                if (frm.ShowDialog(this) == DialogResult.OK)
                {
                    SectionEditorForm c = new SectionEditorForm(frm.MappedFile, frm.SectionName, frm.ReadOnly);

                    c.Show(dockPanel, DockState.Document);
                }
            }
        }