TjxxForm.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace 仓库条码管理系统
{
    public partial class TjxxForm : Form
    {
        public TjxxForm()
        {
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
            InitializeComponent();
            //最大化不遮住任务栏
            Size form = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
            this.MaximumSize = form;
        }     
        private void MarnFormcs_Load(object sender, EventArgs e)
        {
            //权限和名称
            lbl_leixin.Text = "[" + user.leixin + "]";
            lbl_name.Text = user.name;
            //时间   
            this.lbl_trim.Text = DateTime.Now.ToString();
        }
        /// <summary>
        /// 点击用户名
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void label1_Click(object sender, EventArgs e)
        {
           pand_link.Visible = false;     
        }
        /// <summary>
        /// 双击用户名
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void label1_DoubleClick(object sender, EventArgs e)
        {
            pand_link.Visible = true;
        }
        /// <summary>
        /// 退出
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            DialogResult dr = MessageBox.Show("是否确定要关闭?", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
            if (dr == DialogResult.OK)
            {
                Application.Exit();
后面还有 35 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。