public MainForm() { InitializeComponent(); this.mouse_key_input_counter = 0; this.calculationsDialogue = new CalculationWindow(); this.instructionSetLV = new string[20]; this.instructionSetLA_AO = new string[20]; this.instructionSet2D = new string[20]; this.instructionSetAortic = new string[20]; this.instructionSetPulmonary = new string[20]; this.instructionSetSVC = new string[20]; this.CreateInstructionSet(); this.calculationPackage = new Calculations(); this.fullReport = new FullReport(); this.lastPointClicked = new Point(); this.startLocation = new Point(); this.pointsClicked = new List<Point>(); MainForm.areaInPixels = new List<int>(); MainForm.lengthsInPixels = new List<double>(); }
public MainForm(string currentVideoPath) { this.currentVideoPath = currentVideoPath; InitializeComponent(); this.mouse_key_input_counter = 0; this.calculationsDialogue = new CalculationWindow(); this.instructionSetLV = new string[20]; this.instructionSetLA_AO = new string[20]; this.instructionSet2D = new string[20]; this.instructionSetAortic = new string[20]; this.instructionSetPulmonary = new string[20]; this.instructionSetSVC = new string[20]; this.instructionSetPDA = new string[6]; this.instructionSetRVPressure = new string[6]; this.CreateInstructionSet(); this.calculationPackage = new Calculations(); this.fullReport = new FullReport(); this.lastPointClicked = new Point(); this.startLocation = new Point(); this.pointsClicked = new List<Point>(); MainForm.areaInPixels = new List<int>(); MainForm.lengthsInPixels = new List<double>(); this.offline_video_4_measurements = false; this.ShowDialog(); }