Example #1
0
        public void btnAddNew_Click(object sender, EventArgs e)
        {
            string novo  = "novo relatorio";
            int    count = 1;

            for (int i = 0; i < ABAS.TabPages.Count; i++)
            {
                if (ABAS.TabPages[i].Text.StartsWith(novo))
                {
                    count++;
                }
            }

            novo = novo + count.ToString();

            Report.Report report = new Report.Report();

            FormatScreen.AddTab(ABAS, novo, report);

            report.LOAD(novo, true);
        }