SECI
1
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Sample_Environment_Control_Interface
Sample_Environment_Control_Interface
Classes
GuiSettings.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Collections.Generic;
3
using
System.Text;
4
5
namespace
Sample_Environment_Control_Interface
6
{
14
static
class
GuiSettings
15
{
16
//Webpages
17
private
static
String
_bugzillaUrl
;
18
private
static
String
_mcrUrl
;
19
20
public
static
String
BugzillaUrl
{
get
{
return
_bugzillaUrl
; } }
21
public
static
String
McrUrl
{
get
{
return
_mcrUrl
; } }
22
27
public
static
void
LoadSettings
()
28
{
29
try
30
{
31
//Read settings from App.config
32
System.Configuration.AppSettingsReader reader =
new
System.Configuration.AppSettingsReader();
33
34
_bugzillaUrl
= reader.GetValue(
"BugzillaURL"
, typeof(System.String)).ToString();
35
_mcrUrl
= reader.GetValue(
"MCRURL"
, typeof(System.String)).ToString();
36
}
37
catch
38
{
39
}
40
}
41
}
42
}
Sample_Environment_Control_Interface.GuiSettings._bugzillaUrl
static String _bugzillaUrl
Definition:
GuiSettings.cs:17
Sample_Environment_Control_Interface.GuiSettings.LoadSettings
static void LoadSettings()
Definition:
GuiSettings.cs:27
Sample_Environment_Control_Interface.GuiSettings
Definition:
GuiSettings.cs:14
Sample_Environment_Control_Interface.GuiSettings.McrUrl
static String McrUrl
Definition:
GuiSettings.cs:21
Sample_Environment_Control_Interface.GuiSettings._mcrUrl
static String _mcrUrl
Definition:
GuiSettings.cs:18
Sample_Environment_Control_Interface.GuiSettings.BugzillaUrl
static String BugzillaUrl
Definition:
GuiSettings.cs:20
Generated on Mon Nov 20 2017 21:59:04 for SECI by
1.8.5