private void FormMain_DragDrop(object sender, DragEventArgs e) { App file = e.getApp(); FormAdd form = new FormAdd(); form.load(file); form.ShowDialog(); }
private void menuAdd_Click(object sender, EventArgs e) { var frm = new FormAdd(); frm.ShowDialog(); }