C# Class SimpleMvp.Views.MainView

Inheritance: System.Windows.Forms.Form, IMainView
ファイルを表示 Open project: Rookian/SimpleMVP

Public Methods

Method Description
BindModel ( IEnumerable articles ) : void
GetSelectedArticle ( ) : ArticleViewModel
MainView ( ) : System
btnClose_Click ( object sender, EventArgs e ) : void
btnCreate_Click ( object sender, EventArgs e ) : void
btnDelete_Click ( object sender, EventArgs e ) : void
btnDetails_Click ( object sender, EventArgs e ) : void
lbxArticles_DoubleClick ( object sender, EventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Method Details

BindModel() public method

public BindModel ( IEnumerable articles ) : void
articles IEnumerable
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetSelectedArticle() public method

public GetSelectedArticle ( ) : ArticleViewModel
return SimpleMvp.ViewModels.ArticleViewModel

MainView() public method

public MainView ( ) : System
return System

btnClose_Click() public method

public btnClose_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnCreate_Click() public method

public btnCreate_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnDelete_Click() public method

public btnDelete_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnDetails_Click() public method

public btnDetails_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

lbxArticles_DoubleClick() public method

public lbxArticles_DoubleClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void