private void buttonSplit_Click(object sender, EventArgs e) { splitForm = null; this.Hide(); splitForm = new fileSplitter(); splitForm.Height = 428; splitForm.FolderWorkDone += splitForm_FolderWorkDone; splitForm.ShowForm(3, (new SettingsForm()).GetSettings()); }
void setCoordintes(ref fileSplitter form) { // form.DesktopLocation = this.DesktopLocation; }
private void pictureSplitFiles_Click(object sender, EventArgs e) { this.Hide(); mainForm = null; mainForm = new fileSplitter(); mainForm.Height = 428; setCoordintes(ref mainForm); mainForm.FileWorkDone += new fileSplitter.FileWorkDoneHandler(mainForm_FileWorkDone); mainForm.ShowForm(1, settings.GetSettings()); }