示例#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);
 }