private void createButton_Click(object sender, EventArgs e) { Settings.Instance.DataDirectoryPath = dataEdit.Text; Settings.Instance.NetworkFileName = networkEdit.Text; CreateDialog dlg = new CreateDialog(); if (dlg.ShowDialog() == DialogResult.OK) Engine.Create(dlg.Sizes()); }
private void createButton_Click(object sender, EventArgs e) { Settings.Instance.DataDirectoryPath = dataEdit.Text; Settings.Instance.NetworkFileName = networkEdit.Text; CreateDialog dlg = new CreateDialog(); if (dlg.ShowDialog() == DialogResult.OK) { Engine.Create(dlg.Sizes()); } }