Ejemplo n.º 1
0
        public string VdaSwitchForm(int formType)
        {
            MyLog4Net.Container.Instance.Log.Debug("COMLibrary VdaSwitchForm ");

            if (!m_isInited)
            {
                return(MakeRetMsg(-1, "未初始化"));
            }

            bool ret = OcxMain.SwitchWnd((E_SWITCH_WND)formType);

            if (ret)
            {
                MyLog4Net.Container.Instance.Log.Debug("COMLibrary finish VdaSwitchForm ");
                return(MakeRetMsg(0, ""));
            }
            else
            {
                MyLog4Net.Container.Instance.Log.Debug("COMLibrary finish VdaSwitchForm error :ret=[-1] 用户未登录");
                return(MakeRetMsg(-1, "用户未登录"));
            }
        }
Ejemplo n.º 2
0
 private void buttonItem1_Click(object sender, EventArgs e)
 {
     c.SwitchWnd(DataModel.E_SWITCH_WND.SWITCH_WND_USER_MENAGEMENT);
 }