Skip to content

Commit

Permalink
git added
Browse files Browse the repository at this point in the history
  • Loading branch information
LooneyZ committed Jan 31, 2018
1 parent 687a2f2 commit a090097
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions MakeSectets/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public MainWindow()
{
InitializeComponent();
AppDomain.CurrentDomain.AssemblyResolve += AppDomain_AssemblyResolve;

}

private static Assembly AppDomain_AssemblyResolve(object sender, ResolveEventArgs args)
Expand All @@ -28,20 +27,17 @@ private static Assembly AppDomain_AssemblyResolve(object sender, ResolveEventArg
{
return Assembly.Load(MakeSectets.Properties.Resources.Newtonsoft_Json);
}

return null;
}

private void maFiles_Click(object sender, RoutedEventArgs e)
{
FolderBrowserDialog folderBrowser = new FolderBrowserDialog();

DialogResult result = folderBrowser.ShowDialog();

if (!string.IsNullOrWhiteSpace(folderBrowser.SelectedPath))
{
files = Directory.GetFiles(folderBrowser.SelectedPath);

}

textmaFiles.Text = "maFiles: " + folderBrowser.SelectedPath;
Expand All @@ -50,7 +46,6 @@ private void maFiles_Click(object sender, RoutedEventArgs e)
private void SID_Click(object sender, RoutedEventArgs e)
{
FolderBrowserDialog folderBrowser = new FolderBrowserDialog();

DialogResult result = folderBrowser.ShowDialog();

SIDIpath = folderBrowser.SelectedPath;
Expand Down Expand Up @@ -89,7 +84,6 @@ private void Start_Click(object sender, RoutedEventArgs e)
{

}

}
if(counter == 0) System.Windows.MessageBox.Show($"Generated {counter} files.\nSeems that you entered the wrong way or files are crypted.\n\nСгенерировано {counter} файлов.\nПохоже Вы указали неверный путь или файлы зашифрованы.");
else System.Windows.MessageBox.Show($"Generated {counter} files\n\nСгенерировано {counter} файлов.");
Expand Down

0 comments on commit a090097

Please sign in to comment.