public void LoadFlow(int id) { contentPanel.Children.Clear(); contentPanel.Children.Add(loader_fdsv); scrollViewer1.ScrollChanged -= scrollChanged_flows; FlowLoader loader = new FlowLoader(_LoadFlow); loader.BeginInvoke(id, null, null); }