Click here to Skip to main content
12,360,037 members (56,934 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads

Tagged as

Stats

101.9K views
1.4K downloads
102 bookmarked
Posted

Model View Presenter

, 3 Mar 2009 CPOL
Understand MVP, execute a sample project with MVP, and implement the same using a Windows UI.
MVPStockSample
IStockView
bin
Debug
IStockView.dll
IStockView.pdb
obj
Debug
IStockView.dll
IStockView.pdb
Refactor
IStockView.dll
TempPE
Properties
MVPStockSample.suo
MVPStockSampleWeb
App_Data
Bin
IStockView.dll
IStockView.pdb
Presenter.dll
Presenter.pdb
StockBO.dll
StockBO.pdb
Presenter
bin
Debug
IStockView.dll
IStockView.pdb
Presenter.dll
Presenter.pdb
StockBO.dll
StockBO.pdb
obj
Debug
Presenter.dll
Presenter.pdb
Refactor
Presenter.dll
ResolveAssemblyReference.cache
TempPE
Properties
StockBO
bin
Debug
StockBO.dll
StockBO.pdb
obj
Debug
Refactor
StockBO.dll
StockBO.dll
StockBO.pdb
TempPE
Properties
StockSampleWithOutMVP
App_Data
Bin
StockBO.dll
StockBO.pdb
WindowsMVPStock
bin
Debug
IStockView.dll
IStockView.pdb
Presenter.dll
Presenter.pdb
StockBO.dll
StockBO.pdb
WindowsMVPStock.exe
WindowsMVPStock.pdb
WindowsMVPStock.vshost.exe
obj
Debug
Refactor
ResolveAssemblyReference.cache
TempPE
WindowsMVPStock.csproj.GenerateResource.Cache
WindowsMVPStock.exe
WindowsMVPStock.Form1.resources
WindowsMVPStock.pdb
WindowsMVPStock.Properties.Resources.resources
Properties
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DisplayStock.aspx.cs" Inherits="DisplayStock" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Button ID="btnIncreaseStock" runat="server" OnClick="btnIncreaseStock_Click"
            Text="Increase Stock" />&nbsp;<br />
        <asp:TextBox ID="txtStockValue" runat="server"></asp:TextBox>
        <br />
        <asp:Button ID="btnDecreaseStock" runat="server" OnClick="btnDecreaseStock_Click"
            Text="Decrease Stock" /></div>
    </form>
</body>
</html>

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...

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