Esempio n. 1
0
        private static void SetAcrylicInitializer(AcrylicChrome ch, Window window)
        {
            var initializer = AcrylicInitializer.GetAcrylicInitializer(window);

            if (initializer == null)
            {
                initializer = new AcrylicInitializer {
                    ChromeBase = ch
                };                                                        //initialize source
                AcrylicInitializer.SetAcrylicInitializer(window, initializer);
            }
            else
            {
                initializer.ChromeBase = ch;
            }
        }
 public static void SetAcrylicInitializer(Window obj, AcrylicInitializer value)
 {
     obj.SetValue(AcrylicInitializerProperty, value);
 }