public TabBar(bool visible, bool collapsed, bool showStartTab) { this._visible = visible; this._collapsed = collapsed; this._showStartTab = showStartTab; _ctrl = null; }
private void ribbonButton3_Click(object sender, EventArgs e) { NuGenMediImageCtrl ngMediImage = (NuGenMediImageCtrl)parent; ngMediImage.ZoomBoxSize = new Size(150, 150); this.Close(); }
public ThumbnailViewer(bool visible, bool collapsed, bool showBrowseButton, ThumbnailFileType thumbnailFileType) { this._visible = visible; this._collapsed = collapsed; this._showBrowseButton = showBrowseButton; this._thumbnailFileType = thumbnailFileType; _ctrl = null; }
public OverLayMenu(NuGenMediImageCtrl parent) { InitializeComponent(); this.parent = parent; this.ribbonButton2.NgMediImage = this.parent; this.ribbonButton3.NgMediImage = this.parent; }
private void ribbonButton2_Click(object sender, EventArgs e) { int level = int.Parse(((RibbonButton)sender).Text); NuGenMediImageCtrl ngMediImage = (NuGenMediImageCtrl)parent; ngMediImage.ZoomBoxZoom = level; this.Close(); }
private void ribbonButton2_Click(object sender, EventArgs e) { NuGenMediImageCtrl ngMediImage = (NuGenMediImageCtrl)parent; ngMediImage.OverLayColor = Color.Black; this.Close(); }
public OverLayMenu(NuGenMediImageCtrl parent) { InitializeComponent(); this.parent = parent; this.ribbonButton2.NgMediImage = this.parent; this.ribbonButton3.NgMediImage = this.parent; }
public MeasurementUnitsMenu(NuGenMediImageCtrl parent) { InitializeComponent(); this.parent = parent; this.ribbonButton1.NgMediImage = this.parent; this.ribbonButton2.NgMediImage = this.parent; this.ribbonButton3.NgMediImage = this.parent; this.ribbonButton4.NgMediImage = this.parent; }
private void ribbonButton3_Click(object sender, EventArgs e) { Application.DoEvents(); NuGenMediImageCtrl ngMediImage = (NuGenMediImageCtrl)parent; ngMediImage.OverLayColor = Color.White; Application.DoEvents(); this.Close(); }
private void ribbonButton2_Click(object sender, EventArgs e) { selectedLUT = ((RibbonButton)sender).Text; NuGenMediImageCtrl ngMediImage = (NuGenMediImageCtrl)parent; //ngMediImage.ClearLUT(); this.Hide(); ngMediImage.ReadAndApplyLUT(selectedLUT); Application.DoEvents(); this.Close(); }
private void ribbonButton2_Click(object sender, EventArgs e) { Application.DoEvents(); selectedUnit = (MeasurementUnits)Enum.Parse(typeof(MeasurementUnits), ((RibbonButton)sender).Text, true); NuGenMediImageCtrl ngMediImage = (NuGenMediImageCtrl)parent; ngMediImage.MeasurementUnits = selectedUnit; Application.DoEvents(); this.Close(); }
public MeasurementUnitsMenu(NuGenMediImageCtrl parent) { InitializeComponent(); this.parent = parent; this.ribbonButton1.NgMediImage = this.parent; this.ribbonButton2.NgMediImage = this.parent; this.ribbonButton3.NgMediImage = this.parent; this.ribbonButton4.NgMediImage = this.parent; }
public PhotoMenu(NuGenMediImageCtrl parent) { mbc = new MenuButtonCollection(this.flowLayoutPanel1); mbc.CollectionChanged += new EventHandler(mbc_CollectionChanged); InitializeComponent(); this.parent = parent; ngMediImage = (NuGenMediImageCtrl)this.parent; this.btnExit.NgMediImage = ngMediImage; this.btnHelp.NgMediImage = ngMediImage; this.btnPrint.NgMediImage = ngMediImage; this.btnSaveAs.NgMediImage = ngMediImage; this.btnLoad.NgMediImage = ngMediImage; this.ribbonButton6.NgMediImage = ngMediImage; this.flowLayoutPanel1.ControlAdded += new ControlEventHandler(flowLayoutPanel1_ControlAdded); this.flowLayoutPanel1.ControlRemoved += new ControlEventHandler(flowLayoutPanel1_ControlRemoved); SizeMenu(); }
public PhotoMenu(NuGenMediImageCtrl parent) { mbc = new MenuButtonCollection(this.flowLayoutPanel1); mbc.CollectionChanged+= new EventHandler(mbc_CollectionChanged); InitializeComponent(); this.parent = parent; ngMediImage = (NuGenMediImageCtrl)this.parent; this.btnExit.NgMediImage = ngMediImage; this.btnHelp.NgMediImage = ngMediImage; this.btnPrint.NgMediImage = ngMediImage; this.btnSaveAs.NgMediImage = ngMediImage; this.btnLoad.NgMediImage = ngMediImage; this.ribbonButton6.NgMediImage = ngMediImage; this.flowLayoutPanel1.ControlAdded += new ControlEventHandler(flowLayoutPanel1_ControlAdded); this.flowLayoutPanel1.ControlRemoved += new ControlEventHandler(flowLayoutPanel1_ControlRemoved); SizeMenu(); }
public LutMenu(NuGenMediImageCtrl parent) { InitializeComponent(); this.parent = parent; ribbonButton1.NgMediImage = this.parent; ribbonButton2.NgMediImage = this.parent; ribbonButton3.NgMediImage = this.parent; ribbonButton4.NgMediImage = this.parent; ribbonButton5.NgMediImage = this.parent; ribbonButton6.NgMediImage = this.parent; ribbonButton7.NgMediImage = this.parent; ribbonButton8.NgMediImage = this.parent; ribbonButton9.NgMediImage = this.parent; ribbonButton10.NgMediImage = this.parent; ribbonButton11.NgMediImage = this.parent; ribbonButton12.NgMediImage = this.parent; ribbonButton13.NgMediImage = this.parent; ribbonButton14.NgMediImage = this.parent; ribbonButton15.NgMediImage = this.parent; }
public LutMenu(NuGenMediImageCtrl parent) { InitializeComponent(); this.parent = parent; ribbonButton1.NgMediImage = this.parent; ribbonButton2.NgMediImage = this.parent; ribbonButton3.NgMediImage = this.parent; ribbonButton4.NgMediImage = this.parent; ribbonButton5.NgMediImage = this.parent; ribbonButton6.NgMediImage = this.parent; ribbonButton7.NgMediImage = this.parent; ribbonButton8.NgMediImage = this.parent; ribbonButton9.NgMediImage = this.parent; ribbonButton10.NgMediImage = this.parent; ribbonButton11.NgMediImage = this.parent; ribbonButton12.NgMediImage = this.parent; ribbonButton13.NgMediImage = this.parent; ribbonButton14.NgMediImage = this.parent; ribbonButton15.NgMediImage = this.parent; }
public DlgEmboss(NuGenMediImageCtrl ngMediImage) { this.ngMediImage = ngMediImage; InitializeComponent(); }
public DlgEmboss(NuGenMediImageCtrl ngMediImage) { this.ngMediImage = ngMediImage; InitializeComponent(); }
public SliceViewer(bool visible, bool collapsed) { this._visible = visible; this._collapsed = collapsed; _ctrl = null; }