Ejemplo n.º 1
0
        private void UIBtnAddUser_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            UIUserEdit item = new UIUserEdit();

            item.setLeft(0);
            item.setTop(90);
            item.Width       = 1366;
            item.Height      = 578;
            item.CloseEvent += Item_CloseEvent;

            this.UIRoot.Children.Add(item);
        }
Ejemplo n.º 2
0
        private void Item_ViewInfouserEvent(object sender, UserData e)
        {
            if (e != null)
            {
                UIUserEdit item = new UIUserEdit();
                item.setLeft(0);
                item.setTop(90);
                item.Width            = 1366;
                item.Height           = 578;
                item.User             = e;
                item.CloseEvent      += Item_CloseEvent;
                item.DeleteUserEvent += Item_DeleteUserEvent1;

                this.UIRoot.Children.Add(item);
            }
        }
 private void UIBtnAddUser_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     UIUserEdit item = new UIUserEdit();
     item.setLeft(0);
     item.setTop(90);
     item.Width = 1366;
     item.Height = 578;
     item.CloseEvent += Item_CloseEvent;
    
     this.UIRoot.Children.Add(item);
 }
 private void Item_ViewInfouserEvent(object sender, UserData e)
 {
     if (e != null)
     {
         UIUserEdit item = new UIUserEdit();
         item.setLeft(0);
         item.setTop(90);
         item.Width = 1366;
         item.Height = 578;
         item.User = e;
         item.CloseEvent += Item_CloseEvent;
         item.DeleteUserEvent += Item_DeleteUserEvent1;
       
         this.UIRoot.Children.Add(item);
     }
 }