update progress updater
This commit is contained in:
@@ -6,6 +6,7 @@ using System.Collections.Generic;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Microsoft.VisualBasic;
|
using Microsoft.VisualBasic;
|
||||||
|
using Telerik.WinControls.UI;
|
||||||
|
|
||||||
namespace SM64_ROM_Manager.ProgressUpdater
|
namespace SM64_ROM_Manager.ProgressUpdater
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ namespace SM64_ROM_Manager.ProgressUpdater
|
|||||||
RadListDataItem selectedItem = null;
|
RadListDataItem selectedItem = null;
|
||||||
foreach (RadListDataItem item in RadListControl_Paragraph.Items)
|
foreach (RadListDataItem item in RadListControl_Paragraph.Items)
|
||||||
{
|
{
|
||||||
if (selectedItem == null && item is RadCheckedListDataItem && ((RadCheckedListDataItem)item).Checked)
|
if (selectedItem == null && item.Selected)
|
||||||
selectedItem = item;
|
selectedItem = item;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@ namespace SM64_ROM_Manager.ProgressUpdater
|
|||||||
RadListControl_Paragraph.Refresh();
|
RadListControl_Paragraph.Refresh();
|
||||||
|
|
||||||
if (RadListControl_Paragraph.Items.Any())
|
if (RadListControl_Paragraph.Items.Any())
|
||||||
((RadCheckedListDataItem)RadListControl_Paragraph.Items[0]).Checked = true;
|
RadListControl_Paragraph.Items[0].Selected = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<StartupObject>SM64_ROM_Manager.ProgressUpdater.My.MyApplication</StartupObject>
|
<StartupObject>SM64_ROM_Manager.ProgressUpdater.My.MyApplication</StartupObject>
|
||||||
|
|||||||
Reference in New Issue
Block a user