Exemplo n.º 1
0
        public static StatusStripRow GetHeaderRow(BuildRevision[] revs)
        {
            StatusStripRow row = new StatusStripRow ();
            row.IsHeader = true;
            row.HeaderText = "Mono - Trunk";

            foreach (var item in revs) {
                StatusStripCell cell = new StatusStripCell ();
                cell.Text = item.Author;
                //cell.Status = item.Status;

                //cell.Url = string.Format ("~/builds/msvc/{0}", item.Id);
                cell.IsHeader = true;
                row.Cells.Add (cell);
            }

            return row;
        }
Exemplo n.º 2
0
        public static StatusStripRow GetRow(BuildRevision[] revs)
        {
            StatusStripRow row = new StatusStripRow ();
            row.HeaderText = "msvc: windows";

            foreach (var item in revs) {
                StatusStripCell cell = new StatusStripCell ();
                cell.Text = string.Format ("{0}", item.RevisionNumber);
                cell.Status = item.Status;

                cell.Url = string.Format ("~/builds/msvc/{0}", item.Id);

                row.Cells.Add (cell);
            }

            return row;
        }