Ejemplo n.º 1
0
        private void FrmFunc_Load(object sender, EventArgs e)
        {
            tsBotoes.ImageList = imlBotoes;
            int indice = 0;

            foreach (ToolStripItem item in tsBotoes.Items)
            {
                if (item is ToolStripButton)
                {
                    (item as ToolStripButton).ImageIndex = indice++;
                }
            }

            bool SelecionouArquivo = false;


            while (!(SelecionouArquivo))
            {
                SelecionouArquivo = dlgAbrir.ShowDialog() == DialogResult.OK;
            }

            asPalavras = new VetCadastro(100);
            asPalavras.LerDados(dlgAbrir.FileName);

            asPalavras.PosicionarNoInicio();
            AtualizarTela();
        }
Ejemplo n.º 2
0
 public Forca()
 {
     InitializeComponent();
     vetor = new VetCadastro(100);
 }