public wfrm_User_Frame(ServerAPI serverAPI,DataRow dr)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            m_ServerAPI = serverAPI;

            m_wfrm_User_General = new wfrm_User_General(serverAPI,dr);
            m_wfrm_User_Pop3Rem = new wfrm_User_Pop3Rem(serverAPI,dr["UserName"].ToString());

            wTab1.AddTab(m_wfrm_User_General, "General");
            wTab1.AddTab(m_wfrm_User_Pop3Rem, "Pop3 remote accounts");
            wTab1.SelectFirstTab();
        }
        public wfrm_User_Frame(ServerAPI serverAPI,string domainID)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            m_ServerAPI = serverAPI;

            m_wfrm_User_General = new wfrm_User_General(serverAPI,domainID);
            m_wfrm_User_Pop3Rem = new wfrm_User_Pop3Rem(serverAPI,"xxxx_afafaftwwt_sgs"); // set dummy username

            wTab1.AddTab(m_wfrm_User_General, "General");
            wTab1.AddTab(m_wfrm_User_Pop3Rem, "Pop3 remote accounts");
            wTab1.SelectFirstTab();

            m_New = true;
        }