public StartLogging ( string strOperation, bool bWriteOperationToLog ) : void | ||
strOperation | string | |
bWriteOperationToLog | bool | |
return | void |
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; }
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); }
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; }
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; }