Is there any way to exit from function only after some object is loaded?
<p>I've created some UserControl. Here is its constructor:</p>

<pre><code>public ZoomableChart()
        {
            InitializeComponent();

            this.mainChart = new MainChart();
            this.mainChart.Loaded += new RoutedEventHandler(delegate(object sender, RoutedEventArgs e)
                {
                    this.zoomChart = new ZoomChart();
                });
        }
</code></pre>

<p>I don't want to exit from it until mainChart.Loaded event handler execute. Is there any way to do it?</p>
