private void button_Picture_Click(object sender, RoutedEventArgs e)
        {
            if (TableCatalogEmpty == null)
            {
                MessageBox.Show("Błąd, Dodaj produkty do listy...");
                return;
            }

            if (c_responseFromService.m_BadPicture(TableCatalogEmpty, 0))
            {
                MessageBox.Show("OK!!", "Operacja zakończona z sukcesem.");
            }
            else
            {
                MessageBox.Show("Błąd", "Wystąpił pewien błąd...");
            }

            Ean.Focus();
        }
Esempio n. 2
0
        private void Button_BadImage_Click(object sender, RoutedEventArgs e)
        {
            if (textBoxCatalog.Text == "")
            {
                MessageBox.Show("Błąd, wyszukaj produkt...");
                textboxactive();
                return;
            }

            string[] tempArray = new string[1];
            tempArray[0] = textBoxCatalog.Text;

            if (c_Response.m_BadPicture(tempArray, 0))
            {
                MessageBox.Show("OK!!", "Operacja zakończona z sukcesem.");
            }
            else
            {
                MessageBox.Show("Błąd", "Wystąpił pewien błąd...");
            }


            textboxactive();
        }
Esempio n. 3
0
 private void Button_PictureModify_Click(object sender, RoutedEventArgs e)
 {
     string[] arrayTemp = TextBlock_Picture.Text.Split(new string[] { System.Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
     c_Response.m_BadPicture(arrayTemp, 2);
 }