StartLogging() публичный Метод

public StartLogging ( string strOperation, bool bWriteOperationToLog ) : void
strOperation string
bWriteOperationToLog bool
Результат void
Пример #1
0
		public static StatusProgressForm ConstructEx(string strTitle,
			bool bCanCancel, bool bMarqueeProgress, Form fOwner,
			string strInitialOp)
		{
			StatusProgressForm dlg = new StatusProgressForm();
			dlg.InitEx(strTitle, bCanCancel, bMarqueeProgress, fOwner);

			if(fOwner != null) dlg.Show(fOwner);
			else dlg.Show();

			dlg.StartLogging(strInitialOp, false);

			return dlg;
		}
Пример #2
0
        public static StatusProgressForm ConstructEx(string strTitle,
                                                     bool bCanCancel, bool bMarqueeProgress, Form fOwner,
                                                     string strInitialOp)
        {
            StatusProgressForm dlg = new StatusProgressForm();

            dlg.InitEx(strTitle, bCanCancel, bMarqueeProgress, fOwner);

            if (fOwner != null)
            {
                dlg.Show(fOwner);
            }
            else
            {
                dlg.Show();
            }

            dlg.StartLogging(strInitialOp, false);

            return(dlg);
        }
Пример #3
0
		private StatusProgressForm ConstructStatusDialog()
		{
			StatusProgressForm dlg = new StatusProgressForm();
			dlg.InitEx(m_strTitle, false, true, m_bUseThread ? null : m_fOwner);
			dlg.Show();
			dlg.StartLogging(null, false);
			dlg.SetProgress(m_uProgress);

			MainForm mfOwner = ((m_fOwner != null) ? (m_fOwner as MainForm) : null);
			if((m_bUseThread == false) && (mfOwner != null))
			{
				mfOwner.RedirectActivationPush(dlg);
				mfOwner.UIBlockInteraction(true);
			}

			return dlg;
		}
Пример #4
0
        private static StatusProgressForm BeginStatusDialog(string strText)
        {
            StatusProgressForm dlg = new StatusProgressForm();
            dlg.InitEx(PwDefs.ShortProductName, false, true, null);
            dlg.Show();
            dlg.StartLogging(strText ?? string.Empty, false);

            return dlg;
        }