using DevExpress.XtraEditors;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Data;
|
using System.Drawing;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using System.Windows.Forms;
|
|
namespace Yw.WinFrmUI
|
{
|
public partial class SetWaterboxCalcuPrefixListCtrl : DevExpress.XtraEditors.XtraUserControl, Yw.WinFrmUI.IWizardPage<SetHydroCalcuPrefixViewModel>
|
{
|
public SetWaterboxCalcuPrefixListCtrl()
|
{
|
InitializeComponent();
|
}
|
|
private SetHydroCalcuPrefixViewModel _vm = null;
|
|
/// <summary>
|
/// 初始化页面
|
/// </summary>
|
public void InitialPage(SetHydroCalcuPrefixViewModel vm)
|
{
|
_vm = vm;
|
this.
|
}
|
|
//单独控件高度
|
private const int SingleContorlHeight = 145;
|
|
public bool AllowPrev
|
{
|
|
}
|
|
public bool AllowNext { get { return true; } }
|
|
public bool AllowCancel { get { return true; } }
|
|
public bool AllowComplete { get { return true; } }
|
|
public event Action PageStateChangedEvent;
|
|
|
|
public bool CanPrev()
|
{
|
return true;
|
}
|
|
public bool CanNext()
|
{
|
return true;
|
}
|
|
public bool CanCancel()
|
{
|
return true;
|
}
|
|
public bool CanComplete()
|
{
|
return true;
|
}
|
|
|
}
|
}
|