Esempio n. 1
0
		public StatusBarLogger CreateStatusBarLogger()
		{
			StatusBarLogger sl = new StatusBarLogger();
			sl.SetControls(m_statusPartInfo, m_statusPartProgress);
			return sl;
		}
Esempio n. 2
0
        /// <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);
        }