protected void OnZoomChanged(MosaicWindowEventArgs args)
 {
     if (ZoomChanged != null)
     {
         ZoomChanged(this, args);
     }
 }
 protected void OnBlendingChanged(MosaicWindowEventArgs args)
 {
     if (BlendingChanged != null)
     {
         BlendingChanged(this, args);
     }
 }
 protected void OnMosaicLoaded(MosaicWindowEventArgs args)
 {
     if (MosaicLoaded != null)
     {
         MosaicLoaded(this, args);
     }
 }
 protected void OnUsingCorrelationsChanged(MosaicWindowEventArgs args)
 {
     if (UsingCorrelationsChanged != null)
     {
         UsingCorrelationsChanged(this, args);
     }
 }
 protected void OnSavingScreenShot(Graphics g, MosaicWindowEventArgs args)
 {
     if (SavingScreenShot != null)
     {
         SavingScreenShot(this, g, args);
     }
 }
Exemple #6
0
        void OnMosaicLoaded(MosaicWindow sender, MosaicWindowEventArgs args)
        {
            this.currentTile = null;
            this.Initialise();
            SetCorrelationForCombobox();
            this.tiledImageViewer.Reset();

            if (this.correlator != null && this.correlator.OptionPanel != null)
            {
                this.correlator.OptionPanel.Reset(this.correlator.MosaicInfo);
            }
        }
        void OnMosaicLoaded(MosaicWindow sender, MosaicWindowEventArgs args)
        {
            if (MosaicWindow.MosaicInfo.IsColour)
            {
                this.Enabled          = false;
                this.menuItem.Enabled = false;
            }
            else
            {
                this.Enabled          = true;
                this.menuItem.Enabled = true;
            }

            if (this.Active)
            {
                this.form.UpdateGraphForLoadedImage();
            }
        }
Exemple #8
0
 protected virtual void OnMosaicLoaded(MosaicWindowEventArgs args)
 {
 }
Exemple #9
0
 protected virtual void OnSavingScreenShot(Graphics g, MosaicWindowEventArgs args)
 {
 }
Exemple #10
0
 protected virtual void OnZoomChanged(MosaicWindowEventArgs args)
 {
 }
Exemple #11
0
 void OnUsingCorrelationsChanged(MosaicWindow sender, MosaicWindowEventArgs args)
 {
     this.useCorrelationCheckBox.Checked = sender.CorrelationEnabled;
 }
Exemple #12
0
        /*
        public Bitmap InfoBitmap
        {
            get
            {
                Bitmap bitmap = new Bitmap(this.Width, this.Height);

                // For DrawToBitmap to work the control needs to be visible.
                // To prevent the control flashing up when not visible
                // I hide the control beneith the image view.
                // I should draw the text on the panel and not use labels I guess.
                this.SendToBack();

                bool oldVisible = this.Visible;

                if (!this.Visible)
                    this.Visible = true;

                this.DrawToBitmap(bitmap, this.ClientRectangle);

                this.Visible = oldVisible;
                this.BringToFront();

                return bitmap;
            }
        }
        */
        protected override void OnMosaicLoaded(MosaicWindowEventArgs args)
        {
            if (MosaicWindow.MosaicInfo.MetaData.Count == 0)
            {
                this.Enabled = false;
                return;
            }

            CalculateScalebarSize();
        }
Exemple #13
0
 protected virtual void OnZoomChanged(MosaicWindowEventArgs args)
 {
 }
Exemple #14
0
 private void OnSavingScreenShot(MosaicWindow sender, Graphics g, MosaicWindowEventArgs e)
 {
     this.OnSavingScreenShot(g, e);
 }
Exemple #15
0
 private void OnMosaicLoaded(MosaicWindow sender, MosaicWindowEventArgs e)
 {
     this.OnMosaicLoaded(e);
 }
Exemple #16
0
 void OnUsingCorrelationsChanged(MosaicWindow sender, MosaicWindowEventArgs args)
 {
     this.useCorrelationCheckBox.Checked = sender.CorrelationEnabled;
 }
Exemple #17
0
 protected void OnBlendingChanged(MosaicWindowEventArgs args)
 {
     if (BlendingChanged != null)
         BlendingChanged(this, args);
 }
Exemple #18
0
 protected override void OnMosaicLoaded(MosaicWindowEventArgs args)
 {
     this.Enabled          = true;
     this.menuItem.Enabled = true;
 }
Exemple #19
0
 private void OnZoomChanged(MosaicWindow sender, MosaicWindowEventArgs e)
 {
     this.OnZoomChanged(e);
 }
Exemple #20
0
 protected override void OnSavingScreenShot(Graphics g, MosaicWindowEventArgs args)
 {
     //if (this.Active)
     //    g.DrawImage(this.infoControl.InfoBitmap, this.infoControl.Location);
 }
Exemple #21
0
 private void OnSavingScreenShot(MosaicWindow sender, Graphics g, MosaicWindowEventArgs e)
 {
     this.OnSavingScreenShot(g, e);
 }
Exemple #22
0
 protected void OnMosaicLoaded(MosaicWindowEventArgs args)
 {
     if (MosaicLoaded != null)
         MosaicLoaded(this, args);
 }
Exemple #23
0
 private void OnMosaicLoaded(MosaicWindow sender, MosaicWindowEventArgs e)
 {
     this.OnMosaicLoaded(e);
 }
Exemple #24
0
        void OnMosaicLoaded(MosaicWindow sender, MosaicWindowEventArgs args)
        {
            this.currentTile = null;
            this.Initialise();
            SetCorrelationForCombobox();
            this.tiledImageViewer.Reset();

            if (this.correlator != null && this.correlator.OptionPanel != null)
                this.correlator.OptionPanel.Reset(this.correlator.MosaicInfo);
        }
Exemple #25
0
 protected void OnSavingScreenShot(Graphics g, MosaicWindowEventArgs args)
 {
     if (SavingScreenShot != null)
         SavingScreenShot(this, g, args);
 }
Exemple #26
0
        void OnMosaicLoaded(MosaicWindow sender, MosaicWindowEventArgs args)
        {
            if (MosaicWindow.MosaicInfo.IsColour)
            {
                this.Enabled = false;
                this.menuItem.Enabled = false;
            }
            else
            {
                this.Enabled = true;
                this.menuItem.Enabled = true;
            }

            if(this.Active)
                this.form.UpdateGraphForLoadedImage();
        }
Exemple #27
0
 protected void OnUsingCorrelationsChanged(MosaicWindowEventArgs args)
 {
     if (UsingCorrelationsChanged != null)
         UsingCorrelationsChanged(this, args);
 }
Exemple #28
0
 private void OnZoomChanged(MosaicWindow sender, MosaicWindowEventArgs e)
 {
     this.OnZoomChanged(e);
 }
Exemple #29
0
 protected void OnZoomChanged(MosaicWindowEventArgs args)
 {
     if (ZoomChanged != null)
         ZoomChanged(this, args);
 }
Exemple #30
0
 protected virtual void OnMosaicLoaded(MosaicWindowEventArgs args)
 {
 }
 void OnBlendingChanged(MosaicWindow sender, MosaicWindowEventArgs args)
 {
     CreateOverview();
 }
Exemple #32
0
 protected virtual void OnSavingScreenShot(Graphics g, MosaicWindowEventArgs args)
 {
 }
Exemple #33
0
 protected override void OnMosaicLoaded(MosaicWindowEventArgs args)
 {
     this.Enabled = true;
     this.menuItem.Enabled = true;
 }