예제 #1
0
 public void TestMethod1()
 {
     //Testing not finished, got stuck on this one. 
     //Hard to unit test GUI
     WelcomeUC testUC = new WelcomeUC();
     testUC.InitializeComponent();
     //Assert.AreEqual(testUC.InitializeComponent, );
 }
예제 #2
0
        public TwitterUC()
        {
            
                if (UserHandler.Twitter != null && !UserHandler.Twitter.userLoggedIn())
                {
                    WelcomeUC welUcObject = new WelcomeUC();
                    return;
                } else if (UserHandler.Twitter == null)
            {
                WelcomeUC welUcObject = new WelcomeUC();
                return;
            }
            

            InitializeComponent();
            getTweetsToList();

        }
예제 #3
0
 public void loadWelcomePanel()
 {
     stackMid.Children.Clear();
     WelcomeUC welUcObject = new WelcomeUC();
     stackMid.Children.Add(welUcObject);
 }