Esempio n. 1
0
 public UnloadingPointThreadClass(MainForm form, CallBackDelegateWriteLog callBackDelegateWriteLog)
 {
     this.form = form;
     this.callBackDelegateWriteLog = callBackDelegateWriteLog;
 }
Esempio n. 2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            //this.chkSwitch.Checked = true;
            //当前日期
            this.dtCurrent = System.DateTime.Today;
            LogPathSub = dtCurrent.ToString("yyyyMM");
            //初始化托盘程序的各个要素
            InitializeNotifyIcon();
            this.AddLog("ASCM网络服务端程序启动...");
            mainForm = this;
            //this.dateTimePicker1.Enabled = this.radioButtonManual.Checked;

            //string server = "http://localhost:8537/";
            //string server = "http://10.16.9.42:83/";

            //MideaAscm.Client.DalInterface.AscmWsInterface.oWebProxy = oWebProxy;
            //MideaAscm.Client.DalInterface.AscmWsInterface.webSericeUrl = server + "AscmWebService.asmx";
        }