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