///<summary> ///Default constructor for the SaveFile class, accepts string to save and parameters for the savefiledialogue window ///</summary> ///<param name="output">The string to be saved</param> ///<param name="message">Message to be displayed on the save file dialogue window</param> ///<param name="filter">String to filter access to file types in the savefiledialogue window</param> public SaveFile(IFqFile file, String message, FastqGUI o, String saveType, String filter = "Text File|*.txt|FastqFile|*.fq") { this.fqFile = file; this.message = message; this.filter = filter; this.observer = o; this.saveAction = saveType; }
/// <summary> /// Default constructor accepts instance of the Gui as an observer to the class /// </summary> /// <param name="observe"></param> public FastqGUI_Charts(FastqGUI observe) { this.observer = observe; }
/// <summary> /// Default constructor for the class, accepts an instance of the main gui class as an observer. /// </summary> /// <param name="observe"></param> public FastqGUI_Display(FastqGUI observe) { this.observer = observe; }
/// <summary> /// Sets the observer to the fastqgui controller /// </summary> /// <param name="observer">The gui observer</param> public void SetObserver(FastqGUI observer) { this.observer = observer; }