You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.0 KiB
39 lines
1.0 KiB
using KGIS.Framework.Utils; |
|
using System; |
|
using System.Windows; |
|
|
|
namespace Kingo.Plugin.General.ViewDTBJK |
|
{ |
|
/// <summary> |
|
/// 返外业 的交互逻辑 |
|
/// </summary> |
|
public partial class UCFWYBZ : BaseWindow |
|
{ |
|
public string BZ { get; set; } |
|
public UCFWYBZ(string _bz) |
|
{ |
|
InitializeComponent(); |
|
this.txtBZ.Text = _bz; |
|
} |
|
|
|
private void BtnOk_Click(object sender, RoutedEventArgs e) |
|
{ |
|
try |
|
{ |
|
if (string.IsNullOrWhiteSpace(txtBZ.Text)) |
|
{ |
|
KGIS.Framework.Utils.Helper.MessageHelper.Show("返外业备注不能为空!"); |
|
return; |
|
} |
|
this.BZ = txtBZ.Text.Trim(); |
|
this.DialogResult = true; |
|
this.Close(); |
|
} |
|
catch (Exception ex) |
|
{ |
|
LogAPI.Debug(ex); |
|
KGIS.Framework.Utils.Helper.MessageHelper.ShowError(ex.Message); |
|
} |
|
} |
|
} |
|
}
|
|
|