public LayerDisplay(LoadedStuff doc, LoadedStuff.DisplayGerber Gerb, GerberViewerMainForm _Owner) { MainForm = _Owner; CloseButton = false; CloseButtonVisible = false; DispGerb = Gerb; DisplaySide = Gerb.File.Side; Document = doc; this.Load += LayerDisplay_Load; InitializeComponent(); AddGLControl(); }
public LayerDisplay(LoadedStuff doc, BoardSide Side, GerberViewerMainForm _Owner) { MainForm = _Owner; DisplaySide = Side; Document = doc; this.Load += LayerDisplay_Load; InitializeComponent(); AddGLControl(); CloseButton = false; CloseButtonVisible = false; }
public LayerList(GerberViewerMainForm parent, LoadedStuff doc) { ParentGerberViewerForm = parent; Document = doc; CloseButton = false; CloseButtonVisible = false; InitializeComponent(); UpdateLoadedStuff(); CloseButton = false; CloseButtonVisible = false; Init(); }