C# 클래스 SIL.Utils.UsageEmailDialog

Summary description for UsageEmailDialog.
상속: System.Windows.Forms.Form, IFWDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_emailAddress string
m_emailBody string
m_emailSubject string

공개 메소드들

메소드 설명
CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

ClearLaunchCount ( RegistryKey applicationKey ) : void

used for testing purposes

DoTrivialUsageReport ( string applicationName, RegistryKey applicationKey, string emailAddress, string topMessage, bool addStats, int launchNumber ) : void

if you call this every time the application starts, it will send reports on the specified launch number. It will get version number and name out of the application.

DoTrivialUsageReport ( string applicationName, RegistryKey applicationKey, string emailAddress, string topMessage, bool addStats, int launchNumber, Assembly assembly ) : void

if you call this every time the application starts, it will send reports on the specified launch number. It will get version number and name out of the application.

IncrementLaunchCount ( RegistryKey applicationKey ) : void

call this each time the application is launched if you have launch count-based reporting

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void
UsageEmailDialog ( ) : System
btnNope_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
btnSend_Click ( object sender, System e ) : void

메소드 상세

CheckDisposed() 공개 메소드

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
리턴 void

ClearLaunchCount() 공개 정적인 메소드

used for testing purposes
public static ClearLaunchCount ( RegistryKey applicationKey ) : void
applicationKey Microsoft.Win32.RegistryKey The application registry key.
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

DoTrivialUsageReport() 공개 정적인 메소드

if you call this every time the application starts, it will send reports on the specified launch number. It will get version number and name out of the application.
public static DoTrivialUsageReport ( string applicationName, RegistryKey applicationKey, string emailAddress, string topMessage, bool addStats, int launchNumber ) : void
applicationName string Name of the application.
applicationKey Microsoft.Win32.RegistryKey The application registry key.
emailAddress string The e-mail address.
topMessage string The message at the top of the e-mail.
addStats bool True to add crash and application runtime statistics to the /// report.
launchNumber int The needed launch count to show the dialog and ask for /// an e-mail.
리턴 void

DoTrivialUsageReport() 공개 정적인 메소드

if you call this every time the application starts, it will send reports on the specified launch number. It will get version number and name out of the application.
public static DoTrivialUsageReport ( string applicationName, RegistryKey applicationKey, string emailAddress, string topMessage, bool addStats, int launchNumber, Assembly assembly ) : void
applicationName string Name of the application.
applicationKey Microsoft.Win32.RegistryKey The application registry key.
emailAddress string The e-mail address.
topMessage string The message at the top of the e-mail.
addStats bool True to add crash and application runtime statistics to the /// report.
launchNumber int The needed launch count to show the dialog and ask for /// an e-mail.
assembly System.Reflection.Assembly The assembly to use for getting version information (can be /// null).
리턴 void

IncrementLaunchCount() 공개 정적인 메소드

call this each time the application is launched if you have launch count-based reporting
public static IncrementLaunchCount ( RegistryKey applicationKey ) : void
applicationKey Microsoft.Win32.RegistryKey The application registry key.
리턴 void

프로퍼티 상세

m_emailAddress 보호되어 있는 프로퍼티

protected string m_emailAddress
리턴 string

m_emailBody 보호되어 있는 프로퍼티

protected string m_emailBody
리턴 string

m_emailSubject 보호되어 있는 프로퍼티

protected string m_emailSubject
리턴 string