コード例 #1
0
 public WaitDialog(WaitDialogType type)
 {
     m_DialogForm = null;
     if (type != WaitDialogType.None)
     {
         Title     = GetMessage("msgWaitFormCaption");
         m_Caption = GetMessage("msg" + type);
         Init();
     }
 }
コード例 #2
0
ファイル: ActionLocker.cs プロジェクト: EIDSS/EIDSS6.1.0.45
 public bool Lock(WaitDialogType waitType = WaitDialogType.None)
 {
     if (m_Locked)
     {
         return(false);
     }
     if (waitType != WaitDialogType.None && (ShowWaitDialog != null))
     {
         m_WaitDialog = ShowWaitDialog(waitType);
     }
     return(m_Locked = true);
 }
コード例 #3
0
 public static object ShowWaitDialog(WaitDialogType type)
 {
     return(new WaitDialog(type));
 }