PageRenderTime 48ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/Plugins/Gerrit/FormGerritChangeSubmitted.cs

https://github.com/eisnerd/gitextensions
C# | 32 lines | 28 code | 4 blank | 0 comment | 0 complexity | ea3e4bbe7d4bed902f6ed5965926930e MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Diagnostics;
  6. using System.Drawing;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Windows.Forms;
  10. using GitUI;
  11. namespace Gerrit
  12. {
  13. public partial class FormGerritChangeSubmitted : GitExtensionsForm
  14. {
  15. public FormGerritChangeSubmitted()
  16. {
  17. InitializeComponent();
  18. Translate();
  19. }
  20. public static void ShowSubmitted(IWin32Window owner, string change)
  21. {
  22. var form = new FormGerritChangeSubmitted();
  23. form._NO_TRANSLATE_TargetLabel.Text = change;
  24. form._NO_TRANSLATE_TargetLabel.Click += (s, e) => Process.Start(change);
  25. form.ShowDialog(owner);
  26. }
  27. }
  28. }