字符串未合并 [英] Strings not merging

查看:141
本文介绍了字符串未合并的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,这是我在codeproject上的第一篇文章,所以请原谅任何格式错误.

我正在尝试为Robocopy和最终7z创建gui应用程序.昨晚我得到了我的代码,并且应用程序运行良好.今天,我创建了一个新项目,以利用我下载的一些新的devexpress组件.我还想编写一些更聪明的代码.

这是文件的链接(我知道form1.cs太乱了)
压缩文件

所以这是我的问题,在form1.cs中,每当我尝试组合两个字符串时,只会出现一个,这是我最近选择的一个.例如,如果我选择来源和目的地,则只会显示目的地.如果我选择来源,则只会显示来源

但是,在robocopy.cs中工作正常,该应用程序将按照我想要的方式运行,

Alright, This is my first post on codeproject, so excuse any errors in format please.

I am trying to create a gui application for Robocopy and eventually 7z. Last night I got my code to work and the application ran fine. Today I created a new project to make use of some new devexpress components I downloaded. I also wanted to do some smarter code.

here are the links to the files (I know, form1.cs is very messy)
zipfile

So heres my problem, in form1.cs whenever i try to combine the two strings, only one will come up, the one that i have most recently selected. for example if i choose source and destination, only destination will show up. if i choose source, only source will show up

However, in robocopy.cs it works fine, the application will run just how i want it,

推荐答案

调用
dest_select.ShowDialog();


在您的Form1 dest_button_Click事件中.


in your Form1 dest_button_Click event.


这篇关于字符串未合并的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆