Example #1
0
        private void FormMain_DragDrop(object sender, DragEventArgs e)
        {
            string[] FileList = (string[])e.Data.GetData(DataFormats.FileDrop, false);
            FormOpen formOpen = new FormOpen(this);

            formOpen.radioButtonOpen_Check();
            if (formOpen.fileOpen(FileList[0]))
            {
                DialogResult dialogResut = formOpen.ShowDialog();
            }
        }
Example #2
0
 private void openToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FormOpen     formOpen    = new FormOpen(this);
     DialogResult dialogResut = formOpen.ShowDialog();
 }