Skip to content

Commit 2f0baf7

Browse files
committed
移除了預設資料庫連線資料以及資料夾路徑
調整執行script按鈕點擊後的提示文字為"是否執行勾選的script?"
1 parent 7a2c6c4 commit 2f0baf7

3 files changed

Lines changed: 91 additions & 48 deletions

File tree

RunMultiSqlscript/Form1.Designer.cs

Lines changed: 63 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

RunMultiSqlscript/Form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ private void RunScript_Click(object sender, EventArgs e)
302302
{
303303
writer.WriteLine(readtext);
304304
}
305-
result = MessageBox.Show("是否執行該批次檔?", "提示", MessageBoxButtons.YesNo);
305+
result = MessageBox.Show("是否執行勾選的script?", "提示", MessageBoxButtons.YesNo);
306306
if (result == DialogResult.Yes)
307307
{
308308
//開始執行批次檔

RunMultiSqlscript/RunMultiSqlscript.csproj

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,21 @@
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<Deterministic>true</Deterministic>
15+
<PublishUrl>publish\</PublishUrl>
16+
<Install>true</Install>
17+
<InstallFrom>Disk</InstallFrom>
18+
<UpdateEnabled>false</UpdateEnabled>
19+
<UpdateMode>Foreground</UpdateMode>
20+
<UpdateInterval>7</UpdateInterval>
21+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
22+
<UpdatePeriodically>false</UpdatePeriodically>
23+
<UpdateRequired>false</UpdateRequired>
24+
<MapFileExtensions>true</MapFileExtensions>
25+
<ApplicationRevision>0</ApplicationRevision>
26+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
27+
<IsWebBootstrapper>false</IsWebBootstrapper>
28+
<UseApplicationTrust>false</UseApplicationTrust>
29+
<BootstrapperEnabled>true</BootstrapperEnabled>
1530
</PropertyGroup>
1631
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1732
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -80,5 +95,17 @@
8095
<ItemGroup>
8196
<None Include="App.config" />
8297
</ItemGroup>
98+
<ItemGroup>
99+
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
100+
<Visible>False</Visible>
101+
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 和 x64%29</ProductName>
102+
<Install>true</Install>
103+
</BootstrapperPackage>
104+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
105+
<Visible>False</Visible>
106+
<ProductName>.NET Framework 3.5 SP1</ProductName>
107+
<Install>false</Install>
108+
</BootstrapperPackage>
109+
</ItemGroup>
83110
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
84111
</Project>

0 commit comments

Comments
 (0)