Example #1
0
        private void MenuClick(object sender, EventArgs e)
        {
            switch (((ToolStripItem)sender).Name)
            {
            case "config":
                FrmRecadosPrincipal config = new FrmRecadosPrincipal();
                config.ShowDialog();
                break;

            default:
                break;
            }
        }
Example #2
0
        private void ButtonClick(object sender, EventArgs e)
        {
            FrmRecadosPrincipal config = new FrmRecadosPrincipal();

            config.ShowDialog();
        }