Example #1
0
        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());
        }
Example #2
0
        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());
            }
        }