示例#1
0
 private void frmRemoveTheSuit_Load(object sender, EventArgs e)
 {
     SLbAccID.Text   = iLoginEx.AccID();                                    //固定格式
     SLbAccName.Text = iLoginEx.AccName();                                  //固定格式
     SLbServer.Text  = iLoginEx.DBServerHost();                             //固定格式
     SLbYear.Text    = iLoginEx.iYear();                                    //固定格式
     SLbUser.Text    = iLoginEx.UserId() + "[" + iLoginEx.UserName() + "]"; //固定格式
     dgvLoadInfo();
 }
示例#2
0
        private void frmEndless_Load(object sender, EventArgs e)
        {
            SLbAccID.Text   = iLoginEx.AccID();
            SLbAccName.Text = iLoginEx.AccName();
            SLbServer.Text  = iLoginEx.DBServerHost();
            SLbYear.Text    = iLoginEx.iYear();
            SLbUser.Text    = iLoginEx.UserId() + "[" + iLoginEx.UserName() + "]";

            this.tssldateTime.Text = "当前时间:" + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss.fff");
            this.tirTime.Interval  = 1;
            this.tirTime.Start();//backups
        }
示例#3
0
        private void frmSoAddInfo_Load(object sender, EventArgs e)
        {
            this.Text += "  " + System.Windows.Forms.Application.ProductVersion;

            SLbAccID.Text    = iLoginEx.AccID();
            SLbAccName.Text  = iLoginEx.AccName();
            SLbServer.Text   = iLoginEx.DBServerHost();
            SLbYear.Text     = iLoginEx.iYear();
            SLbUser.Text     = iLoginEx.UserId() + "[" + iLoginEx.UserName() + "]";
            txtCinvcode.Text = Cinvcode;
            txtCsocode.Text  = Csocode;
            lblnum.Text      = Siquantity.ToString();

            LoadDataGridView();
        }
示例#4
0
        public frmPUR442Main(string[] args)
        {
            try
            {
                InitializeComponent();

                //37:442-到货单查询(按请购单分类)
                iLoginEx.Initialize(args, AuthID);//必须先初始化LoginEx
                SLbAccID.Text   = iLoginEx.AccID();
                SLbAccName.Text = iLoginEx.AccName();
                SLbServer.Text  = iLoginEx.DBServerHost();
                SLbYear.Text    = iLoginEx.iYear();
                SLbUser.Text    = iLoginEx.UserId() + "[" + iLoginEx.UserName() + "]";
            }
            catch (Exception ex)
            {
                frmMessege frmmsg = new frmMessege(ex.ToString(), "frmPUR442Main()");
                frmmsg.ShowDialog(this);
            }
        }
示例#5
0
        public FrmMCoding(string[] args)
        {
            try
            {
                InitializeComponent();


                iLoginEx.Initialize(args, AuthID);//必须先初始化LoginEx  //固定格式


                SLbAccID.Text   = iLoginEx.AccID();                                    //固定格式
                SLbAccName.Text = iLoginEx.AccName();                                  //固定格式
                SLbServer.Text  = iLoginEx.DBServerHost();                             //固定格式
                SLbYear.Text    = iLoginEx.iYear();                                    //固定格式
                SLbUser.Text    = iLoginEx.UserId() + "[" + iLoginEx.UserName() + "]"; //固定格式
            }
            catch (Exception ex)
            {
                frmMessege frmmsg = new frmMessege(ex.ToString(), "Form1()");
                frmmsg.ShowDialog(this);
            }
        }