Exemple #1
0
        public ActPBControlEditPage(GingerCore.Actions.ActPBControl Act)
        {
            InitializeComponent();

            mAct = Act;

            GingerCore.General.FillComboFromEnumObj(ActionNameComboBox, mAct.ControlAction);
            //TODO: fix hard coded
            GingerCore.GeneralLib.BindingHandler.ObjFieldBinding(ActionNameComboBox, ComboBox.TextProperty, Act, ActPBControl.Fields.ControlAction);
        }
        public ActPBControlEditPage(GingerCore.Actions.ActPBControl Act)
        {
            InitializeComponent();

            mAct = Act;

            App.FillComboFromEnumVal(ActionNameComboBox, mAct.ControlAction);
            //TODO: fix hard coded
            App.ObjFieldBinding(ActionNameComboBox, ComboBox.TextProperty, Act, ActPBControl.Fields.ControlAction);
        }