Exemple #1
0
        private void NewBDBut_Click(object sender, EventArgs e)
        {
            ActionsPanel.Controls.Add(ui.Actions("create", BdName.Text));

            fileWorker.CreateBd(BdName.Text);
            BdName.Clear();
        }
Exemple #2
0
        private void DeleteBDBut_Click(object sender, EventArgs e)
        {
            ActionsPanel.Controls.Add(ui.Actions("delete", BdName.Text));

            fileWorker.DeleteBD(BdName.Text);
            BdName.Clear();
        }
Exemple #3
0
        private void NextStepBut_Click(object sender, EventArgs e)
        {
            bdhandler.Visible            = true;
            bdhandler.DirectoryPath.Text = DirectoryPath.Text;
            BdName.Clear();

            AnimationTimer.Enabled = false;
            while (ActionsPanel.Controls.Count > 0)
            {
                ActionsPanel.Controls.RemoveAt(0);
            }

            bdhandler.DirectoryPath_TextChanged(null, null);
        }