Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window2 = ((Pogodski.GunCatalog.UI.ProducerWindow)(target));
                return;

            case 2:
                this.ProducersList = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void App_Startup(object sender, StartupEventArgs e)
        {
            ProducerWindow window = new ProducerWindow();

            window.Show();
        }