RF_Wince1/RF_Client/Backup1/FormMain.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Zqm.CommBase;
using Zqm.DBCommInfo;
using System.Net.Sockets;
namespace RF_Client
{
public partial class FormMain : Form
{
//public string DeptId = "";
//public string DeptName = "";
//public string UserId = "";
//public string UserName = "";
//public string UserType = "一般用户";
//public string WebserviceUrl = "http://172.20.137.45/WMSSERVICE/WebService/";
public App.WMSAppInfoCE AInfo;
public App.WMSUserInfo uInfo;
public Socket SktClient = null;
SunEast.CE.SeDBClientForCE dbclt = null;
public FormMain()
{
InitializeComponent();
}
private void miClose_Click(object sender, EventArgs e)
{
DialogResult a=new DialogResult();
//a=MessageBox.Show("", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1);
a = MyTools.MessageBoxByOkCancel("真的要退出吗?");
if (a == DialogResult.OK)
{
this.Close();
}
}
private void FormMain_Load(object sender, EventArgs e)
{
//
//WebserviceUrl = "http://172.16.2.59:1886/RF_Web/WebService/";
string sErr = "";
if (dbclt == null)
dbclt = new SunEast.CE.SeDBClientForCE();
dbclt.ConfigPath = AInfo.AppPath;
string sFile = System.IO.Path.Combine(AInfo.AppPath, AInfo.AppConfigFile);
dbclt.ReadConfigInfo(sFile, out sErr);
if (sErr.Trim() != "" && sErr.Trim() != "0")
{
MyTools.MessageBox(sErr);
Close();
Application.Exit();
return;
}
//打开连接
后面还有 236 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
