Beispiel #1
0
        private void openOToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog ofd = new OpenFileDialog();

            ofd.DefaultExt = "ice";
            ofd.Filter     = "ice (*.ice)|*.ice";
            ofd.Title      = "Open ice file";

            if (ofd.ShowDialog() == DialogResult.OK && ofd.FileName.Length > 0)
            {
                DocumentForm tForm = new DocumentForm(ofd.FileName);
                tForm.Show();//tForm.Show(dockPanel_main, DockState.Document);
            }
        }
Beispiel #2
0
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DocumentForm tForm = new DocumentForm();

            tForm.Show();// tForm.Show(dockPanel_main, DockState.Document);
        }