Public Member Functions | |
| CreateSuggestion (LiteratureInfo[] allLiterature) | |
| The CreateSuggestion Constructor. | |
Public Attributes | |
| string | Reason = "" |
| A string containing the reason for suggesting the literature. | |
| int | Literature = -1 |
| The literature's UniquelyIdentifiable id - if -1, no literature was selected. | |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
| Clean up any resources being used. | |
Private Member Functions | |
| void | btnCancel_Click (object sender, EventArgs e) |
| Close the form, and make sure Literature is set to -1. | |
| void | btnCreate_Click (object sender, EventArgs e) |
| Set the Literature and Reason variables to the relevant values, and close the form. | |
| void | InitializeComponent () |
| Required method for Designer support - do not modify the contents of this method with the code editor. | |
Private Attributes | |
| List< int > | IDList = new List<int>() |
| The internal list from which the ID is fetched when the user selects the literature to suggest. | |
| System.ComponentModel.IContainer | components = null |
| Required designer variable. | |
| System.Windows.Forms.TextBox | txtReason |
| System.Windows.Forms.Label | label18 |
| System.Windows.Forms.Button | btnCancel |
| System.Windows.Forms.Button | btnCreate |
| System.Windows.Forms.Panel | panel1 |
| System.Windows.Forms.ComboBox | cmbLiterature |
| System.Windows.Forms.Label | label1 |
Definition at line 15 of file CreateSuggestion.cs.
| Client.CreateSuggestion.CreateSuggestion | ( | LiteratureInfo[] | allLiterature | ) |
The CreateSuggestion Constructor.
| allLiterature | A list containing all the literature the user can select from |
Definition at line 28 of file CreateSuggestion.cs.
References Client.CreateSuggestion.cmbLiterature, Client.CreateSuggestion.IDList, and Client.CreateSuggestion.InitializeComponent().
Here is the call graph for this function:

| void Client.CreateSuggestion.btnCancel_Click | ( | object | sender, | |
| EventArgs | e | |||
| ) | [private] |
Close the form, and make sure Literature is set to -1.
| sender | Who is calling? | |
| e | What arguments do they give us? |
Definition at line 45 of file CreateSuggestion.cs.
References Client.CreateSuggestion.Literature.
Referenced by Client.CreateSuggestion.InitializeComponent().
Here is the caller graph for this function:

| void Client.CreateSuggestion.btnCreate_Click | ( | object | sender, | |
| EventArgs | e | |||
| ) | [private] |
Set the Literature and Reason variables to the relevant values, and close the form.
| sender | Who is calling? | |
| e | What arguments do they give us? |
Definition at line 56 of file CreateSuggestion.cs.
References Client.CreateSuggestion.cmbLiterature, Client.CreateSuggestion.IDList, Client.CreateSuggestion.Literature, Client.CreateSuggestion.Reason, and Client.CreateSuggestion.txtReason.
Referenced by Client.CreateSuggestion.InitializeComponent().
Here is the caller graph for this function:

| override void Client.CreateSuggestion.Dispose | ( | bool | disposing | ) | [protected] |
Clean up any resources being used.
| disposing | true if managed resources should be disposed; otherwise, false. |
Definition at line 14 of file CreateSuggestion.Designer.cs.
References Client.CreateSuggestion.components.
| void Client.CreateSuggestion.InitializeComponent | ( | ) | [private] |
Required method for Designer support - do not modify the contents of this method with the code editor.
Definition at line 29 of file CreateSuggestion.Designer.cs.
References Client.CreateSuggestion.btnCancel, Client.CreateSuggestion.btnCancel_Click(), Client.CreateSuggestion.btnCreate, Client.CreateSuggestion.btnCreate_Click(), Client.CreateSuggestion.cmbLiterature, Client.CreateSuggestion.label1, Client.CreateSuggestion.label18, Client.CreateSuggestion.panel1, and Client.CreateSuggestion.txtReason.
Referenced by Client.CreateSuggestion.CreateSuggestion().
Here is the call graph for this function:

Here is the caller graph for this function:

List<int> Client.CreateSuggestion.IDList = new List<int>() [private] |
The internal list from which the ID is fetched when the user selects the literature to suggest.
Definition at line 18 of file CreateSuggestion.cs.
Referenced by Client.CreateSuggestion.btnCreate_Click(), and Client.CreateSuggestion.CreateSuggestion().
| string Client.CreateSuggestion.Reason = "" |
A string containing the reason for suggesting the literature.
Definition at line 20 of file CreateSuggestion.cs.
Referenced by Client.ProjectView.btnAddReference_Click(), and Client.CreateSuggestion.btnCreate_Click().
| int Client.CreateSuggestion.Literature = -1 |
The literature's UniquelyIdentifiable id - if -1, no literature was selected.
Definition at line 22 of file CreateSuggestion.cs.
Referenced by Client.ProjectView.btnAddReference_Click(), Client.CreateSuggestion.btnCancel_Click(), and Client.CreateSuggestion.btnCreate_Click().
System.ComponentModel.IContainer Client.CreateSuggestion.components = null [private] |
Required designer variable.
Definition at line 8 of file CreateSuggestion.Designer.cs.
Referenced by Client.CreateSuggestion.Dispose().
1.5.1-p1