Form_menu_1_2.cs

(开头部分) 5KB

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

using System;
using System.Drawing;
using System.Windows.Forms;

namespace 城市天然气管道风险管理与决策系统
{
    public partial class Form_menu_1_2 : Form
    {
        public Form_menu_1_2()
        {
            InitializeComponent();
        }

        private void skinButton3_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void skinButton1_Click(object sender, EventArgs e)
        {
            textBox10.ReadOnly = false;
            textBox5.ReadOnly = false;
            textBox6.ReadOnly = false;
            textBox7.ReadOnly = false;
            textBox8.ReadOnly = false;
            textBox9.ReadOnly = false;
            richTextBox1.ReadOnly = false;
            textBox11.ReadOnly = false;
            textBox12.ReadOnly = false;
        }

        private void Form_menu_1_2_Load(object sender, EventArgs e)
        {
            textBox1.ReadOnly = true;
            textBox2.ReadOnly = true;
            textBox3.ReadOnly = true;
            textBox4.ReadOnly = true;
            textBox5.ReadOnly = true;
            textBox6.ReadOnly = true;
            textBox7.ReadOnly = true;
            textBox8.ReadOnly = true;
            textBox9.ReadOnly = true;
            textBox10.ReadOnly = true;
            textBox11.ReadOnly = true;
            textBox12.ReadOnly = true;
            richTextBox1.ReadOnly = true;

            textBox1.Text = GlobalData.default_pipeline.Id.ToString();
            textBox2.Text = GlobalData.default_pipeline.Name;
            textBox4.Text = GlobalData.default_pipeline.StartLocation;
            textBox3.Text = GlobalData.default_pipeline.EndLocation;
            if (GlobalData.default_pipeline.Logo) comboBox1.SelectedIndex = 0;
            else comboBox1.SelectedIndex = 1;
            textBox5.Text = GlobalData.default_pipeline.DesignThick.ToString();
            textBox6.Text = GlobalData.default_pipeline.RealThick.ToString();
            textBox7.Text = GlobalData.default_pipeline.Diameter.ToString();
            textBox8.Text = GlobalData.default_pipeline.Material;
            textBox9.Text = GlobalData.default_pipeline.Coating;
            textBox10.Text = GlobalData.default_pipeline.FixTime.ToString();
            textBox11.Text = GlobalData.default_pipeline.AccidentTime.ToString();
后面还有 64 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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