private void buttonAnalyse_Click(object sender, EventArgs e) { if (listObjects.SelectedItems.Count != 1) { return; } PrintModel model = (PrintModel)ListObjects(true).First.Value; if (model != null) { InfoProgressPanel ipp = InfoProgressPanel.Create(Trans.T("L_ANAYLSING"), true); ipp.Action = ""; // Trans.T("L_LOADING..."); ipp.Dock = DockStyle.Top; panelControls.Controls.Add(ipp); panelControls.Update(); model.DeepAnalysis(ipp); ipp.Finished(); UpdateAnalyserData(); } }