コード例 #1
0
 public void Show(UCFregments fregment, Dao.SuperDao dao)
 {
     ISuperBusiness next = _businesses.Find(b => b.Code == fregment);
     if (next == null) return;
     next.SetParent(_currentBusiness);
     _currentBusiness = next;
     _currentBusiness.Show();
     _currentBusiness.Load(dao);
 }
コード例 #2
0
 public void Back()
 {
     if (_currentBusiness == null || _currentBusiness.Parent == null) return;
     _currentBusiness.Hide();
     _currentBusiness = _currentBusiness.Parent;
     if (_currentBusiness.Code == UCFregments.Container)
     {
         ReqWebSocket.Instance.Close();
         _currentBusiness.Load(null);
         Show(UCFregments.Login, null);
     }
 }
コード例 #3
0
ファイル: BusiLogin.cs プロジェクト: WinHuStudio/demo4winform
 public virtual void SetParent(ISuperBusiness parent)
 {
     _parent = parent;
 }