Skip to content

Commit ce64ea1

Browse files
author
Wayfarer
committed
fix Potential bug.
1 parent fb5d946 commit ce64ea1

1 file changed

Lines changed: 82 additions & 78 deletions

File tree

CommonDialogs/ComDlgResources.cs

Lines changed: 82 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -6,84 +6,88 @@
66
* PROGRAMER: Peter Geinitz (Wayfarer)
77
*/
88

9-
namespace CommonDialogs
9+
namespace CommonDialogs;
10+
11+
/// <summary>
12+
/// The common Dialog Control resources class.
13+
/// </summary>
14+
internal static class ComDlgResources
1015
{
1116
/// <summary>
12-
/// The common Dialog Control resources class.
17+
/// Error, Database problem with the Server Name (const). Value: "Error: Server Name was empty.".
18+
/// </summary>
19+
internal const string DbServerError = "Error: Server Name was empty.";
20+
21+
/// <summary>
22+
/// Error, Database problem with the Database Name (const). Value: "Error: Database Name was empty.".
23+
/// </summary>
24+
internal const string DbNameError = "Error: Database Name was empty.";
25+
26+
/// <summary>
27+
/// Database string, about PersistSecurity Info (const). Value: "PersistSecurity Info".
28+
/// </summary>
29+
internal const string DbPersistSecurityInfo = "PersistSecurityInfo=";
30+
31+
/// <summary>
32+
/// The database integrated Security set to true (const). Value: "Integrated Security=True;".
33+
/// </summary>
34+
internal const string DbIntegratedTrue = "Integrated Security=True;";
35+
36+
/// <summary>
37+
/// The database Trust Server Certificate set to false (const). Value: "TrustServerCertificate=False;".
38+
/// </summary>
39+
internal const string DbTrustServerCertificateFalse = "TrustServerCertificate=False;";
40+
41+
/// <summary>
42+
/// The database Trust Server Certificate set to True (const). Value: "TrustServerCertificate=True;".
43+
/// </summary>
44+
internal const string DbTrustServerCertificateTrue = "TrustServerCertificate=True;";
45+
46+
/// <summary>
47+
/// The database Log Message, Connection object with the data was created (const). Value: "SQL Connection object was
48+
/// created."
49+
/// </summary>
50+
internal const string DbLogConnectionStringBuild = "SQL Connection object was created.";
51+
52+
/// <summary>
53+
/// The database Log Message, Connection object with the data was not created complete (const). Value: ""SQL Connection
54+
/// was not created correctly."
55+
/// </summary>
56+
internal const string DbLogConnectionStringBuildError = "Warning, SQL Connection was not created correctly.";
57+
58+
/// <summary>
59+
/// Database string, command end (const). Value: ";".
60+
/// </summary>
61+
internal const string DbFin = ";";
62+
63+
/// <summary>
64+
/// Database string, tag for Server (const). Value: "Server = ".
65+
/// </summary>
66+
internal const string DbServer = "Server=";
67+
68+
/// <summary>
69+
/// Database string, tag for Database (const). Value: "Database = ".
70+
/// </summary>
71+
internal const string DbDatabase = "Database=";
72+
73+
/// <summary>
74+
/// File Extension. Value: ".*".
75+
/// </summary>
76+
internal const string Appendix = ".*";
77+
78+
/// <summary>
79+
/// File Extension full Filter. Format: "All Files (*.*)|*.*"
80+
/// </summary>
81+
internal const string AppendixFull = "All Files (*.*)|*.*";
82+
83+
/// <summary>
84+
/// The root Path. Value: @"C:\".
85+
/// </summary>
86+
internal const string Root = @"C:\";
87+
88+
89+
/// <summary>
90+
/// The new Folder name. Value: "New Folder".
1391
/// </summary>
14-
internal static class ComDlgResources
15-
{
16-
/// <summary>
17-
/// Error, Database problem with the Server Name (const). Value: "Error: Server Name was empty.".
18-
/// </summary>
19-
internal const string DbServerError = "Error: Server Name was empty.";
20-
21-
/// <summary>
22-
/// Error, Database problem with the Database Name (const). Value: "Error: Database Name was empty.".
23-
/// </summary>
24-
internal const string DbNameError = "Error: Database Name was empty.";
25-
26-
/// <summary>
27-
/// Database string, about PersistSecurity Info (const). Value: "PersistSecurity Info".
28-
/// </summary>
29-
internal const string DbPersistSecurityInfo = "PersistSecurityInfo=";
30-
31-
/// <summary>
32-
/// The database integrated Security set to true (const). Value: "Integrated Security=True;".
33-
/// </summary>
34-
internal const string DbIntegratedTrue = "Integrated Security=True;";
35-
36-
/// <summary>
37-
/// The database Trust Server Certificate set to false (const). Value: "TrustServerCertificate=False;".
38-
/// </summary>
39-
internal const string DbTrustServerCertificateFalse = "TrustServerCertificate=False;";
40-
41-
/// <summary>
42-
/// The database Trust Server Certificate set to True (const). Value: "TrustServerCertificate=True;".
43-
/// </summary>
44-
internal const string DbTrustServerCertificateTrue = "TrustServerCertificate=True;";
45-
46-
/// <summary>
47-
/// The database Log Message, Connection object with the data was created (const). Value: "SQL Connection object was
48-
/// created."
49-
/// </summary>
50-
internal const string DbLogConnectionStringBuild = "SQL Connection object was created.";
51-
52-
/// <summary>
53-
/// The database Log Message, Connection object with the data was not created complete (const). Value: ""SQL Connection
54-
/// was not created correctly."
55-
/// </summary>
56-
internal const string DbLogConnectionStringBuildError = "Warning, SQL Connection was not created correctly.";
57-
58-
/// <summary>
59-
/// Database string, command end (const). Value: ";".
60-
/// </summary>
61-
internal const string DbFin = ";";
62-
63-
/// <summary>
64-
/// Database string, tag for Server (const). Value: "Server = ".
65-
/// </summary>
66-
internal const string DbServer = "Server=";
67-
68-
/// <summary>
69-
/// Database string, tag for Database (const). Value: "Database = ".
70-
/// </summary>
71-
internal const string DbDatabase = "Database=";
72-
73-
/// <summary>
74-
/// File Extension. Value: ".*".
75-
/// </summary>
76-
internal const string Appendix = ".*";
77-
78-
/// <summary>
79-
/// The root Path. Value: @"C:\".
80-
/// </summary>
81-
internal const string Root = @"C:\";
82-
83-
84-
/// <summary>
85-
/// The new Folder name. Value: "New Folder".
86-
/// </summary>
87-
internal const string NewFolder = "New Folder";
88-
}
89-
}
92+
internal const string NewFolder = "New Folder";
93+
}

0 commit comments

Comments
 (0)