public void Show(AugmentedBindable <PDFDocument> pdf_document_bindable) { FeatureTrackingManager.Instance.UseFeature(Features.Document_MetadataCommentEditor); Show(); this.pdf_document_bindable = pdf_document_bindable; DataContext = pdf_document_bindable; Keyboard.Focus(TextComments); TextComments.ScrollToEnd(); TextComments.SelectionStart = TextComments.Text.Length; }
private UnhandledExceptionMessageBox() { InitializeComponent(); this.WindowStartupLocation = WindowStartupLocation.CenterScreen; this.WindowState = WindowState.Normal; this.Icon = Icons.GetAppIconICO(Icons.Qiqqa); this.ObjImage.Stretch = Stretch.Fill; this.ObjImage.Source = Backgrounds.GetBackground(Backgrounds.ExceptionDialogBackground); TextComments.Focus(); }
private UnhandledExceptionMessageBox() { //Theme.Initialize(); -- already done in StandardWindow base class InitializeComponent(); //this.WindowStartupLocation = WindowStartupLocation.CenterScreen; WindowState = WindowState.Normal; Icon = Icons.GetAppIconICO(Icons.Qiqqa); ObjImage.Stretch = Stretch.Fill; ObjImage.Source = Backgrounds.GetBackground(Backgrounds.ExceptionDialogBackground); TextComments.Focus(); }
private UnhandledExceptionMessageBox() { // Collect all generations of memory. GC.Collect(); InitializeComponent(); //this.WindowStartupLocation = WindowStartupLocation.CenterScreen; WindowState = WindowState.Normal; Icon = Icons.GetAppIconICO(Icons.Qiqqa); ObjImage.Stretch = Stretch.Fill; ObjImage.Source = Backgrounds.GetBackground(Backgrounds.ExceptionDialogBackground); TextComments.Focus(); }
void Feedback_Shown(object sender, EventArgs e) { TextComments.Focus(); }