zoukankan      html  css  js  c++  java
  • 2017-5-3 安装软件制作(爱钱软件)

     

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    
    namespace WindowsFormsApplication6
    {
        public partial class Form1 : Form
        {
            欢迎安装爱钱软件 F4 = null;
            public Form1(欢迎安装爱钱软件 f4)
            {
                InitializeComponent();
                F4 = f4;
            }
    
            private void button2_Click(object sender, EventArgs e)
            {
                Form2 f2 = new Form2(F4);
             
                f2.MdiParent = F4;
                f2.Parent = F4.panel1;
                f2.WindowState = FormWindowState.Maximized;
                f2.Show();
                this.Close();
            }
    
            private void button1_Click(object sender, EventArgs e)
            {
                saveFileDialog1.ShowDialog();
                textBox1.Text = saveFileDialog1.FileName;
            }
        }
    }

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    
    namespace WindowsFormsApplication6
    {
        public partial class Form2 : Form
        {
            欢迎安装爱钱软件 F4 = null;
            public Form2(欢迎安装爱钱软件 f4)
            {
                InitializeComponent();
                F4 = f4;
            }
    
            private void button1_Click(object sender, EventArgs e)
            {
                Form3 f3 = new Form3();
                f3.MdiParent =F4;
                f3.Parent = F4.panel1;
                f3.WindowState = FormWindowState.Maximized;
                f3.Show();
                this.Close();
            }
    
            private void checkBox1_CheckedChanged(object sender, EventArgs e)
            {
    
                if (checkBox1.Checked)
                {
                    button1.Enabled = true;
                }
                else
                {
                    button1.Enabled = false;
                }
            }
        }
    }

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    
    namespace WindowsFormsApplication6
    {
        public partial class Form3 : Form
        {
            public Form3()
            {
                InitializeComponent();
               
            }
        }
    }

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    
    namespace WindowsFormsApplication6
    {
        public partial class 欢迎安装爱钱软件 : Form
        {
            public 欢迎安装爱钱软件()
            {
                InitializeComponent();
            }
    
            private void Form4_Activated(object sender, EventArgs e)
            {
    
               
                Form1 f1 = new Form1(this);
                f1.MdiParent = this;
                f1.Parent = this.panel1;
                f1.WindowState = FormWindowState.Maximized;
                f1.Show();
            }
        }
    }
  • 相关阅读:
    log4net:ERROR XmlHierarchyConfigurator: Cannot find Property [File] to set object on [TF.Log.FileAppender]
    HTTP状态码总结
    基于.NET平台常用的框架整理
    WPF中查看PDF文件之MoonPdfLib类库
    查看操作系统报异常的地方
    VS 附加到进程 加载“附加进程”弹窗很慢
    C# for循环或者foreach往List中添加对象的时候前面的数据总被最后加入的覆盖
    方法的执行过程
    模拟IDE上的run过程
    Java动态加载
  • 原文地址:https://www.cnblogs.com/zhengqian/p/6807822.html
Copyright © 2011-2022 走看看