public MovieForm(GDI3D.Control.GDIDisplay disp, long ev, int bk) { InitializeComponent(); gdiDisplay = disp; m_Event = ev; m_Brick = bk; InitDataMap(); }
public VertexFitForm(string name, GDI3D.Control.GDIDisplay gdidisp, SySal.TotalScan.Flexi.Volume v) { InitializeComponent(); m_V = v; m_FitName = name; m_gdiDisplay = gdidisp; m_ParentSlopes.X = 0.0; m_ParentSlopes.Y = 0.059; txtParentSX.Text = m_ParentSlopes.X.ToString(System.Globalization.CultureInfo.InvariantCulture); txtParentSY.Text = m_ParentSlopes.Y.ToString(System.Globalization.CultureInfo.InvariantCulture); Text = "VertexFit \"" + name + "\""; }
public static VertexFitForm Browse(string name, GDI3D.Control.GDIDisplay gdidisp, TrackSelector updatefits, SySal.TotalScan.Flexi.Volume v) { foreach (VertexFitForm b in AvailableBrowsers) { if (String.Compare(b.FitName, name, true) == 0) { b.BringToFront(); return(b); } } VertexFitForm newb = new VertexFitForm(name, gdidisp, v); newb.Show(); AvailableBrowsers.Add(newb); newb.m_TrackSelector = updatefits; return(newb); }