MedicineJXC/门店收货登记.cs

(开头部分) 18KB

这里只显示每个文件的开头 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;

namespace MedicineJXC
{
    public partial class 门店收货登记 : Form
    {
        public 门店收货登记()
        {
            InitializeComponent();
        }

        private void buttonItem5_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void buttonItem1_Click(object sender, EventArgs e)
        {
            if (this.txt产地.Text.Trim() == "")
            {
                MessageBox.Show("产地不能为空!", "提示");
                this.txt产地.Focus();
                errorProvider1.SetError(this.txt产地, "提示");
                return;

            }
            else
            {

                errorProvider1.SetError(this.txt产地, "");

            }
            if (this.txt单位.Text.Trim() == "")
            {
                MessageBox.Show("单位不能为空!", "提示");
                this.txt单位.Focus();
                errorProvider1.SetError(this.txt单位, "提示");
                return;

            }
            else
            {

                errorProvider1.SetError(this.txt单位, "");
            }

            if (this.txt合计金额.Text.Trim() == "")
            {
                MessageBox.Show("合计金额不能为空!", "提示");
                this.txt合计金额.Focus();
                errorProvider1.SetError(this.txt合计金额, "提示");
                return;

后面还有 462 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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