コード例 #1
0
        private void Frm_Main_Buyde_Load(object sender, EventArgs e)
        {
            //toolStrip1.ForeColor = Color.Transparent;

            Frm_Login f = new Frm_Login();

            Icon = f.Icon;

            //添加头像
            tjtx(sender, e);

            //Frm_LiuLanComPa ff = new Frm_LiuLanComPa();
            //create_window("Frm_LiuLanCom", ff);

            tolab_UserName.Text = love.denglu_username == string.Empty ? "欢迎 b " : "欢迎 " + love.denglu_username + " 回来";
            time.Enabled        = true;
            tolab_dltime.Text   = "登陆时间:" + DateTime.Now.ToString();
            time.Tick          += new EventHandler(time_Tick);
            //locx = pan_windows.Location.X;
            //locy = pan_windows.Location.Y;

            //love.meihua(this);
            Frm_LiuLanComDat fff = new Frm_LiuLanComDat();

            fff.Dock = DockStyle.Fill;
            create_window("Frm_LiuLanComDat", fff);

            //写上余额
            sxje(sender, e);
            //库存
        }
コード例 #2
0
        private void tobtn_liulanshangping_Click(object sender, EventArgs e)//点击了浏览商品的按钮
        {
            Frm_LiuLanComDat f = new Frm_LiuLanComDat();

            create_window("Frm_LiuLanComDat", f);
        }