Пример #1
0
        private void barBtnItemRecode_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            string sIDLSavPath = FileManage.getApplicatonPath();

            sIDLSavPath = sIDLSavPath + "IDLSav\\recode.sav";
            COM_IDL_connectLib.COM_IDL_connectClass oCom = new COM_IDL_connectLib.COM_IDL_connectClass();
            //初始化
            oCom.CreateObject(0, 0, 0);
            oCom.ExecuteString("restore,\'" + sIDLSavPath + "\'");
            oCom.ExecuteString("RECODE");
            CodeListXtraForm clxf = new CodeListXtraForm();

            clxf.ShowDialog();
        }
Пример #2
0
 private void barBtnItemRecode_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     string sIDLSavPath = FileManage.getApplicatonPath();
     sIDLSavPath = sIDLSavPath + "IDLSav\\recode.sav";
     COM_IDL_connectLib.COM_IDL_connectClass oCom = new COM_IDL_connectLib.COM_IDL_connectClass();
     //初始化
     oCom.CreateObject(0, 0, 0);
     oCom.ExecuteString("restore,\'" + sIDLSavPath + "\'");
     oCom.ExecuteString("RECODE");
     CodeListXtraForm clxf = new CodeListXtraForm();
     clxf.ShowDialog();
 }