Пример #1
0
 void amount()
 {
     try
     {
         Kustia_Trading_Agency_Management_BL     kta_bl       = new Kustia_Trading_Agency_Management_BL();
         Kustia_Trading_Agency_Management_Entity information1 = new Kustia_Trading_Agency_Management_Entity();
         information1.ship_name = comboBox1.Text;
         string n = kta_bl.amount(information1);
         amnt        = float.Parse(n);
         label5.Text = "Available : " + amnt;
         // label5.Text = n;
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
     }
 }