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); } }
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(); } }
protected virtual void OnMosaicLoaded(MosaicWindowEventArgs args) { }
protected virtual void OnSavingScreenShot(Graphics g, MosaicWindowEventArgs args) { }
protected virtual void OnZoomChanged(MosaicWindowEventArgs args) { }
void OnUsingCorrelationsChanged(MosaicWindow sender, MosaicWindowEventArgs args) { this.useCorrelationCheckBox.Checked = sender.CorrelationEnabled; }
/* 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(); }
private void OnSavingScreenShot(MosaicWindow sender, Graphics g, MosaicWindowEventArgs e) { this.OnSavingScreenShot(g, e); }
private void OnMosaicLoaded(MosaicWindow sender, MosaicWindowEventArgs e) { this.OnMosaicLoaded(e); }
protected void OnBlendingChanged(MosaicWindowEventArgs args) { if (BlendingChanged != null) BlendingChanged(this, args); }
protected override void OnMosaicLoaded(MosaicWindowEventArgs args) { this.Enabled = true; this.menuItem.Enabled = true; }
private void OnZoomChanged(MosaicWindow sender, MosaicWindowEventArgs e) { this.OnZoomChanged(e); }
protected override void OnSavingScreenShot(Graphics g, MosaicWindowEventArgs args) { //if (this.Active) // g.DrawImage(this.infoControl.InfoBitmap, this.infoControl.Location); }
protected void OnMosaicLoaded(MosaicWindowEventArgs args) { if (MosaicLoaded != null) MosaicLoaded(this, args); }
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); }
protected void OnSavingScreenShot(Graphics g, MosaicWindowEventArgs args) { if (SavingScreenShot != null) SavingScreenShot(this, g, args); }
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(); }
protected void OnUsingCorrelationsChanged(MosaicWindowEventArgs args) { if (UsingCorrelationsChanged != null) UsingCorrelationsChanged(this, args); }
protected void OnZoomChanged(MosaicWindowEventArgs args) { if (ZoomChanged != null) ZoomChanged(this, args); }
void OnBlendingChanged(MosaicWindow sender, MosaicWindowEventArgs args) { CreateOverview(); }