예제 #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);
        }
예제 #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;
        }