| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 401 人关注过本帖
标题:求谁能够完善
只看楼主 加入收藏
编程要有思想
Rank: 1
等 级:新手上路
威 望:1
帖 子:28
专家分:1
注 册:2013-10-10
结帖率:0
收藏
已结贴  问题点数:10 回复次数:2 
求谁能够完善
using System;
using System.Collections.Generic;
using
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace 综合训练
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
        }
       private void button2_Click(object sender, EventArgs e)
        {
            String strmsg = "";
            strmsg += "您输入了如下信息:\r\n";
            strmsg += groupBox1.Text + ":+\r\n";
            strmsg += groupBox5.Text + ":+\r\r";
            strmsg += groupBox7.Text + ":+\r\r";
            if (checkedListBox1.CheckedItems.Count != 0)
            {
                int i;
                String s = "";
                for (i = 0; i <= checkedListBox1.CheckedItems.Count - 1; i++)
                {
                    if (i > 0)
                        s += ",";
                    s += Convert.ToString(checkedListBox1.CheckedItems[i]);
                }
                strmsg += groupBox3.Text + ":" + s + "\r\n";
                MessageBox.Show(strmsg);
            }
        }
      


           /* private void button1_Click(object sender, EventArgs e)
        {
            this.openFileDialog1.Filter = "JPG文件(*.JPG)|*JPG";
            this.openFileDialog1.FilterIndex = 1;
            this.openFileDialog1.InitialDirectory = "..\\"; //  .当前目录  ..上级目录
            if (this.openFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK)
            {
                try
                {
                    pictureBox1.Load(openFileDialog1.FileName);  //动态加载
                }
                catch (Exception ex)
                {
                    MessageBox.Show(Convert.ToString(ex));

                }
            }
            }*/

        private void textBox5_TextChanged(object sender, EventArgs e)
        {
        
        }

        private void progressBar1_Click(object sender, EventArgs e)
        {
        
        }

        private void numericUpDown1_ValueChanged(object sender, EventArgs e)
        {
           this.numericUpDown1.TabIndex=3000;
        }

        private void button3_Click(object sender, EventArgs e)
        {
             Application.Exit();
        }

      /*  private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
              comboBox2.Text = "";
            switch(comboBox1.SelectedIndex){
            case0:
            comboBox2.Items.Clear();
             comboBox2.Items.Add("教授");
              comboBox2.Items.Add("副教授");
              comboBox2.Items.Add("讲师");

            case1:
            comboBox2.Items.Add("局级");
              comboBox2.Items.Add("外级");
              comboBox2.Items.Add("科级");
             comboBox2.Items.Add("职员");


            case2:
                 comboBox2.Items.Add("高级工程师");
             comboBox2.Items.Add("工程师");
             comboBox2.Items.Add("技术员");
             comboBox2.Items.Add("工人");
            break;
        }*/

               }
        }
 
 
      


   
   
搜索更多相关主题的帖子: private public 
2013-11-21 18:13
芥末小弟
Rank: 2
来 自:北京
等 级:论坛游民
帖 子:58
专家分:92
注 册:2013-1-19
收藏
得分:5 
这个只是后台吧?

开发者。。
QQ:690591637
2013-11-22 17:44
qw1161748579
Rank: 4
来 自:南充
等 级:业余侠客
威 望:1
帖 子:48
专家分:252
注 册:2013-9-23
收藏
得分:5 
这是什么啊
2013-11-22 17:44
快速回复:求谁能够完善
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.030622 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved