using DevExpress.CodeParser;
|
using DevExpress.XtraEditors;
|
using Yw;
|
using Yw.Dto;
|
using Yw.WinFrmUI;
|
|
namespace HStation.WinFrmUI.PBS
|
{
|
public partial class AddPlaceDlg : DevExpress.XtraEditors.XtraForm
|
{
|
public AddPlaceDlg()
|
{
|
InitializeComponent();
|
this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon;
|
this.generalOkAndCancelCtrl1.OkEvent += GeneralOkAndCancelCtrl1_OkEvent; ;
|
}
|
|
public void SetBindingData(string placeType)
|
{
|
switch (placeType)
|
{
|
case "Build":
|
// 创建 BuildWizardForm 实例
|
BuildWizardForm buildWizardForm = new BuildWizardForm();
|
// 设置控件的 Dock 属性为 Fill
|
buildWizardForm.Dock = DockStyle.Fill;
|
// 将 BuildWizardForm 添加到 panelControl1 中
|
this.panelControl1.Controls.Add(buildWizardForm);
|
break;
|
/* case "":
|
break;
|
|
case "":
|
break;
|
|
case "":
|
break;*/
|
}
|
}
|
|
/// <summary>
|
/// 确定
|
/// </summary>
|
private void GeneralOkAndCancelCtrl1_OkEvent()
|
{
|
//var model= new
|
}
|
}
|
}
|