Exemplo n.º 1
0
 private IUISubWnd GetSubWnd(MentorshipSubWndType wndType)
 {
     foreach (IUISubWnd wnd in m_SubWndList)
     {
         if (wnd.GetWndType() == (int)wndType)
         {
             return(wnd);
         }
     }
     return(null);
 }
Exemplo n.º 2
0
 private void ShowSubWnd(MentorshipSubWndType wndType)
 {
     foreach (IUISubWnd wnd in m_SubWndList)
     {
         if (wnd.GetWndType() == (int)wndType)
         {
             wnd.SetVisible(true);
         }
         else
         {
             wnd.SetVisible(false);
         }
     }
     m_CurrentWndType = wndType;
 }