Exemple #1
0
        private void mnu3_Click(object sender, RoutedEventArgs e)
        {
            Rusty f2 = new Rusty();

            f2.id_idshobe = sel_id_idshobe;
            f2.id_idmen   = sel_id_idmen;
            f2.Show();
        }
Exemple #2
0
        private void mnu3_Click(object sender, RoutedEventArgs e)
        {
            Rusty f2 = new Rusty();

            f2.Title      = "فرسوده";
            f2.id_idshobe = id_idshobe;
            f2.Show();
        }
        private void button4_Click(object sender, RoutedEventArgs e)
        {
            if (sel_id_noe != "")
            {
                if (sel_id_noe == "1")
                {
                    Rusty f2 = new Rusty();
                    f2.id_idshobe = sel_id_shobe;
                    f2.id_idmen   = sel_id_men;
                    f2.Show();
                }

                if (sel_id_noe == "2")
                {
                    Leasing f3 = new Leasing();
                    f3.id_idshobe = sel_id_shobe;
                    f3.id_idmen   = sel_id_men;
                    f3.Show();
                }
            }
        }