file assoc
This commit is contained in:
parent
15ccbd6bdc
commit
522226bec7
|
@ -29,17 +29,16 @@ namespace Mk0.Tools.FileAssociaton
|
||||||
|
|
||||||
public static void Remove(string progId, string extension, string applicationFilePath, string fileTypeDescription, string iconPath)
|
public static void Remove(string progId, string extension, string applicationFilePath, string fileTypeDescription, string iconPath)
|
||||||
{
|
{
|
||||||
//remove reg
|
//remove reg todo
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Check(string progId, string extension, string applicationFilePath, string fileTypeDescription, string iconPath)
|
public static void Check(string progId, string extension, string applicationFilePath, string fileTypeDescription, string iconPath)
|
||||||
{
|
{
|
||||||
//add or update reg
|
//add or update reg todo
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool SetAssociation(string extension, string progId, string fileTypeDescription, string applicationFilePath, string iconPath)
|
private static bool SetAssociation(string extension, string progId, string fileTypeDescription, string applicationFilePath, string iconPath)
|
||||||
{
|
{
|
||||||
//todo add file assoc icon
|
|
||||||
bool madeChanges = false;
|
bool madeChanges = false;
|
||||||
madeChanges |= SetKeyDefaultValue(@"Software\Classes\" + extension, progId);
|
madeChanges |= SetKeyDefaultValue(@"Software\Classes\" + extension, progId);
|
||||||
madeChanges |= SetKeyDefaultValue(@"Software\Classes\" + progId, fileTypeDescription);
|
madeChanges |= SetKeyDefaultValue(@"Software\Classes\" + progId, fileTypeDescription);
|
||||||
|
|
|
@ -51,6 +51,8 @@ namespace Mk0.Software.ImageSorter
|
||||||
DoubleBuffered = true;
|
DoubleBuffered = true;
|
||||||
SetDefaultPath();
|
SetDefaultPath();
|
||||||
comboBoxZoom.SelectedIndex = Properties.Settings.Default.zoom;
|
comboBoxZoom.SelectedIndex = Properties.Settings.Default.zoom;
|
||||||
|
|
||||||
|
//todo file assoc prüfen
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Main_Load(object sender, EventArgs e)
|
private void Main_Load(object sender, EventArgs e)
|
||||||
|
|
Loading…
Reference in New Issue