Exemple #1
0
        private void abrirToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog openFileDialog1 = new OpenFileDialog();

            openFileDialog1.Filter = "Security File|*.sec";
            openFileDialog1.Title  = "Select File";

            if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                FormNewItem item = new FormNewItem(this, ItemType.Abrir, openFileDialog1.FileName);
                item.ShowDialog();
            }
        }
Exemple #2
0
        private void salvarComoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormNewItem key = new FormNewItem(this, ItemType.Salvar);

            key.ShowDialog();
        }
Exemple #3
0
        private void novaContaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormNewItem newAccount = new FormNewItem(this, ItemType.Conta);

            newAccount.ShowDialog();
        }