Пример #1
0
        private void yazıcıToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string prf = null; string[] prfs = {};
            Form   pf  = new print(false, ref prf, ref prf, ref prf, ref prf, ref prf, ref prf, ref prf);
            Form   pff = new print2(false, ref prfs, ref prfs, ref prfs, ref prfs, ref prf, ref prf, ref prf);

            pf.MdiParent = this;
            pf.Show();

            pff.MdiParent = this;
            pff.Show();
            //***/
        }
Пример #2
0
        private void button5_Click(object sender, EventArgs e)
        {
            if (listView1.Items.Count >= 1)
            {
                for (int v = 0; v <= (listView1.Items.Count - 1); v++)
                {
                    urn[v]   = listView1.Items[v].SubItems[1].Text;
                    miktr[v] = listView1.Items[v].SubItems[3].Text;
                    birm[v]  = listView1.Items[v].SubItems[4].Text;
                    tutr[v]  = listView1.Items[v].SubItems[5].Text;
                }

                Form pff = new print2(true, ref urn, ref miktr, ref birm, ref tutr, ref misim, ref mtel, ref madres);
                pff.Show();
            }
        }