public StatusBarLogger CreateStatusBarLogger() { StatusBarLogger sl = new StatusBarLogger(); sl.SetControls(m_statusPartInfo, m_statusPartProgress); return sl; }
/// <summary> /// Create a new warnings logger object that logs directly into /// the main status bar until the first warning is shown (in that /// case a dialog is opened displaying the warning). /// </summary> /// <returns>Reference to the new logger object.</returns> public ShowWarningsLogger CreateShowWarningsLogger() { StatusBarLogger sl = new StatusBarLogger(); sl.SetControls(m_statusPartInfo, m_statusPartProgress); return new ShowWarningsLogger(sl, this); }