C# 클래스 ThoughtWorks.VisualStudio.GeneralCommentView

Interaction logic for TransitionCommentView.xaml
파일 보기 프로젝트 열기: ThoughtWorksStudios/vs-connector 1 사용 예제들

공개 메소드들

메소드 설명
GeneralCommentView ( ) : System.ComponentModel

Displays a dialog to collect a comment from a user.

GeneralCommentView ( string windowHeading, string requiredAdmonition, string windowTitle ) : System.ComponentModel

Use this class to display a general purpose text/comment collection UI.

If the user does not supply data and tries to close this window then a warning dialog is shown with the requiredAdmonition message. A Yes response cancels the OnWindowClosing event giving the user another opportunity to enter a comment. A No response allows the OnWindowClosing event to proceed and the window closes. It is up to you to collect the resulting Comment from the Comment property and do with it what you will.

비공개 메소드들

메소드 설명
OnWindowClosing ( object sender, CancelEventArgs e ) : void

메소드 상세

GeneralCommentView() 공개 메소드

Displays a dialog to collect a comment from a user.
public GeneralCommentView ( ) : System.ComponentModel
리턴 System.ComponentModel

GeneralCommentView() 공개 메소드

Use this class to display a general purpose text/comment collection UI.
If the user does not supply data and tries to close this window then a warning dialog is shown with the requiredAdmonition message. A Yes response cancels the OnWindowClosing event giving the user another opportunity to enter a comment. A No response allows the OnWindowClosing event to proceed and the window closes. It is up to you to collect the resulting Comment from the Comment property and do with it what you will.
public GeneralCommentView ( string windowHeading, string requiredAdmonition, string windowTitle ) : System.ComponentModel
windowHeading string A message displayed at the top of the form. This this to tell your user what to do.
requiredAdmonition string This is the message displayed in a yes/no MessageBox if the user closes the window without supplying any data.
windowTitle string The title of the window.
리턴 System.ComponentModel