public MainForm() : base() { InitializeComponent(); Alert = new AlertDelegate(AlertMethod); Exit = new ExitDelegate(ExitMethod); FatalExit = new FatalExitDelegate(FatalExitMethod); Log = new LogDelegate(LogMethod); ReportProgress = new ReportProgressDelegate(ReportProgressMethod); Info = new InfoDelegate(InfoMethod); logfile = File.OpenWrite(Path.GetDirectoryName(Application.ExecutablePath) + "\\cuetoogg.log.txt"); }
public SilentForm() : base() { InitializeComponent(); Alert = new AlertDelegate(AlertMethod); Exit = new ExitDelegate(ExitMethod); FatalExit = new FatalExitDelegate(FatalExitMethod); Log = new LogDelegate(LogMethod); ReportProgress = new ReportProgressDelegate(ReportProgressMethod); Info = new InfoDelegate(InfoMethod); logfile=File.OpenWrite(Path.GetDirectoryName(Application.ExecutablePath)+"\\cuetoogg.log.txt"); }