static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>(
         "Blazor Desktop",
         "wwwroot/index.html"
         );
 }
示例#2
0
 static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>("index.html", form =>
     {
         form.Text = "MyDesktopApp";
     });
 }
示例#3
0
        static void Main()
        {
            ComponentsDesktop.Run <Startup>(new RemotableWebWindow(new Uri("https://localhost:443"), "My Remote Blazor App", "wwwroot/index.html"));

            //ComponentsDesktop.Run<Startup>(new RemotableWebWindow(new Uri("https://webserverstransporter.com:443"), "My Remote Blazor App", "wwwroot/index.html"));

            //ComponentsDesktop.Run<Startup>("My Blazor App", "wwwroot/index.html");
        }
示例#4
0
        public static void Main(string[] args)
        {
            Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory);


            ComponentsDesktop.Run <Startup>("Turning v1.0", "wwwroot/_Host.html");

            NginxService.Stop();
        }
示例#5
0
 static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>("Hello Photino Blazor!"
                                     , "wwwroot/index.html"
                                     , x: 450
                                     , y: 100
                                     , width: 1000
                                     , height: 900);
 }
示例#6
0
 private static void Main(string[] _)
 {
     ComponentsDesktop.Run <Startup>("LogNinja"
                                     , "wwwroot/index.html"
                                     , x: 450
                                     , y: 100
                                     , width: 1000
                                     , height: 900);
 }
        static void Main(string[] args)
        {
            // Needed for running as native macOS app
            Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
            Environment.CurrentDirectory        = Path.GetDirectoryName(typeof(Program).Assembly.Location);

            // Knows how to start up the Blazor app using native .NET Core,
            // supplying DI services, configuration, etc.
            ComponentsDesktop.Run <Startup>("FlightFinder", "wwwroot/index.html");
        }
示例#8
0
 public static void Main(string[] args)
 {
     StartupBase.AppModel = new BlazorApplicationModel
     {
         Flavor   = BlazorFlavor.WebAssembly | BlazorFlavor.Hybrid,
         Platform = BlazorPlatform.WebWindow
     };
     ComponentsDesktop
     .Run <Startup>("The Sharp Factory Samples", "wwwroot/index.html");
 }
示例#9
0
 static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>(
         "MyBlazorApp.WebWindow",
         "wwwroot/index.html",
         x: 450,
         y: 100,
         width: 1000,
         height: 900);
 }
示例#10
0
 static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>("index.html", form =>
     {
         form.Text = "MyDesktopApp";
     }, uri =>
     {
         var x = typeof(MatBlazor.BaseMapper).Assembly.GetManifestResourceNames();
         return(null);
     });
 }
示例#11
0
        public static void AbrirApp(string Mystr)
        {
            ServiceCollection Services = new ServiceCollection();
            GlobalVars        vars     = new GlobalVars();

            vars.mystring             = Mystr;
            vars.loginInfo.IsLoggedIn = true;
            vars.loginInfo.Username   = "******";
            Services.AddSingleton <Authorization>();
            Services.AddSingleton <GlobalVars>(vars);
            ComponentsDesktop.Run <Startup>("Metamorff", "wwwroot/index.html", Services);
        }
示例#12
0
 public static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>("Blazor Avec WebWindow", "wwwroot/index.html");
 }
示例#13
0
 static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>("Pachyderm", "wwwroot/index.html");
 }
示例#14
0
        public static void Main(string[] args)
        {
            var executingDir = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);

            ComponentsDesktop.Run <Startup>("KubeUI", Path.Combine(executingDir, "wwwroot/index.html"));
        }
示例#15
0
 static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>("Olympus Camera Helper", "wwwroot/index.html");
 }
示例#16
0
 public static void Main()
 {
     ComponentsDesktop.Run <Startup>("Blazor Budget", "wwwroot/index.html");
 }
示例#17
0
 static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>("TT ConfTool", "wwwroot/index.html");
 }
示例#18
0
 public static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>("미추홀 코로나19 대응현황", "wwwroot/index.html");
 }
示例#19
0
 public static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>("IoTSharp.Desktop", "wwwroot/index.html");
 }
示例#20
0
 public static void Main(string[] args)
 => ComponentsDesktop
 .Run <Startup>("The Sharp Factory Samples", "wwwroot/index.html");
示例#21
0
        public static void Main(string[] args)
        {
            ComponentsDesktop.Run <Startup>("AppWnd", "wwwroot/index.html");

            //Render();
        }
示例#22
0
 static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>("  SecureGate App", "wwwroot/index.html");
 }
示例#23
0
 static void Main(string[] args)
 {
     ComponentsDesktop.Run <Startup>("Ais File Syncer", "wwwroot/index.html");
 }