示例#1
0
    public void DisplayAllRecords()
    {
        List <CloningRecord> cloningRecords = CloningConsole.CloningRecords;

        recordList.Clear();
        recordList.AddItems(cloningRecords.Count);

        for (int i = 0; i < cloningRecords.Count; i++)
        {
            GUI_CloningRecordItem item = recordList.Entries[i] as GUI_CloningRecordItem;
            item.gui_Cloning   = this;
            item.cloningRecord = cloningRecords[i];
            item.SetValues();
        }
    }
示例#2
0
    public void DisplayAllRecords()
    {
        recordList.Clear();
        recordList.AddItems(CloningConsole.CloningRecords.Count());

        var i = 0;

        foreach (var cloningRecord in CloningConsole.CloningRecords)
        {
            GUI_CloningRecordItem item = recordList.Entries[i] as GUI_CloningRecordItem;
            item.gui_Cloning   = this;
            item.cloningRecord = cloningRecord;
            item.SetValues();
            i++;
        }
    }