public FormAddDetectorType(DetectorType detType) { InitializeComponent(); DetType = detType; }
public Session(string sessionPath, string name, string comment, float livetime, int iterations, Detector det, DetectorType detType) { Spectrums = new List<Spectrum>(); Clear(); Name = name; Comment = comment; Livetime = livetime; Iterations = iterations; Detector = det; DetectorType = detType; LoadGEFactor(); if (!Directory.Exists(sessionPath + Path.DirectorySeparatorChar + Name)) Directory.CreateDirectory(sessionPath + Path.DirectorySeparatorChar + Name); }