Esempio n. 1
0
        private void button5_Click(object sender, EventArgs e)
        {
            var texts = this.checkedListBox1.CheckedItems.Cast <object>()
                        .Select <object, string>(x => this.checkedListBox1.GetItemText(x));

            foreach (string r in texts)
            {
                Interface1.CurrentReportView(r);
            }

            string text = File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory + @"\PIA\Reports\" + Interface1.CurRepViewSend());
            string Name = AppDomain.CurrentDomain.BaseDirectory + @"\PIA\Reports\" + Interface1.CurRepViewSend();

            Interface1.ReptoCSV(text, Name);
        }
Esempio n. 2
0
        private void button4_Click_1(object sender, EventArgs e)
        {
            var texts = this.checkedListBox1.CheckedItems.Cast <object>()
                        .Select <object, string>(x => this.checkedListBox1.GetItemText(x));

            foreach (string r in texts)
            {
                Interface1.CurrentReportView(r);
            }
            Form7 frm7 = new Form7();

            frm7.StartPosition = FormStartPosition.CenterScreen;
            frm7.Show();
            this.Close();
        }