Exemple #1
0
        private void UIBtnAddUser_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            UIDeviceEdit item = new UIDeviceEdit();

            item.setLeft(0);
            item.setTop(90);
            item.Height      = 578;
            item.Width       = 1366;
            item.CloseEvent += Item_CloseEvent;
            this.UIRoot.Children.Add(item);
        }
Exemple #2
0
 private void Item_ViewInfoEvent(object sender, DeviceData e)
 {
     if (e != null)
     {
         UIDeviceEdit item = new UIDeviceEdit();
         item.setLeft(0);
         item.setTop(90);
         item.Height      = 578;
         item.Width       = 1366;
         item.Device      = e;
         item.CloseEvent += Item_CloseEvent;
         this.UIRoot.Children.Add(item);
     }
 }
 private void UIBtnAddUser_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     UIDeviceEdit item = new UIDeviceEdit();
     item.setLeft(0);
     item.setTop(90);
     item.Height = 578;
     item.Width = 1366;
     item.CloseEvent += Item_CloseEvent;
     this.UIRoot.Children.Add(item);
 }
 private void Item_ViewInfoEvent(object sender, DeviceData e)
 {
     if (e != null)
     {
         UIDeviceEdit item = new UIDeviceEdit();
         item.setLeft(0);
         item.setTop(90);
         item.Height = 578;
         item.Width = 1366;
         item.Device = e;
         item.CloseEvent += Item_CloseEvent;
         this.UIRoot.Children.Add(item);
     }
 }