Basic Commit viewer.
[Widgit.git] / CommitViewer.cs
blob0f9a6a9bd3fabb501fbcdd040551ede1c8d4c4bf
1 using System;
2 using System.Collections.Generic;
3 using System.ComponentModel;
4 using System.Data;
5 using System.Drawing;
6 using System.Text;
7 using System.Windows.Forms;
8 using Git;
10 namespace Gitrdone
12 public partial class CommitViewer : Form
14 protected Commit m_commit;
15 public CommitViewer(Commit c)
17 m_commit = c;
18 InitializeComponent();
21 private void OnShowParent(object sender, EventArgs e)
23 Commit c = new Commit(m_commit.Path, m_parents.SelectedItem.ToString());
24 CommitViewer v = new CommitViewer(c);
25 v.Show();
28 private void OnDone(object sender, EventArgs e)
30 Close();