private void btn_update_Click(object sender, RoutedEventArgs e)
        {
            foreach (var item in ucCollection)
            {
                if (item.ID == null)
                {
                    ucNewItems.Add(item);
                }
                else
                {
                    ucUpdatedItems.Add(item);
                }
            }

            resultWindow.configure("Обновить таблицу?");
            resultWindow.Show();
            btn_update.Visibility = Visibility.Collapsed;
        }
Exemple #2
0
        //--- Обработчики событий -------------------------------------------------
        void proxy_SendMessageReceived(object sender, SendMessageReceivedEventArgs e)
        {
            cwnd_Message w = new cwnd_Message(e.Message);

            w.Show();
        }