Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.u = ((MyWpf.Skin)(target));
                return;

            case 2:
                this.colorDock = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.MdPaletteButton = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 4:
                this.CustomPaletteButton = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 5:
                this.ColorPicker = ((MaterialDesignThemes.Wpf.ColorPicker)(target));
                return;

            case 6:
                this.item = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.u = ((MyWpf.Skin)(target));
         return;
     }
     this._contentLoaded = true;
 }