New dialog for adding profiles

This commit is contained in:
Miskolczi Richárd
2023-03-24 13:01:49 +01:00
parent bc08238545
commit b06568fb27
9 changed files with 201 additions and 4 deletions

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Password_Manager
{
public partial class NewProfileForm : Form
{
public NewProfileForm()
{
InitializeComponent();
}
private void ChooseFolder(object sender, EventArgs e)
{
FolderBrowserDialog dialog = new FolderBrowserDialog();
if (dialog.ShowDialog() == DialogResult.OK)
{
pathTextBox.Text = dialog.SelectedPath;
}
}
}
}