Exemplo n.º 1
0
        public PipeWindow(string pipename)
        {
            InitializeComponent();
            if (pipename == null || pipename.Length <= 0)
            {
                return;
            }
            this.Title = pipename + "管道信息";

            BaseInfoControl infopage = new BaseInfoControl(pipename, new Notify(this));

            this.basicmsgpanel.Children.Add(infopage);

            PicControl picpage = new PicControl(pipename);

            this.picpanel.Children.Add(picpage);

            ReportControl reportpage = new ReportControl(pipename);

            this.reportpanel.Children.Add(reportpage);
            VideoControl videopage = new VideoControl(pipename);

            this.videopanel.Children.Add(videopage);

            AnimationUtil.ScaleEasingAnimation(this);
        }
Exemplo n.º 2
0
        public PipeWindow(string pipename)
        {
            InitializeComponent();
            if (pipename == null || pipename.Length <= 0) return;
            this.Title = pipename + "管道信息";

            BaseInfoControl infopage = new BaseInfoControl(pipename , new Notify(this));
            this.basicmsgpanel.Children.Add(infopage);

            PicControl picpage = new PicControl(pipename);
            this.picpanel.Children.Add(picpage);

            ReportControl reportpage = new ReportControl(pipename);
            this.reportpanel.Children.Add(reportpage);
            VideoControl videopage = new VideoControl(pipename);
            this.videopanel.Children.Add(videopage);

            AnimationUtil.ScaleEasingAnimation(this);
        }