Esempio n. 1
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();
        }
Esempio n. 2
0
File: Form8.cs Progetto: latl7/pia
        private void GenRepButton_Click(object sender, EventArgs e)
        {
            var texts = this.checkedListBox1.CheckedItems.Cast <object>()
                        .Select <object, string>(x => this.checkedListBox1.GetItemText(x));

            if (!texts.Contains("There are no search Results"))
            {
                Interface1.Repget(texts);
            }

            Form7 frm7 = new Form7();

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