using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using CoreFS.CA06; namespace Core.Mes.Client.Comm.Control { public partial class FormFileDown : FrmBase { OpeBase ob = new OpeBase(); /// /// 客户编号 /// private string pic = ""; public string Pic { get { return pic; } set { pic = value; } } public Button DeleteButton { get { return ctrlFileDown1.Button3; } } public FormFileDown() { InitializeComponent(); } public FormFileDown(OpeBase ops, string pic) { this.ob = ops; this.pic = pic; InitializeComponent(); this.ctrlFileDown1.FileChangeEvent += ctrlFileDown1_FileChangeEvent; } void ctrlFileDown1_FileChangeEvent(string fileName) { this.Text = "文件浏览:" + fileName; } private void dlgOrderAskDown_Load(object sender, EventArgs e) { this.Cursor = Cursors.WaitCursor; ctrlFileDown1.FilePath = pic; this.Cursor = Cursors.Default; } } }