예제 #1
0
        private void m_PutLocation()
        {
            if (textBoxCatalog.Text == "" || textBoxLocation.Text == "")
            {
                return;
            }
            textBoxLocation.Text = (c_Response.m_PutProduct(tablica[0], textBoxLocation.Text, true));

            textboxactive();
        }
예제 #2
0
 private void AddNewLocation()
 {
     if (TextBox_Catalog.Text.Length < 4 || textBoxLocation_1.Text.Length < 3)
     {
         MessageBox.Show("Wprawdz poprawne dane lokalizacji lub katolgu");
         return;
     }
     else
     {
         TextBox_Catalog.Text = responseFromService.m_PutProduct(TextBox_Catalog.Text, textBoxLocation_1.Text, false);
     }
 }