Example #1
0
 // Token: 0x060005C0 RID: 1472 RVA: 0x00031464 File Offset: 0x0002F664
 public Startup(bool bool_0 = true)
 {
     Startup.startup_0 = this;
     Class130.smethod_0();
     new Notification();
     this.method_3(bool_0);
     this.InitializeComponent();
     Application.EnableVisualStyles();
     base.Size = new Size(600, 400);
     EO.WebBrowser.Runtime.AddLicense("Y80M66Xm+8+4iVmXpLHLn1mXwPIP41nr/QEQvFu807/u56vm8fbNn6/c9gQU7qe0psLjrWmZpMDpjEOXpLHLu2jY8P0a9neEjrHLn1mz8wMP5KvA8vcan53Y+PbooWqos8LkrmuntcjNn6zs5tYj76Lp6QTs83aZtcLasHKmtsHct1uX+vYd8qLm8s7NsHCZpMDpjEOXpLHLu6zg6/8M867p6c/42KPf0sDs0WzAvf/v6Y/kuf//qmzIwc7nrqzg6/8M867p6c+4iXWm8PoO5Kfq6c+4iXXj7fQQ7azcwp61n1mXpM0X6Jzc8gQQyJ21t+PcsG2rtsTixnGttMPcr3yzs/0U4p7l9/b043eEjrHLn1mz8PoO5Kfq6fbp06LkpNUM6Kfr8//nrqXg5/YZ8p7cwp61n1mXpA==");
     EO.Base.Runtime.Exception += MainWindow.smethod_2;
     EO.Base.Runtime.InitWorkerProcessExecutable(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "CyberAIO\\engine.exe"));
     this.webView_0 = new WebView();
     this.webView_0.Create(base.Handle);
     this.webView_0.LoadHtmlAndWait(Class158.smethod_8());
     this.smethod_20(new System.Action(Startup.Class135.class135_0.method_0));
 }
Example #2
0
        // Token: 0x060005D4 RID: 1492 RVA: 0x00031A28 File Offset: 0x0002FC28
        void IAsyncStateMachine.MoveNext()
        {
            int     num2;
            int     num     = num2;
            Startup startup = this;

            try
            {
                TaskAwaiter <bool> taskAwaiter;
                if (num != 0)
                {
                    taskAwaiter = Startup.taskCompletionSource_0.Task.GetAwaiter();
                    if (!taskAwaiter.IsCompleted)
                    {
                        num2 = 0;
                        TaskAwaiter <bool> taskAwaiter2 = taskAwaiter;
                        this.asyncTaskMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <bool>, Startup.Struct85>(ref taskAwaiter, ref this);
                        return;
                    }
                }
                else
                {
                    TaskAwaiter <bool> taskAwaiter2;
                    taskAwaiter  = taskAwaiter2;
                    taskAwaiter2 = default(TaskAwaiter <bool>);
                    num2         = -1;
                }
                taskAwaiter.GetResult();
                startup.webView_0.LoadHtml(Class158.smethod_8());
            }
            catch (Exception exception)
            {
                num2 = -2;
                this.asyncTaskMethodBuilder_0.SetException(exception);
                return;
            }
            num2 = -2;
            this.asyncTaskMethodBuilder_0.SetResult();
        }
Example #3
0
    // Token: 0x060005C3 RID: 1475 RVA: 0x00031568 File Offset: 0x0002F768
    public async Task method_0()
    {
        await Startup.taskCompletionSource_0.Task;

        this.webView_0.LoadHtml(Class158.smethod_8());
    }