UserCustomFrm.cs

(开头部分) 1KB

这里只显示每个文件的开头 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 BOM
{
    public partial class UserCustomFrm : Form
    {

        public int Row
        {
            get;
            private set;
        }

        public int Col
        {
            get;
            private set;
        }

        public int BomCount
        {
            get;
            set;
        }

        public UserCustomFrm(int row,int col,int bom)
        {
            Row = row;
            Col = col;
            BomCount = bom;
            InitializeComponent();
        }

        public UserCustomFrm()
        {
            InitializeComponent();
        }

        private void OkBtn_Click(object sender, EventArgs e)
        {
            this.DialogResult = System.Windows.Forms.DialogResult.OK;
            Row = (int)RowNud.Value;
            Col = (int)ColNud.Value;
            BomCount = (int)BomNud.Value;
        }

        private void CanCleBtn_Click(object sender, EventArgs e)
        {
            this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
        }

        private void UserCustomFrm_Load(object sender, EventArgs e)
        {
后面还有 6 行代码,解锁后查看完整代码

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

AI 解读

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

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