Beispiel #1
0
 public MainWindow()
 {
     helloWindow = new HelloWindow();
     helloWindow.Show();
     InitializeComponent();
     connectionString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Is = ((JewerlyStore.HelloWindow)(target));
                return;

            case 2:
                this.helloGrid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }