标题:程序运行在交换时不能显示,寻求语句问题
取消只看楼主
编程要有思想
Rank: 1
等 级:新手上路
威 望:1
帖 子:28
专家分:1
注 册:2013-10-10
结帖率:0
 问题点数:0 回复次数: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 textBox1_TextChanged(object sender, EventArgs e)
        {
            String x =textBox1.Text;
           
        }
      

        private void textBox2_TextChanged(object sender, EventArgs e)
        {
            String y = textBox2.Text;
           
        }

        private void button1_Click(object sender, EventArgs e)
        {
            String z;
            String x = textBox1.Text;
            String y = textBox2.Text;
            z = x;
            x = y;
            y = z;
            this.listBox1.Text =x;
        }

        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

      

      
    }
}

搜索更多相关主题的帖子: private public 
2013-10-13 12:16
编程要有思想
Rank: 1
等 级:新手上路
威 望:1
帖 子:28
专家分:1
注 册:2013-10-10
得分:0 
求各位看一下啦!在运行时,文本框里始终不显示内容,
2013-10-13 12:54
编程要有思想
Rank: 1
等 级:新手上路
威 望:1
帖 子:28
专家分:1
注 册:2013-10-10
得分:0 
回复 4楼 小xin
visual studio 2010
2013-10-28 13:11



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-421821-1-1.html




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

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