Skip to content

Commit d57c7dc

Browse files
committed
Project rename and updates to the form and design
1 parent 616b5d2 commit d57c7dc

41 files changed

Lines changed: 587 additions & 259 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vs/LFAR/v16/.suo

40 KB
Binary file not shown.

.vs/LFAR/v16/Server/sqlite3/db.lock

Whitespace-only changes.
504 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.29806.167
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Text File Multiple Search and Replace", "Text File Multiple Search and Replace\Text File Multiple Search and Replace.csproj", "{C678AB4A-90B8-4AF3-89A9-D6B46431F7C9}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LFAR", "LFAR\LFAR.csproj", "{C678AB4A-90B8-4AF3-89A9-D6B46431F7C9}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Text File Multiple Search and Replace/Form1.Designer.cs renamed to LFAR/Form1.Designer.cs

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

Text File Multiple Search and Replace/Form1.cs renamed to LFAR/Form1.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using System.Xml;
1212
using System.Xml.Linq;
1313

14-
namespace Text_File_Multiple_Search_and_Replace
14+
namespace LFAR
1515
{
1616
public partial class Form1 : Form
1717
{
@@ -139,13 +139,15 @@ private void buttonCheckAll_Click(object sender, EventArgs e)
139139
foreach (DataGridViewRow row in dataGridView1.Rows)
140140
{
141141
row.Cells[0].Value = true;
142+
row.Cells[0].Selected = true;
142143
}
143144
}
144145
private void buttonUncheckAll_Click(object sender, EventArgs e)
145146
{
146147
foreach (DataGridViewRow row in dataGridView1.Rows)
147148
{
148149
row.Cells[0].Value = false;
150+
row.Cells[0].Selected = false;
149151
}
150152
}
151153

@@ -207,7 +209,8 @@ private void buttonDoReplaceJob_Click(object sender, EventArgs e)
207209

208210
} while (sr.EndOfStream == false);
209211
}
210-
File.WriteAllText(pathOfFile, text);
212+
if (replacesCount > 0)
213+
File.WriteAllText(pathOfFile, text);
211214
}
212215
label1.Text = "Jobs finished: "+ replacesCount + " replaces.";
213216
}

LFAR/Form1.resx

Lines changed: 343 additions & 0 deletions
Large diffs are not rendered by default.

Text File Multiple Search and Replace/Text File Multiple Search and Replace.csproj renamed to LFAR/LFAR.csproj

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,26 @@
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<ProjectGuid>{C678AB4A-90B8-4AF3-89A9-D6B46431F7C9}</ProjectGuid>
88
<OutputType>WinExe</OutputType>
9-
<RootNamespace>Text_File_Multiple_Search_and_Replace</RootNamespace>
10-
<AssemblyName>Text File Multiple Search and Replace</AssemblyName>
9+
<RootNamespace>LFAR</RootNamespace>
10+
<AssemblyName>LFAR</AssemblyName>
1111
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<Deterministic>true</Deterministic>
14+
<PublishUrl>publish\</PublishUrl>
15+
<Install>true</Install>
16+
<InstallFrom>Disk</InstallFrom>
17+
<UpdateEnabled>false</UpdateEnabled>
18+
<UpdateMode>Foreground</UpdateMode>
19+
<UpdateInterval>7</UpdateInterval>
20+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
21+
<UpdatePeriodically>false</UpdatePeriodically>
22+
<UpdateRequired>false</UpdateRequired>
23+
<MapFileExtensions>true</MapFileExtensions>
24+
<ApplicationRevision>0</ApplicationRevision>
25+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
26+
<IsWebBootstrapper>false</IsWebBootstrapper>
27+
<UseApplicationTrust>false</UseApplicationTrust>
28+
<BootstrapperEnabled>true</BootstrapperEnabled>
1429
</PropertyGroup>
1530
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1631
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -31,6 +46,9 @@
3146
<ErrorReport>prompt</ErrorReport>
3247
<WarningLevel>4</WarningLevel>
3348
</PropertyGroup>
49+
<PropertyGroup>
50+
<ApplicationIcon>search.ico</ApplicationIcon>
51+
</PropertyGroup>
3452
<ItemGroup>
3553
<Reference Include="System" />
3654
<Reference Include="System.Core" />
@@ -62,6 +80,7 @@
6280
<Compile Include="Properties\Resources.Designer.cs">
6381
<AutoGen>True</AutoGen>
6482
<DependentUpon>Resources.resx</DependentUpon>
83+
<DesignTime>True</DesignTime>
6584
</Compile>
6685
<None Include="Properties\Settings.settings">
6786
<Generator>SettingsSingleFileGenerator</Generator>
@@ -73,6 +92,15 @@
7392
<DesignTimeSharedInput>True</DesignTimeSharedInput>
7493
</Compile>
7594
</ItemGroup>
76-
<ItemGroup />
95+
<ItemGroup>
96+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
97+
<Visible>False</Visible>
98+
<ProductName>.NET Framework 3.5 SP1</ProductName>
99+
<Install>true</Install>
100+
</BootstrapperPackage>
101+
</ItemGroup>
102+
<ItemGroup>
103+
<Content Include="search.ico" />
104+
</ItemGroup>
77105
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
78106
</Project>

LFAR/LFAR.csproj.user

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<PublishUrlHistory>publish\</PublishUrlHistory>
5+
<InstallUrlHistory />
6+
<SupportUrlHistory />
7+
<UpdateUrlHistory />
8+
<BootstrapperUrlHistory />
9+
<ErrorReportUrlHistory />
10+
<FallbackCulture>en-US</FallbackCulture>
11+
<VerifyUploadedFiles>false</VerifyUploadedFiles>
12+
</PropertyGroup>
13+
</Project>

Text File Multiple Search and Replace/Program.cs renamed to LFAR/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Windows.Forms;
55

6-
namespace Text_File_Multiple_Search_and_Replace
6+
namespace LFAR
77
{
88
static class Program
99
{

0 commit comments

Comments
 (0)