Esempio n. 1
0
        public override WindowOperationBase BeginOperation(Point wp)
        {
            var edge = GetWindowEdge(wp);

            if (edge == WindowEdge.None)
            {
                return(null);
            }

            var operation = new WindowScaler(this.window, edge);

            operation.Begin(wp);
            return(operation);
        }
Esempio n. 2
0
        public override WindowOperationBase BeginOperation(Point wp)
        {
            var edge = GetWindowEdge(wp);
            if (edge == WindowEdge.None)
            {
                return null;
            }

            var operation = new WindowScaler(this.window, edge);
            operation.Begin(wp);
            return operation;
        }