private void Button_Click(object sender, RoutedEventArgs e) { WindowAdd wnd = new WindowAdd(); if (wnd.ShowDialog() == true) { wnd = null; } //Directory.Delete(Environment.CurrentDirectory + ConfigurationManager.AppSettings["ImagePath"].ToString(), true); }
private void Button_Click(object sender, RoutedEventArgs e) { WindowAdd wnd = new WindowAdd(); wnd.Show(); }