Ejemplo n.º 1
0
        public CatTree(WPwd wPwd, DataModel dataModel)
        {
            _WPwd = wPwd;
            _DataModel = dataModel;

            InitializeComponent();
        }
Ejemplo n.º 2
0
        public LogViewer(WPwd wPwd)
        {
            _WPwd = wPwd;

            InitializeComponent();

            this.Icon = Me.Amon.Properties.Resources.Icon;
        }
Ejemplo n.º 3
0
Archivo: WWiz.cs Proyecto: burstas/rmps
        public WWiz(WPwd wPwd, UserModel userModel, SafeModel safeModel)
        {
            _WPwd = wPwd;
            _UserModel = userModel;
            _SafeModel = safeModel;

            InitializeComponent();
        }
Ejemplo n.º 4
0
Archivo: WPro.cs Proyecto: burstas/rmps
        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, "移除属性");
        }
Ejemplo n.º 5
0
Archivo: APad.cs Proyecto: burstas/rmps
 public void Init(WPwd wPwd, SafeModel safeModel, DataModel dataModel)
 {
     _WPwd = wPwd;
     _SafeModel = safeModel;
 }
Ejemplo n.º 6
0
 public void Init(WPwd wPwd, UserModel userModel, SafeModel safeModel, DataModel dataModel, ViewModel viewModel)
 {
     _WPwd = wPwd;
     _UserModel = userModel;
     _SafeModel = safeModel;
     _DataModel = dataModel;
     _ViewModel = viewModel;
 }