///<summary>Set job if you would like to create a bug with (Enhancement) in the bug text. ///When isViewOnlyMode is true, you will not be able to create a bug. ///When isSelectedMode is true, the form will close after a double click selection or a group selection.</summary> public FormBugSubmissions(Job job = null, FormBugSubmissionMode viewMode = FormBugSubmissionMode.AddBug) { InitializeComponent(); Lan.F(this); _jobCur = job; _viewMode = viewMode; }