public OpenSnapshotsWindow InitializeOpenSnapshotsWindow(float initialWidth) { m_OpenSnapshotsPane = new OpenSnapshotsWindow(initialWidth); m_OpenSnapshotsPane.SwapOpenSnapshots += SwapOpenSnapshots; m_OpenSnapshotsPane.ShowDiffOfOpenSnapshots += ShowDiffOfOpenSnapshots; m_OpenSnapshotsPane.ShowFirstOpenSnapshot += ShowFirstOpenSnapshot; m_OpenSnapshotsPane.ShowSecondOpenSnapshot += ShowSecondOpenSnapshot; return(m_OpenSnapshotsPane); }