예제 #1
0
        public static void TestPrep()
        {
            application = Application.Launch(applicationPath);
            window      = application.GetWindow("Make_Your_Fortune", InitializeOption.NoCache);
            context     = repo.Context();

            text_box      = window.Get <TextBox>("FortuneMakerTextBox");
            submit_button = window.Get <Button>("SubmitButton");

            career_button       = window.Get <Button>("CareerButton");
            health_button       = window.Get <Button>("HealthButton");
            relationship_button = window.Get <Button>("RelationshipButton");
            life_button         = window.Get <Button>("LifeButton");
        }
 public MainWindow()
 {
     InitializeComponent();
     FortuneList.DataContext = repo.Context().Fortunes.Local;
     DeleteButtonVisible     = Visibility.Hidden;
 }