-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConvStatsGUI.cs
More file actions
32 lines (29 loc) · 1.1 KB
/
ConvStatsGUI.cs
File metadata and controls
32 lines (29 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.Windows.Forms;
namespace DoseObjectiveCheck
{
public partial class ConvStatsGUI : Form
{
public ConvStatsGUI(string[] CoverageRequirements)
{
InitializeComponent();
OkayButton.Click += (sender, EventArgs) => { LAMBDALINK(sender, EventArgs, CoverageRequirements); };
}
private void OkayBut_Click(object sender, EventArgs args)
{
// MessageBox.Show("Organ: " + org.ToString());
}
void LAMBDALINK(object sender, EventArgs e, string[] ConvCoverageRequirements)
{
ConvCoverageRequirements[0] = CTV_Rx.Text;
ConvCoverageRequirements[1] = CTV_Vol.Text;
ConvCoverageRequirements[2] = PTV1_Rx.Text;
ConvCoverageRequirements[3] = PTV1_Vol.Text;
ConvCoverageRequirements[4] = PTV2_Rx.Text;
ConvCoverageRequirements[5] = PTV2_Vol.Text;
ConvCoverageRequirements[6] = PTV3_Rx.Text;
ConvCoverageRequirements[7] = PTV3_Vol.Text;
this.Close();
}
}
}