public DockContentAnalysisCaseOfBoxes(IDocument document, CasePalletAnalysis analysis) { _document = document; _analysis = analysis; _analysis.AddListener(this); InitializeComponent(); }
/// <summary> /// Constructor /// </summary> /// <param name="document">object implementing the IDocument interface</param> /// <param name="analysis">viewed analysis</param> public DockContentCasePalletAnalysis(IDocument document, CasePalletAnalysis analysis) { _document = document; _analysis = analysis; _analysis.AddListener(this); _analysis.SolutionSelected += new CasePalletAnalysis.SelectSolution(onSolutionSelectionChanged); _analysis.SolutionSelectionRemoved += new CasePalletAnalysis.SelectSolution(onSolutionSelectionChanged); InitializeComponent(); }