void Build()
 {
     MainView = new MainWindowView();
     MainView.BtnPersonajes.Click += (sender, args) =>
     {
         this.BuildPersonajes();
         MainView.Hide();
     };
     MainView.BtnCapitulos.Click += (sender, args) =>
     {
         this.BuildCapitulos();
         MainView.Hide();
     };
 }
        public MainWindow()
        {
            ParseArgs();
            LoadData();

            Key = GlobalFunctions.ReadScalar(SQLs.key);

            PasswordWindow pass = new PasswordWindow();

            pass.Show();


            InitializeComponent();


            MainView.ItemsSource    = CandidatesCollection;
            StatusCombo.ItemsSource = StatusCollection;
            AreaCombo.ItemsSource   = AreaCollection;
            ProjectList.ItemsSource = ProjectsCollection;
            GroupList.ItemsSource   = GroupCollection;
            MainWindStatic          = this;
            MainWindowView.Hide();
        }