Esempio n. 1
0
        //private void GnosisSearchFrame_PropertyChanged(object sender, PropertyChangedEventArgs e)
        //{
        //    switch(e.PropertyName)
        //    {
        //        case "Caption":
        //            break;
        //        case "GnosisIcon":
        //            break;
        //        case "Hidden":
        //            this.SetVisibleExt(!hidden);
        //            break;
        //        case "Tooltip":
        //            this.ToolTip = tooltip;
        //            break;
        //    }
        //}

        public void GnosisAddChild(IGnosisMouseVisibleControlImplementation child)
        {
            if (child is IGnosisGridImplementation)
            {
                grids.Add((GnosisGrid)child);
            }
            else if (child is IGnosisMessageGridImplementation)
            {
                messageGrids.Add((GnosisMessageGrid)child);
            }
            else if (child is IGnosisPanelImplementation)
            {
                panels.Add((GnosisPanel)child);
            }
            else if (child is IGnosisTextAreaImplementation)
            {
                textAreas.Add((GnosisTextArea)child);
            }
            else if (child is IGnosisCalendarImplementation)
            {
                calendars.Add((GnosisCalendar)child);
            }
            else
            {
                GlobalData.Singleton.ErrorHandler.HandleError("AddChild unhandled in Frame - type " + ((UIElement)child).GetType().Name, "GnosisFrame.AddChild");
            }
        }
Esempio n. 2
0
 public void RemoveChild(IGnosisMouseVisibleControlImplementation gnosisControlImplementation)
 {
     gridContent.Children.Remove((UIElement)gnosisControlImplementation);
 }
Esempio n. 3
0
 public void GnosisAddChild(IGnosisMouseVisibleControlImplementation child)
 {
     throw new NotImplementedException();
 }