//[System.Diagnostics.DebuggerNonUserCodeAttribute()] //[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] public static void Main() { Program app = new Program(); app.InitializeComponent(); // Launcher.App app = new Launcher.App(); // app.InitializeComponent(); // app.Run(); aw = new AuthWindow(); rw = new RegWindow(); mw = new MainWindow(); Auth auth = new Auth(); IMessageService service = new MessageService(); MainPresenter mainPresenter = new MainPresenter(auth, aw, service, rw, mw); app.Run(mw); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((Launcher.AuthWindow)(target)); #line 5 "..\..\AuthWindow.xaml" this.window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.window_MouseLeftButtonDown); #line default #line hidden return; case 2: this.LoginProgressBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 3: this.LogInButton = ((System.Windows.Controls.Button)(target)); return; case 4: this.SingUpButton = ((System.Windows.Controls.Button)(target)); return; case 5: this.LoginTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.PasswordTextBox = ((System.Windows.Controls.PasswordBox)(target)); return; case 7: this.ExitButton = ((Launcher.ExitButton)(target)); return; } this._contentLoaded = true; }