Example #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Search_cars2 search_Cars2 = new Search_cars2();

            search_Cars2.flag   = true;
            search_Cars2.Height = 335;
            search_Cars2.ShowDialog();
        }
Example #2
0
        private void show_client_Cars_Click(object sender, RoutedEventArgs e)
        {
            Search_cars2 search_Cars2 = new Search_cars2();

            search_Cars2.mes_ += (x, y, USD, KGS, IdCurs) =>
            {
                cars_id             = Convert.ToInt32(x);
                summ_cars           = Convert.ToDouble(summ);
                kurs_cars           = Convert.ToDouble(kurs);
                textboxCarsUsd.Text = USD;
                textboxCarsKGS.Text = KGS;
                textbox_cars.Text   = y;
                IdCarsCurs          = IdCurs;
                KgsCars             = KGS;
                UsdCars             = USD;
            };
            search_Cars2.ShowDialog();
        }
Example #3
0
        private void DataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Search_cars2 search_Cars2 = new Search_cars2();

            search_Cars2.ShowDialog();
        }