| | |
| | | using Bro.Common.Interface; |
| | | using System; |
| | | using System.Reflection; |
| | | using System.Threading; |
| | | using System.Windows.Forms; |
| | | using WeifenLuo.WinFormsUI.Docking; |
| | | |
| | |
| | | //if (process != value) |
| | | { |
| | | process = value; |
| | | |
| | | _constructionDoneHandle.Wait(); |
| | | OnProcessUpdated(); |
| | | _constructionDoneHandle.Reset(); |
| | | } |
| | | } |
| | | } |
| | | |
| | | ManualResetEventSlim _constructionDoneHandle = new ManualResetEventSlim(false); |
| | | public MenuFrmBase() |
| | | { |
| | | InitializeComponent(); |
| | |
| | | { |
| | | FormClosing += MenuFrmBase_FormClosing; |
| | | } |
| | | |
| | | _constructionDoneHandle.Set(); |
| | | } |
| | | |
| | | protected virtual void MenuFrmBase_FormClosing(object sender, FormClosingEventArgs e) |
| | |
| | | #endregion |
| | | |
| | | #region Login |
| | | protected bool IsLogin { get; set; } |
| | | protected virtual bool IsLogin { get; set; } |
| | | |
| | | public virtual void SetLoginStatus(bool isLogin) |
| | | { |