Example #1
0
        private void rebuildScriptToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var opts = new ScriptRebuildOptions(currentDmsPath);

            opts.ShowDialog(this);
            opts = null;
        }
Example #2
0
        private void rebuildScriptToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (scriptOpts == null)
            {
                scriptOpts = new ScriptRebuildOptions(currentDmsPath);
            }
            else
            {
                /* make sure DMS path is always the latest */
                scriptOpts.UpdateDMSPath(currentDmsPath);
            }

            scriptOpts.ShowDialog(this);
        }