• 大小: 0.13M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-25
  • 语言: C#
  • 标签: 实例  RTX  

资源简介

获取企业信息

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using RTXSAPILib;
using System.Runtime.InteropServices;


namespace RootObj
{
    public partial class GetEnterpriseInfofrm : Form
    {
        RTXSAPILib.RTXSAPIRootObj RootObj;  //声明一个根对象

        public GetEnterpriseInfofrm()
        {
            InitializeComponent();
            RootObj = new RTXSAPIRootObj();     //创建根对象

        }

        private void btnGetEnterpriseInfo_Click(object sender EventArgs e)
        {
            try
            {
                RootObj.ServerIP = txtSvrIP.Text; //设置服务器IP
                RootObj.ServerPort = Convert.ToInt16(txtSvrPort.Text); //设置服务器端口
                txtResult.Text = RootObj.GetEnterpriseInfo(); //获取企业信息
            }
            catch (COMException xe)
            {
                MessageBox.Show(xe.Message);
            }
     

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      61440  2010-10-19 16:35  RootObj\bin\Debug\Interop.RTXSAPILib.dll

     文件      45056  2010-10-19 17:04  RootObj\bin\Debug\RootObj.exe

     文件      95744  2010-10-19 17:04  RootObj\bin\Debug\RootObj.pdb

     文件       5632  2005-12-08 14:51  RootObj\bin\Debug\RootObj.vshost.exe

     文件       1044  2009-03-16 09:44  RootObj\GetEnterpriseInfofrm.cs

     文件       5402  2007-04-06 10:37  RootObj\GetEnterpriseInfofrm.Designer.cs

     文件       5814  2007-04-06 10:37  RootObj\GetEnterpriseInfofrm.resx

     文件       1039  2009-03-16 09:44  RootObj\GetRightInfofrm.cs

     文件       6336  2007-03-25 16:47  RootObj\GetRightInfofrm.Designer.cs

     文件       5814  2007-03-25 16:47  RootObj\GetRightInfofrm.resx

     文件       1061  2009-03-16 09:44  RootObj\GetUserRightListfrm.cs

     文件       6404  2007-03-25 16:59  RootObj\GetUserRightListfrm.Designer.cs

     文件       5814  2007-03-25 16:59  RootObj\GetUserRightListfrm.resx

     文件       1013  2009-03-16 09:44  RootObj\GetVersionfrm.cs

     文件       5246  2007-03-25 16:59  RootObj\GetVersionfrm.Designer.cs

     文件       5814  2007-03-25 16:59  RootObj\GetVersionfrm.resx

     文件       1113  2010-10-19 17:04  RootObj\KickOutUserfrm.cs

     文件       4138  2010-10-19 16:40  RootObj\KickOutUserfrm.Designer.cs

     文件       5814  2010-10-19 16:40  RootObj\KickOutUserfrm.resx

     文件       1236  2010-10-19 16:38  RootObj\LoginAuthfrm.cs

     文件       6247  2010-10-19 16:38  RootObj\LoginAuthfrm.Designer.cs

     文件       5814  2010-10-19 16:38  RootObj\LoginAuthfrm.resx

     文件       2413  2010-10-19 16:41  RootObj\Mainframe.cs

     文件      11050  2010-10-19 16:36  RootObj\Mainframe.Designer.cs

     文件       5814  2010-10-19 16:36  RootObj\Mainframe.resx

     文件      61440  2010-10-19 16:35  RootObj\obj\Debug\Interop.RTXSAPILib.dll

     文件       1707  2010-10-19 16:40  RootObj\obj\Debug\RootObj.csproj.GenerateResource.Cache

     文件        511  2010-10-19 16:35  RootObj\obj\Debug\RootObj.csproj.ResolveComReference.cache

     文件      45056  2010-10-19 17:04  RootObj\obj\Debug\RootObj.exe

     文件        180  2010-10-19 16:40  RootObj\obj\Debug\RootObj.GetEnterpriseInfofrm.resources

............此处省略47个文件信息

评论

共有 条评论