예제 #1
0
        public MainWindow()
        {
            InitializeComponent();

            ProCount();
            _visibilable = (Visibilable)this.FindResource("visi");

            ShowInTaskbar   = false;
            this.Topmost    = true;
            this.ResizeMode = ResizeMode.NoResize;

            WinHide wh = new WinHide(this);

            wh.BindEvent();

            this.MouseLeftButtonDown += MainWindow_MouseLeftButtonDown;

            _fileList = new FileList();
            _webList  = new WebList();

            _fileNameList = _fileList.GetList();
            _webbufflist  = _webList.GetWeblist();

            listbox1.ItemsSource   = _fileNameList;
            listboxWeb.ItemsSource = _webbufflist;
        }
예제 #2
0
        public MainWindow()
        {
            InitializeComponent();

            ProCount();
            visibilable = (Visibilable)this.FindResource("visi");

            ShowInTaskbar = false;
            this.Topmost  = true;

            winHide wh = new winHide(this);

            wh.start();
            this.MouseLeftButtonDown += MainWindow_MouseLeftButtonDown;

            gf = new FileList();

            buffList             = gf.GetList();
            listbox1.ItemsSource = buffList;
        }