Parameter_Class
1| using System;
2| using System.Collections.Generic;
3| using System.Linq;
4| using System.Text;
5|
6| namespace PC_SPY_Menu
7| {
8| class Parameter_Class
9| {
10| //Private object attributes
11| //Objects DO NOT share PRIVATE attributes
12| private string sDriveRoot;
13| private string sDatebase;
14| private string sPC_Spy_Information;
15|
16| //Constructor method
17| //Call when you instantiate by calling the constructor
18| public Parameter_Class()
19| {
20| //Initialize an object's private attributes
21| sDriveRoot = "";
22| sDatebase = "";
23| sPC_Spy_Information = "";
24| }
25|
26| //Method to set sDriveRoot's value
27| public void Set_sDriveRoot(string sDriveRoot_Value)
28| {
29| sDriveRoot = sDriveRoot_Value;
30| }
31|
32| //Method to retrive sDriveRoot's value
33|
34| public string Get_sDriveRoot()
35| {
36| return sDriveRoot;
37| }
38|
39| //Method to set sDatabase's value
40| public void Set_Database_Location(string sDatabase_Value)
41| {
42| sDatebase = sDatabase_Value;
43| }
44|
45| //Method to retrieve sDatabase's value
46| public string Get_Database_Location()
47| {
48| return sDatebase;
49| }
50|
51| //Method to set sPC_Spy_Information value
52| public void Set_PC_Spy_Information(string sPC_Spy_Information_Value)
53| {
54| sPC_Spy_Information = sPC_Spy_Information_Value;
55| }
56|
57| //Method to retrieve sPC_Spy_Information value
58| public string Get_PC_Spy_Information()
59| {
60| return sPC_Spy_Information;
61| }
62| }//end of class
63| }