Esempio n. 1
0
        private void Form22_Load(object sender, EventArgs e)
        {
            //String[] RoleGIDList = values.trim().split("\\s*,\\s*");
            String [] results = values.Split(',');
            if (results.Length == 1)
            {
                Form6 f6 = new Form6(Convert.ToInt64(results[0]));
                f6.Show();
            }
            else if (results.Length == 2)
            {
                Form8 f8 = new Form8(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]));
                f8.Show();
            }

            else if (results.Length == 3)
            {
                Form7 f7 = new Form7(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]));
                f7.Show();
            }

            else if (results.Length == 4)
            {
                Form9 f9 = new Form9(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]));
                f9.Show();
            }
            else if (results.Length == 5)
            {
                Form10 f10 = new Form10(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]));
                f10.Show();
            }

               else if(results.Length == 6)
               {
               Form12 f12 = new Form12(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]));
               f12.Show();
            }
               else if (results.Length == 7)
               {
               Form13 f13 = new Form13(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]), Convert.ToInt64(results[6]));
               f13.Show();
               }

            //ArrayList<String> RoleGID = Arrays.asList(values.split(","));
        }
Esempio n. 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     Form7 f7 = new Form7(165356240917, 165356240976, 165356240979);
     f7.Show();
 }
Esempio n. 3
0
 private void button13_Click(object sender, EventArgs e)
 {
     Form7 f7 = new Form7(165356240925, 165356240977, 165356240978);
     f7.Show();
 }
Esempio n. 4
0
 private void button20_Click(object sender, EventArgs e)
 {
     Form7 f7 = new Form7(165356240939, 165356240977, 165356240982);
     f7.Show();
 }
Esempio n. 5
0
        private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
        {
            //  Form22 f = new Form22(treeView1.SelectedNode.Name.ToString());
            //f.Show();
            String values = treeView1.SelectedNode.Name.ToString();
            String[] results = values.Split(',');
            if (results.Length == 0)
            {
                //Form6 f6 = new Form6(Convert.ToInt64(results[0]));
                //f6.Show();
            }
            else if (results.Length == 1)
            {
                Form6 f6 = new Form6(Convert.ToInt64(results[0]));
                f6.Show();
            }
            else if (results.Length == 2)
            {
                Form8 f8 = new Form8(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]));
                f8.Show();
            }

            else if (results.Length == 3)
            {
                Form7 f7 = new Form7(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]));
                f7.Show();
            }

            else if (results.Length == 4)
            {
                Form9 f9 = new Form9(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]));
                f9.Show();
            }
            else if (results.Length == 5)
            {
                Form10 f10 = new Form10(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]));
                f10.Show();
            }

            else if (results.Length == 6)
            {
                Form12 f12 = new Form12(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]));
                f12.Show();
            }
            else if (results.Length == 7)
            {
                Form13 f13 = new Form13(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]), Convert.ToInt64(results[6]));
                f13.Show();
            }
            else if (results.Length == 8)
            {
                Form23 f23 = new Form23(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]), Convert.ToInt64(results[6]), Convert.ToInt64(results[7]));
                f23.Show();
            }

            else if (results.Length == 9)
            {
                Form24 f24 = new Form24(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]), Convert.ToInt64(results[6]), Convert.ToInt64(results[7]), Convert.ToInt64(results[8]));
                f24.Show();
            }
            else if (results.Length == 10)
            {
                Form25 f25 = new Form25(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]), Convert.ToInt64(results[6]), Convert.ToInt64(results[7]), Convert.ToInt64(results[8]), Convert.ToInt64(results[9]));
                f25.Show();
            }
            else if (results.Length == 11)
            {
                Form26 f26 = new Form26(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]), Convert.ToInt64(results[6]), Convert.ToInt64(results[7]), Convert.ToInt64(results[8]), Convert.ToInt64(results[9]), Convert.ToInt64(results[10]));
                f26.Show();
            }
            else if (results.Length == 12)
            {
                Form27 f27 = new Form27(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]), Convert.ToInt64(results[6]), Convert.ToInt64(results[7]), Convert.ToInt64(results[8]), Convert.ToInt64(results[9]), Convert.ToInt64(results[10]), Convert.ToInt64(results[11]));
                f27.Show();
            }
            else if (results.Length == 13)
            {
                Form28 f28 = new Form28(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]), Convert.ToInt64(results[6]), Convert.ToInt64(results[7]), Convert.ToInt64(results[8]), Convert.ToInt64(results[9]), Convert.ToInt64(results[10]), Convert.ToInt64(results[11]), Convert.ToInt64(results[12]));
                f28.Show();
            }
            else if (results.Length == 14)
            {
                Form29 f29 = new Form29(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]), Convert.ToInt64(results[6]), Convert.ToInt64(results[7]), Convert.ToInt64(results[8]), Convert.ToInt64(results[9]), Convert.ToInt64(results[10]), Convert.ToInt64(results[11]), Convert.ToInt64(results[12]), Convert.ToInt64(results[13]));
                f29.Show();
            }
            else if (results.Length == 15)
            {
                Form30 f30 = new Form30(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]), Convert.ToInt64(results[6]), Convert.ToInt64(results[7]), Convert.ToInt64(results[8]), Convert.ToInt64(results[9]), Convert.ToInt64(results[10]), Convert.ToInt64(results[11]), Convert.ToInt64(results[12]), Convert.ToInt64(results[13]), Convert.ToInt64(results[14]));
                f30.Show();
            }
            else if (results.Length == 16)
            {
                Form31 f31 = new Form31(Convert.ToInt64(results[0]), Convert.ToInt64(results[1]), Convert.ToInt64(results[2]), Convert.ToInt64(results[3]), Convert.ToInt64(results[4]), Convert.ToInt64(results[5]), Convert.ToInt64(results[6]), Convert.ToInt64(results[7]), Convert.ToInt64(results[8]), Convert.ToInt64(results[9]), Convert.ToInt64(results[10]), Convert.ToInt64(results[11]), Convert.ToInt64(results[12]), Convert.ToInt64(results[13]), Convert.ToInt64(results[14]), Convert.ToInt64(results[15]));
                f31.Show();
            }
        }