This view is meant to be a view that covers an entire window It doesn't do much more than exist the size of the window And has the opportunity to act as the containing view for a bunch of drawing.
Inheritance: NewTOAPIA.UI.ActiveArea
Exemple #1
0
        void CreatePanels()
        {
            fPLCSoftwareView = new PLCSoftwareView();
            //fPLCSoftwareView.Window = this;

            fPLCHardwareView = new PLCHardwareView();
            //fPLCHardwareView.Window = this;

            fPLCITView = new PLCITView();
            //fPLCITView.Window = this;

            //fPLCView = fPLCITView;
            //fPLCView = fPLCHardwareView;
            fPLCView = fPLCSoftwareView;
            //AddGraphic(fPLCView);
        }
Exemple #2
0
        public void SwitchToView(PLCView srcView)
        {
            // First, if there is an existing graphic, remove
            // it before doing anything else.
            //if (fPLCView != null)
            //    RemoveGraphic(fPLCView);

            // If there is no current view, then just display
            // immediately
            if (fPLCView == null)
            {
                fPLCView = srcView;
                //this.AddGraphic(fPLCView);
            }

            // If the view is blank, then don't do any further processing
            if (srcView == null)
                return;

            // Now cross fade from the destination to the source
            //ImageTransition transition = new UnCoverDown(null, null, System.Drawing.Rectangle.Empty, 0.33);  // Not working
            //ImageTransition transition = new CrossFade(null, null, Rectangle.Empty, 0.5);
            //ImageTransition transition = new PushDown(null, null, Rectangle.Empty, 0.5);
            //ImageTransition transition = new PushUp(null, null, Rectangle.Empty, 0.5);
            //ImageTransition transition = new PushLeft(null, null, Rectangle.Empty, 0.5);
            //ImageTransition transition = new PushRight(null, null, Rectangle.Empty, 0.5);
            //ImageTransition transition = new CoverDown(null, null, Rectangle.Empty, 1.0);
            //ImageTransition transition = new CoverUp(null, null, Rectangle.Empty, 1.0);                       // Not working
            //ImageTransition transition = new CoverLeft(null, null, Rectangle.Empty, 0.33);
            //ImageTransition transition = new CoverRight(null, null, Rectangle.Empty, 0.33);
            //ImageTransition transition = new WipeDown(null, null, Rectangle.Empty, 1.0);
            //ImageTransition transition = new WipeUp(null, null, Rectangle.Empty, 0.5);                    // Not working
            //ImageTransition transition = new WipeLeft(null, null, Rectangle.Empty, 0.33);
            //ImageTransition transition = new WipeRight(null, null, Rectangle.Empty, 0.5);

            ImageTransition transition = srcView.PreferredTransition;

            //AnimateViewTransition(fPLCView, srcView, transition);

            fPLCView = srcView;
            //this.AddGraphic(fPLCView);
        }
		public HardwareDataBinder(PLCView aView)
			:base(aView)
		{}
Exemple #4
0
		public ITDataBinder(PLCView aView)
			: base(aView)
		{ }