mirror of
https://github.com/Stefan-5422/Superbuchaltung.git
synced 2026-09-04 00:46:04 +02:00
Query now Ignores Capitalization
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -71,9 +71,17 @@ namespace Superbuchhaltung
|
|||||||
{
|
{
|
||||||
if (Selection == 0)
|
if (Selection == 0)
|
||||||
{
|
{
|
||||||
|
if (!Directory.Exists(@"C:\Users\Public\TestFolder\"))
|
||||||
|
{
|
||||||
|
Directory.CreateDirectory(@"C:\Users\Public\TestFolder\");
|
||||||
|
}
|
||||||
PHdataview.Rows.Clear();
|
PHdataview.Rows.Clear();
|
||||||
for (int i = 0; i < 10; i++)
|
for (int i = 0; i < 10; i++)
|
||||||
{
|
{
|
||||||
|
if(!File.Exists(@"C:\Users\Public\TestFolder\" + i + ".txt"))
|
||||||
|
{
|
||||||
|
File.Create(@"C:\Users\Public\TestFolder\" + i + ".txt");
|
||||||
|
}
|
||||||
string[] file = File.ReadAllLines(@"C:\Users\Public\TestFolder\" + i + ".txt");
|
string[] file = File.ReadAllLines(@"C:\Users\Public\TestFolder\" + i + ".txt");
|
||||||
foreach (string f in file)
|
foreach (string f in file)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ namespace Superbuchhaltung.Forms.Prompts
|
|||||||
string[] file = File.ReadAllLines(@"C:\Users\Public\TestFolder\" + i + ".txt");
|
string[] file = File.ReadAllLines(@"C:\Users\Public\TestFolder\" + i + ".txt");
|
||||||
foreach (string s in file)
|
foreach (string s in file)
|
||||||
{
|
{
|
||||||
if (s.Contains(Suchen.Text))
|
if (s.ToLower().Contains(Suchen.Text.ToLower()))
|
||||||
{
|
{
|
||||||
result.Add(s);
|
result.Add(s);
|
||||||
KUHL.Rows.Add(s.Split(';'));
|
KUHL.Rows.Add(s.Split(';'));
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<configuration>
|
|
||||||
<startup>
|
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user