Example #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;
            }
        }
Example #2
0
 public static void SetAcrylicChrome(Window obj, AcrylicChrome value)
 {
     obj.SetValue(AcrylicChromeProperty, value);
 }