Exemple #1
0
        private void Delete_Click(object sender, RoutedEventArgs e)
        {
            int id = int.Parse(((Button)sender).Uid);

            MessageDialog        = new wMessage(5, id);
            Globals.Main.Opacity = 0.6;
            MessageDialog.ShowDialog();
        }
        private void dpMouse_Click(object sender, MouseButtonEventArgs e)
        {
            int id = Yachts[int.Parse(((StackPanel)sender).Uid)].id;

            Message = new wMessage(3, id);
            Globals.Main.Opacity = 0.6;
            Message.ShowDialog();
        }