Exemplo n.º 1
0
        private void Delete_Click(object sender, RoutedEventArgs e)
        {
            BACAClient.Model.Collection model = new BACAClient.Model.Collection
            {
                UserID = this.UserId,
                LngId  = this.model.LngId,
                TypeID = this.model.TypeId
            };
            MESSAGE message = new MESSAGE();

            OpenWindows.Prompt(message.RemoveSuccess);
            this.Refresh();
        }
Exemplo n.º 2
0
        private void DeleteAll_Click(string Name)
        {
            TypeInitialization initialization = new TypeInitialization();

            BACAClient.Model.Collection model = new BACAClient.Model.Collection
            {
                UserID = this.model.UserId,
                TypeID = initialization.INT,
                LngId  = initialization.INT
            };
            MESSAGE message = new MESSAGE();

            OpenWindows.Prompt(message.RemoveSuccess);
        }