Пример #1
0
        public override object Execute(object p_args)
        {
            DelRptItemArgs args = (DelRptItemArgs)p_args;

            args.Container.Items.Remove(args.RptItem);
            return(null);
        }
Пример #2
0
        void OnDelMtx(object sender, RoutedEventArgs e)
        {
            DelRptItemArgs delArgs = new DelRptItemArgs(_matrix);

            Info.ExecuteCmd(RptCmds.DelRptItemCmd, delArgs);
        }
Пример #3
0
        public override void Undo(object p_args)
        {
            DelRptItemArgs args = (DelRptItemArgs)p_args;

            args.Container.Items.Add(args.RptItem);
        }