Пример #1
0
        public PageSizeSet GetPageSizeSet(int resolution)
        {
            var set = new PageSizeSet();

            ForEach(layout => set.Add(layout.GetPageSize(resolution)));
            return(set);
        }
Пример #2
0
        void FillPageSizeMenu(LayoutSet layoutSet, int resolution)
        {
            (_size.Model as ListStore).Clear();

            _sizes = layoutSet.GetPageSizeSet(resolution);
            _sizes.ForEach(size => AppendPageSizeEntry(size));
            _size.Active = 0;
        }
Пример #3
0
 public PageSizeSet GetPageSizeSet(int resolution)
 {
   var set = new PageSizeSet();
   ForEach(layout => set.Add(layout.GetPageSize(resolution)));
   return set;
 }
Пример #4
0
        void FillPageSizeMenu(LayoutSet layoutSet, int resolution)
        {
            (_size.Model as ListStore).Clear();

              _sizes = layoutSet.GetPageSizeSet(resolution);
              _sizes.ForEach(size => AppendPageSizeEntry(size));
              _size.Active = 0;
        }