Exemplo n.º 1
0
        void OnLayoutManagerAfterLoad(object sender, EventArgs e)
        {
            ViewModelLayoutData layoutData = ViewModelLayoutData.GetLayoutData();

            ShowViewCaption = layoutData.CurrentCustomerRentsEditShowViewCaption;
            GridUIOptions   = layoutData.CurrentCustomerRentsEditGridUIOptions;
        }
Exemplo n.º 2
0
        void OnLayoutManagerAfterLoad(object sender, EventArgs e)
        {
            ViewModelLayoutData layoutData = ViewModelLayoutData.GetLayoutData();

            GridView      = layoutData.MoviesEditGridView;
            GridUIOptions = layoutData.MoviesEditGridUIOptions;
        }
Exemplo n.º 3
0
        void OnLayoutManagerBeforeSave(object sender, EventArgs e)
        {
            ViewModelLayoutData layoutData = ViewModelLayoutData.GetLayoutData();

            layoutData.MovieCategoriesEditChartPaletteName    = ChartPaletteName;
            layoutData.MovieCategoriesEditChartMarkerSize     = ChartMarkerSize;
            layoutData.MovieCategoriesEditChartMarkerAngle    = ChartMarkerAngle;
            layoutData.MovieCategoriesEditChartMarkerKindName = ChartMarkerKindName;
        }
Exemplo n.º 4
0
        public static ViewModelLayoutData GetLayoutData()
        {
            XPCollection <ViewModelLayoutData> layoutDataCollection = LayoutManager.Current.GetLayoutData <ViewModelLayoutData>();

            if (layoutDataCollection.Count != 0)
            {
                return(layoutDataCollection[0]);
            }
            ViewModelLayoutData layoutData = new ViewModelLayoutData(VideoRentCurrentUser.GetCurrentUser(LayoutManager.Current.Session));

            LayoutManager.Current.LayoutData.Add(layoutData);
            return(layoutData);
        }
Exemplo n.º 5
0
 void OnLayoutManagerBeforeSave(object sender, EventArgs e)
 {
     ViewModelLayoutData.GetLayoutData().CurrentCustomerOid = CurrentCustomerOid;
 }
Exemplo n.º 6
0
 void OnLayoutManagerAfterLoad(object sender, EventArgs e)
 {
     CurrentCustomerOid = ViewModelLayoutData.GetLayoutData().CurrentCustomerOid;
 }
Exemplo n.º 7
0
        void OnLayoutManagerBeforeSave(object sender, EventArgs e)
        {
            ViewModelLayoutData layoutData = ViewModelLayoutData.GetLayoutData();

            layoutData.CurrentCustomerRentsEditShowViewCaption = ShowViewCaption;
        }
Exemplo n.º 8
0
 void OnLayoutManagerBeforeSave(object sender, EventArgs e)
 {
     ViewModelLayoutData layoutData = ViewModelLayoutData.GetLayoutData();
 }
Exemplo n.º 9
0
        void OnLayoutManagerBeforeSave(object sender, EventArgs e)
        {
            ViewModelLayoutData layoutData = ViewModelLayoutData.GetLayoutData();

            layoutData.MoviesEditGridView = GridView;
        }