| | |
| | | //}); |
| | | |
| | | m_deserializeMenuFrm = new DeserializeDockContent(GetMenuFromPersistString); |
| | | LoadLayoutFromXML(m_deserializeMenuFrm); |
| | | |
| | | m_deserializeDeviceRunFrm = new DeserializeDockContent(GetAllFormPersistString); |
| | | _allMenuLoadDoneHandle.Set(); |
| | | |
| | | //LoadLayoutFromXML(m_deserializeMenuFrm); |
| | | //_allMenuLoadDoneHandle.Set(); |
| | | |
| | | Text = SettingHelper.GetProgramDescription(); |
| | | string iconPath = SettingHelper.GetProgramIcon(); |
| | |
| | | |
| | | private void MainFrm_Load(object sender, EventArgs e) |
| | | { |
| | | LoadLayoutFromXML(m_deserializeMenuFrm); |
| | | _allMenuLoadDoneHandle.Set(); |
| | | |
| | | AdvancedPwdFrm.OnLoginOK = OnLoginOK; |
| | | |
| | | SpinWait wait = new SpinWait(); |
| | | while (_process == null) |
| | | { |
| | | wait.SpinOnce(); |
| | | } |
| | | //SpinWait wait = new SpinWait(); |
| | | //while (_process == null) |
| | | //{ |
| | | // wait.SpinOnce(); |
| | | //} |
| | | LoadLayoutFromXML(m_deserializeDeviceRunFrm); |
| | | } |
| | | |
| | |
| | | |
| | | dockFrm.Text = desc[2]; |
| | | |
| | | if (_process != null) |
| | | { |
| | | dockFrm.DownloadProcess(_process); |
| | | } |
| | | //if (_process != null) |
| | | //{ |
| | | // dockFrm.DownloadProcess(_process); |
| | | //} |
| | | |
| | | dockFrm.SetLoginStatus(IsLogin); |
| | | |
| | |
| | | |
| | | dockFrm.Text = desc[2]; |
| | | |
| | | if (_process != null) |
| | | { |
| | | dockFrm.DownloadProcess(_process); |
| | | } |
| | | //if (_process != null) |
| | | //{ |
| | | // dockFrm.DownloadProcess(_process); |
| | | //} |
| | | |
| | | dockFrm.SetLoginStatus(IsLogin); |
| | | |