public PropertiesForm(string projPath, string execPath) { if (projPath == "") { dpType = DeployTypeEnum.Assembly; } else { sqlProjFile = Path.Combine(projPath, "sql.proj"); vsProjPath = projPath; } appPath = execPath; InitializeComponent(); SetEventHooks(); SetUpHelp(); SetControlState(); LoadDocs(); if (dpType == DeployTypeEnum.Assembly) { menuStrip1.Visible = true; SetupMenus(); SetUpMenuEvents(); } else menuStrip1.Visible = false; //make sure we are set to normal this.AutoScroll = true; binPath = System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory(); isDirty = false; }
internal void Init(string projPath) { vsProjPath = projPath; if (vsProjPath == string.Empty) { dpType = DeployTypeEnum.Assembly; } else { dpType = DeployTypeEnum.Project; sqlProjFile = Path.Combine(vsProjPath, "sql.proj"); } }
public PropertiesForm(string projPath, string execPath) { if (projPath == "") { dpType = DeployTypeEnum.Assembly; } else { sqlProjFile = Path.Combine(projPath, "sql.proj"); vsProjPath = projPath; } appPath = execPath; InitializeComponent(); SetEventHooks(); SetUpHelp(); SetControlState(); LoadDocs(); if (dpType == DeployTypeEnum.Assembly) { menuStrip1.Visible = true; SetupMenus(); SetUpMenuEvents(); } else { menuStrip1.Visible = false; } //make sure we are set to normal this.AutoScroll = true; binPath = System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory(); isDirty = false; }