public CatTree(WPwd wPwd, DataModel dataModel) { _WPwd = wPwd; _DataModel = dataModel; InitializeComponent(); }
public LogViewer(WPwd wPwd) { _WPwd = wPwd; InitializeComponent(); this.Icon = Me.Amon.Properties.Resources.Icon; }
public WWiz(WPwd wPwd, UserModel userModel, SafeModel safeModel) { _WPwd = wPwd; _UserModel = userModel; _SafeModel = safeModel; InitializeComponent(); }
public void Init(WPwd wPwd, UserModel userModel, SafeModel safeModel, DataModel dataModel, ViewModel viewModel) { _WPwd = wPwd; _UserModel = userModel; _SafeModel = safeModel; _DataModel = dataModel; _ViewModel = viewModel; _LastIndex = -1; _DataList = new DataTable(); _DataList.Columns.Add("Order", typeof(string)); _DataList.Columns.Add("Name", typeof(Att)); OrderCol.DataPropertyName = "Order"; ValueCol.DataPropertyName = "Name"; GvAttList.AutoGenerateColumns = false; GvAttList.DataSource = _DataList; _CmpList = new Dictionary<int, IAttEditer>(Att.TYPE_SIZE + 2); BtFill.Image = _ViewModel.GetImage("script-fill-16"); _WPwd.ShowTips(BtFill, "填充"); BtSave.Image = _ViewModel.GetImage("att-save"); _WPwd.ShowTips(BtSave, "保存属性"); BtDrop.Image = _ViewModel.GetImage("att-drop"); _WPwd.ShowTips(BtDrop, "移除属性"); }
public void Init(WPwd wPwd, SafeModel safeModel, DataModel dataModel) { _WPwd = wPwd; _SafeModel = safeModel; }
public void Init(WPwd wPwd, UserModel userModel, SafeModel safeModel, DataModel dataModel, ViewModel viewModel) { _WPwd = wPwd; _UserModel = userModel; _SafeModel = safeModel; _DataModel = dataModel; _ViewModel = viewModel; }