Tidied up some unneeded references

This commit is contained in:
temacdonald 2020-05-15 21:02:44 +12:00
parent 816950b744
commit da6fbc610e
3 changed files with 0 additions and 37 deletions

View File

@ -2,7 +2,6 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Reflection;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
using System.Windows.Forms; using System.Windows.Forms;
@ -10,18 +9,12 @@ using System.Diagnostics;
using WindowsDisplayAPI.DisplayConfig; using WindowsDisplayAPI.DisplayConfig;
using HeliosPlus.Shared.Resources; using HeliosPlus.Shared.Resources;
using Newtonsoft.Json; using Newtonsoft.Json;
//using NvAPIWrapper.Display;
using NvAPIWrapper.GPU;
using NvAPIWrapper.Mosaic; using NvAPIWrapper.Mosaic;
//using Appccelerate.StateMachine;
using NvAPIWrapper.Native.Mosaic; using NvAPIWrapper.Native.Mosaic;
using HeliosPlus.Shared.Topology; using HeliosPlus.Shared.Topology;
using System.Drawing; using System.Drawing;
using System.Drawing.Imaging; using System.Drawing.Imaging;
using WindowsDisplayAPI; using WindowsDisplayAPI;
using WindowsDisplayAPI.DisplayConfig;
using WindowsDisplayAPI.Native.DisplayConfig;
using System.Text.RegularExpressions;
namespace HeliosPlus.Shared namespace HeliosPlus.Shared
{ {

View File

@ -13,9 +13,6 @@ namespace HeliosPlus.UIForms
{ {
internal partial class DisplayProfileForm : Form internal partial class DisplayProfileForm : Form
{ {
private const string GroupActive = "active";
private const string GroupCurrent = "current";
private const string GroupSaved = "saved";
private Profile _selectedProfile; private Profile _selectedProfile;
private List<Profile> _savedProfiles = new List<Profile>(); private List<Profile> _savedProfiles = new List<Profile>();
private string _saveOrRenameMode = "save"; private string _saveOrRenameMode = "save";

View File

@ -1,7 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing.IconLib; using System.Drawing.IconLib;
using System.Drawing.IconLib.Exceptions;
using System.Drawing; using System.Drawing;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
@ -11,9 +10,6 @@ using System.Windows.Forms;
using HeliosPlus.Resources; using HeliosPlus.Resources;
using HeliosPlus.Shared; using HeliosPlus.Shared;
using HeliosPlus.GameLibraries; using HeliosPlus.GameLibraries;
using NvAPIWrapper.Native.GPU;
using TsudaKageyu;
using System.Text.RegularExpressions;
using System.Globalization; using System.Globalization;
namespace HeliosPlus.UIForms namespace HeliosPlus.UIForms
@ -24,33 +20,10 @@ namespace HeliosPlus.UIForms
List<SteamGame> _allSteamGames; List<SteamGame> _allSteamGames;
internal Profile[] _allProfiles; internal Profile[] _allProfiles;
/* private ListViewItem AddProfile(Profile profile = null)
{
il_profiles.Images.Add(
new ProfileIcon(profile ?? Profile.GetCurrent()).ToBitmap(
il_profiles.ImageSize.Width,
il_profiles.ImageSize.Height));
return lv_profiles.Items.Add(new ListViewItem
{
Text = profile?.Name ?? Language.Current,
ImageIndex = il_profiles.Images.Count - 1,
Tag = profile,
Group =
lv_profiles.Groups[profile == null ? GroupCurrent : (profile.IsActive ? GroupActive : GroupSaved)]
});
}*/
public ShortcutForm() public ShortcutForm()
{ {
InitializeComponent(); InitializeComponent();
/*lv_profiles.Groups.Add(GroupCurrent, Language.Current);
lv_profiles.Groups.Add(GroupActive, Language.Active_Profiles);
lv_profiles.Groups.Add(GroupSaved, Language.Saved_Profiles);
lbl_version.Text = string.Format(lbl_version.Text, Assembly.GetExecutingAssembly().GetName().Version);*/
} }
public ShortcutForm(Profile profile) : this() public ShortcutForm(Profile profile) : this()