Click here to Skip to main content
12,507,089 members (63,477 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » Samples » Downloads

Stats

29.6K views
284 downloads
23 bookmarked
Posted

Reusable navigation and workflow for both Windows and Web using Microsoft UIP blocks

, 29 Mar 2009 CPOL
Reusable navigation and workflow for Windows and Web using Microsoft UIP blocks.
ASPDotNetUIP
App_Code
App_Data
Bin
Microsoft.ApplicationBlocks.Data.dll
Microsoft.ApplicationBlocks.UIProcess.dll
MyController.dll
MyController
bin
Debug
Microsoft.ApplicationBlocks.Data.dll
Microsoft.ApplicationBlocks.UIProcess.dll
MyController.dll
obj
Debug
MyController.dll
TempPE
Properties
MyTask
bin
Debug
obj
Debug
TempPE
Properties
Model.dll
Model
bin
Debug
Model.dll
obj
Debug
Refactor
TempPE
Properties
Model.dll
WindowsApplication
WindowsUIPExample
bin
Debug
Microsoft.ApplicationBlocks.Data.dll
Microsoft.ApplicationBlocks.UIProcess.dll
Model.dll
MyController.dll
WindowsUIPExample.exe
WindowsUIPExample.vshost.exe
obj
Debug
Refactor
TempPE
Properties
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace Model
{
    public class clsCustomer 
    {
        private string _strCustomerName;
        private string _strAddress;
        private double _dblSales;
        public string CustomerName
        {
            set
            {
                _strCustomerName = value;
            }
            get
            {
                return _strCustomerName;
            }
        }
        public string Address
        {
            set
            {
                _strAddress = value;
            }
            get
            {
                return _strAddress;
            }
        }
        public double Sales
        {
            set
            {
                _dblSales = value;
            }
            get
            {
                return _dblSales;
            }
        }
    }
    public class clsCustomers : CollectionBase
    {
        public clsCustomers()
        {
        }
        public void LoadCustomers()
        {
            Add("Shiv", "Mulund", 20);
            Add("Raju", "Mumbai", 20);
            Add("Manish", "Delhi", 20);
            Add("Lalu", "Nepal", 20);
            Add("Khadak", "Ratoli", 20);
            Add("Shaam", "Ghatkopar", 20);
        }
        void Add(string strCustomerName, string strAddress, double dblSales)
        {
            clsCustomer objCustomer = new clsCustomer();
            objCustomer.Address = strAddress;
            objCustomer.CustomerName = strCustomerName;
            objCustomer.Sales = dblSales;
            List.Add(objCustomer);
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author


You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160927.1 | Last Updated 30 Mar 2009
Article Copyright 2008 by Shivprasad koirala
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid