Example #1
0
        internal static void start(Window window, s_lib lib)
        {
            if (a.window != null)
            {
                throw new Exception("ekvifbjjvhdhvjgjvjd");
            }
            a.window = window;

            lib_c = new c_lib();
            app_c = new c_app();
            panel = new g_panel();
            window.PreviewKeyDown += Window_PreviewKeyDown;
            develop_lib            = lib;
            if (lib != null && lib.id.Substring(0, 2) == "x_")
            {
                window.WindowState = WindowState.Minimized;
            }
            else
            {
                window.WindowState = WindowState.Maximized;
            }
            window.Content = panel.ui;
        }
Example #2
0
 public static void start(Window window, s_lib lib) => a.start(window, lib);