Example #1
0
        public static ViewFactory IBindingListOrders()
        {
            var factory = new ViewFactory();

            factory.list     = new BindingList <Order>();
            factory.itemType = typeof(Order);
            factory.view     = new ObjectListView(factory.list);
            factory.SetupListEventHandlers();

            return(factory);
        }
Example #2
0
        public static ViewFactory IBindingListPropertyChangedEventsItems()
        {
            var factory = new ViewFactory();

            factory.list     = new BindingList <NotifyingListItemEvents>();
            factory.itemType = typeof(NotifyingListItemEvents);
            factory.view     = new ObjectListView(factory.list);
            factory.SetupListEventHandlers();

            return(factory);
        }
Example #3
0
        public static ViewFactory IListINotifyPropertyChangedItems()
        {
            var factory = new ViewFactory();

            factory.list     = new ArrayList();
            factory.itemType = typeof(NotifyingListItem);
            factory.view     = new ObjectListView(factory.list);
            factory.SetupListEventHandlers();

            return(factory);
        }
Example #4
0
        public static ViewFactory IBindingListIEditableObjectItems()
        {
            var factory = new ViewFactory();

            factory.list     = new BindingList <SimpleEditableObject>();
            factory.itemType = typeof(SimpleEditableObject);
            factory.view     = new ObjectListView(factory.list);
            factory.SetupListEventHandlers();

            return(factory);
        }
Example #5
0
        public static ViewFactory IBindingListSimpleItems()
        {
            ViewFactory factory = new ViewFactory();

            factory.list     = new BindingList <SimpleClass>();
            factory.itemType = typeof(SimpleClass);
            factory.view     = new ObjectListView(factory.list);
            factory.SetupListEventHandlers();

            return(factory);
        }
Example #6
0
        public static ViewFactory IListSimpleItems()
        {
            var factory = new ViewFactory();

            factory.list     = new ArrayList();
            factory.itemType = typeof(SimpleClass);
            factory.view     = new ObjectListView(factory.list);
            factory.SetupListEventHandlers();

            return(factory);
        }
Example #7
0
        public static ViewFactory IListIEditableObjectItems()
        {
            ViewFactory factory = new ViewFactory();

            factory.list     = new ArrayList();
            factory.itemType = typeof(SimpleEditableObject);
            factory.view     = new ObjectListView(factory.list);
            factory.SetupListEventHandlers();

            return(factory);
        }
Example #8
0
        public static ViewFactory IListOrders()
        {
            ViewFactory factory = new ViewFactory();

            factory.list     = new ArrayList();
            factory.itemType = typeof(Order);
            factory.view     = new ObjectListView(factory.list);
            factory.SetupListEventHandlers();

            return(factory);
        }
Example #9
0
		public static ViewFactory IBindingListPropertyChangedEventsItems()
		{
			ViewFactory factory = new ViewFactory();

			factory.list = new BindingList<NotifyingListItemEvents>();
			factory.itemType = typeof(NotifyingListItemEvents);
			factory.view = new ObjectListView(factory.list);
			factory.SetupListEventHandlers();

			return factory;
		}
Example #10
0
		public static ViewFactory IBindingListOrders()
		{
			ViewFactory factory = new ViewFactory();

			factory.list = new BindingList<Order>();
			factory.itemType = typeof(Order);
			factory.view = new ObjectListView(factory.list);
			factory.SetupListEventHandlers();

			return factory;
		}
Example #11
0
		public static ViewFactory IBindingListIEditableObjectItems()
		{
			ViewFactory factory = new ViewFactory();

			factory.list = new BindingList<SimpleEditableObject>();
			factory.itemType = typeof(SimpleEditableObject);
			factory.view = new ObjectListView(factory.list);
			factory.SetupListEventHandlers();

			return factory;
		}
Example #12
0
		public static ViewFactory IListINotifyPropertyChangedItems()
		{
			ViewFactory factory = new ViewFactory();

			factory.list = new ArrayList();
			factory.itemType = typeof(NotifyingListItem);
			factory.view = new ObjectListView(factory.list);
			factory.SetupListEventHandlers();

			return factory;
		}
Example #13
0
		public static ViewFactory IListSimpleItems()
		{
			ViewFactory factory = new ViewFactory();

			factory.list = new ArrayList();
			factory.itemType = typeof(SimpleClass);
			factory.view = new ObjectListView(factory.list);
			factory.SetupListEventHandlers();

			return factory;
		}