StaticClass.cs_1118

来源:互联网 发布:淘宝代理怎么一起下单 编辑:程序博客网 时间:2024/05/09 00:08
 

using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace ComputerDropDragControl
{
    public static class StaticClass
    {
        private static PanelDragDropTarget dragPanel;
        public static PanelDragDropTarget DragPanel
        {
            get
            {
                return dragPanel;
            }
            set
            {
                dragPanel = value;
                //MessageBox.Show("helloSet!");
            }
        }

        private static ListBoxDragDropTarget dragPanelList;
        public static ListBoxDragDropTarget DragPanelList
        {
            get
            {
                return dragPanelList;
            }
            set
            {
                dragPanelList = value;
            }
        }

        private static ListBoxDragDropTarget drogPanelList;
        public static ListBoxDragDropTarget DrogPanelList
        {
            get
            {
                return drogPanelList;
            }
            set
            {
                drogPanelList = value;
            }
        }

        private static PanelDragDropTarget dropPanel;
        public static PanelDragDropTarget DropPanel
        {
            get
            {
                return dropPanel;
            }
            set
            {
                dropPanel = value;
                //MessageBox.Show("dropPanel!");
            }
        }

        private static bool fromList;
        public static bool FromList
        {
            get
            {
                return fromList;
            }
            set
            {
                fromList = value;
            }
        }

        private static bool existPlace;
        public static bool ExistPlace
        {
            get
            {
                return existPlace;
            }
            set
            {
                existPlace = value;
            }
        }

        public static bool DropInHandCar { get; set; }
        public static bool DropInRecyle { get; set; }
        public static bool FromHandCar { get; set; }

        public static ComputerUnit CUStatic { get; set; }
        public static UIElement ProgressBarStatic { get; set; }


        //private static List<ListBoxItem> handCarList = new List<ListBoxItem>();
        //public static List<ListBoxItem> HandCarList
        //{
        //    get
        //    {
        //        return handCarList;
        //    }
        //    set
        //    {
        //        handCarList = value;
        //    }
        //}
    }
}

原创粉丝点击