C# Class CmisSync.Controller

Inheritance: ControllerBase
ファイルを表示 Open project: aegif/CmisSync Class Usage Examples

Public Properties

Property Type Description
ShortcutName string

Public Methods

Method Description
AddToBookmarks ( ) : void

Add CmisSync to the user's Windows Explorer bookmarks.

Controller ( ) : System

Constructor.

CreateCmisSyncFolder ( ) : bool

Create the user's CmisSync settings folder. This folder contains databases, the settings file and the log file.

CreateStartupItem ( ) : void

Add CmisSync to the list of programs to be started up when the user logs into Windows.

Initialize ( System.Boolean firstRun ) : void

Initialize the controller

NotifyUser ( string message ) : void

Send a message to the end user.

OpenCmisSyncFolder ( ) : void

With Windows Explorer, open the folder where the local synchronized folders are.

OpenCmisSyncFolder ( string name ) : void

With Windows Explorer, open the local folder of a CmisSync synchronized folder.

OpenRemoteFolder ( string name ) : void

With the default web browser, open the remote folder of a CmisSync synchronized folder.

Quit ( ) : void

Quit CmisSync.

ShowLog ( string path ) : void

Open the log file so that the user can check what is going on, and send it to developers.

Method Details

AddToBookmarks() public method

Add CmisSync to the user's Windows Explorer bookmarks.
public AddToBookmarks ( ) : void
return void

Controller() public method

Constructor.
public Controller ( ) : System
return System

CreateCmisSyncFolder() public method

Create the user's CmisSync settings folder. This folder contains databases, the settings file and the log file.
public CreateCmisSyncFolder ( ) : bool
return bool

CreateStartupItem() public method

Add CmisSync to the list of programs to be started up when the user logs into Windows.
public CreateStartupItem ( ) : void
return void

Initialize() public method

Initialize the controller
public Initialize ( System.Boolean firstRun ) : void
firstRun System.Boolean Whether it is the first time that CmisSync is being run.
return void

NotifyUser() public method

Send a message to the end user.
public NotifyUser ( string message ) : void
message string
return void

OpenCmisSyncFolder() public method

With Windows Explorer, open the folder where the local synchronized folders are.
public OpenCmisSyncFolder ( ) : void
return void

OpenCmisSyncFolder() public method

With Windows Explorer, open the local folder of a CmisSync synchronized folder.
public OpenCmisSyncFolder ( string name ) : void
name string Name of the synchronized folder
return void

OpenRemoteFolder() public method

With the default web browser, open the remote folder of a CmisSync synchronized folder.
public OpenRemoteFolder ( string name ) : void
name string Name of the synchronized folder
return void

Quit() public method

Quit CmisSync.
public Quit ( ) : void
return void

ShowLog() public method

Open the log file so that the user can check what is going on, and send it to developers.
public ShowLog ( string path ) : void
path string Path to the log file
return void

Property Details

ShortcutName public_oe static_oe property

public static string ShortcutName
return string