C# Class SS.Ynote.Classic.Core.Project.ProjectPanel

ファイルを表示 Open project: samarjeet27/ynoteclassic Class Usage Examples

Public Methods

Method Description
CloseProject ( ) : void
OpenProject ( YnoteProject project ) : void

Opens a Project

ProjectPanel ( ) : System

Default Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

GetPersistString ( ) : string
OnClosing ( CancelEventArgs e ) : void

Private Methods

Method Description
AddNewFile ( ) : void

Add New File

AddNewFolder ( ) : void

Adds a New Folder to existing folder

CopyDirectory ( string strSource, string strDestination ) : void

Copies a directory from strSource to strDestination

CreateDirectoryNode ( DirectoryInfo directoryInfo, string excludedir, string excludefile ) : ExTreeNode
DeleteFile ( ) : void

Delete File/Folder

DoRename ( ) : void

DoRename

Expand ( ) : void
InitializeComponent ( ) : void

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

IsDir ( string input ) : bool

Checks whether a Path is a Directory or File

ListDirectory ( TreeView treeView, YnoteProject project ) : void
RenameDirectory ( string path, string newpath, ExTreeNode node ) : void

Renames Directory

RenameFile ( string path, string newpath, ExTreeNode node ) : void

Rename

menuItem10_Click ( object sender, EventArgs e ) : void
menuItem11_Click ( object sender, EventArgs e ) : void
menuItem13_Click ( object sender, EventArgs e ) : void
menuItem14_Click ( object sender, EventArgs e ) : void
menuItem15_Click ( object sender, EventArgs e ) : void
menuItem16_Click ( object sender, EventArgs e ) : void
menuItem1_Click ( object sender, EventArgs e ) : void
menuItem2_Click ( object sender, EventArgs e ) : void
menuItem3_Click ( object sender, EventArgs e ) : void
menuItem5_Click ( object sender, EventArgs e ) : void
menuItem7_Click ( object sender, EventArgs e ) : void
treeView1_MouseUp ( object sender, MouseEventArgs e ) : void
treeView1_NodeMouseDoubleClick ( object sender, TreeNodeMouseClickEventArgs e ) : void

Method Details

CloseProject() public method

public CloseProject ( ) : void
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

GetPersistString() protected method

protected GetPersistString ( ) : string
return string

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e System.ComponentModel.CancelEventArgs
return void

OpenProject() public method

Opens a Project
public OpenProject ( YnoteProject project ) : void
project YnoteProject
return void

ProjectPanel() public method

Default Constructor
public ProjectPanel ( ) : System
return System