Пример #1
0
 public PluginSkeleton()
 {
     //Initialize Elements
     tsd = new PluginData();
 }
Пример #2
0
        //Creates UserControl asynchronously
        private UserControl CreatePluginSkeletonUC(PluginData tsd)
        {
            PluginSkeletonUC newUC = null;

            //Needed to get into STA context.
            Action action = delegate()
            {
                newUC = new PluginSkeletonUC(tsd);
            };

            Application.Current.Dispatcher.Invoke(DispatcherPriority.Send, action);

            return newUC;
        }
Пример #3
0
        public PluginSkeletonUC(PluginData tsd)
        {
            InitializeComponent();

            ucListbox.ItemsSource = tsd.tweetsData;
        }