Example #1
0
        private void TextBlock_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            UIAddEvent UI = new UIAddEvent();

            UI.Width  = 1366;
            UI.Height = 668;
            UI.setLeft(0);
            UI.setTop(0);
            UI.CloseEvent += CloseAddEvent;
            this.UIRoot.Children.Add(UI);
        }
Example #2
0
 void UICalendar_AddChildEvent(object sender, Event e)
 {
     if (e != null)
     {
         UIAddEvent UI = new UIAddEvent();
         UI.Width  = 1366;
         UI.Height = 668;
         UI.setLeft(0);
         UI.setTop(0);
         UI.CloseEvent += CloseAddEvent;
         UI.ParentEvent = e;
         this.UIRoot.Children.Add(UI);
     }
 }
 void UICalendar_EditChildEvent(object sender, Event e)
 {
     if (e != null)
     {
         UIAddEvent UI = new UIAddEvent();
         UI.Width = 1366;
         UI.Height = 668;
         UI.setLeft(0);
         UI.setTop(0);
         UI.CloseEvent += CloseAddEvent;
         UI.Event = e;
         this.UIRoot.Children.Add(UI);
     }
 }
 private void TextBlock_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     UIAddEvent UI = new UIAddEvent();
     UI.Width = 1366;
     UI.Height = 668;
     UI.setLeft(0);
     UI.setTop(0);
     UI.CloseEvent += CloseAddEvent;
     this.UIRoot.Children.Add(UI);
 }