Ejemplo n.º 1
0
        void callback3()
        {
            control_Recycle_Message = new Recycle_Message(this);
            RecycleVM vm= control_Recycle_Message.DataContext as RecycleVM;
            if (vm.List_Messages.Count != 0 || vm.List_ConfirmMessages.Count != 0)
            {
                Thread thread = new Thread(new ThreadStart(threadDo));
                thread.Start();
            }

        }
Ejemplo n.º 2
0
 private void btn_Message_Click(object sender, EventArgs e)
 {
     isbreak = true;
     if (control_Recycle_Message != null)
     {
         MenuContent.Children.Clear();
         MenuContent.Children.Add(control_Recycle_Message);
         Storyboard1.Begin();
         grid_Content.IsHitTestVisible = false;
     }
     else
     {
         control_Recycle_Message = new Recycle_Message(this);
         MenuContent.Children.Clear();
         MenuContent.Children.Add(control_Recycle_Message);
         Storyboard1.Begin();
         grid_Content.IsHitTestVisible = false;
     }
 }