Esempio n. 1
0
        private void InitClassModeItems()
        {
            SpeakerModeItem = new RadioPictureButtonItem()
            {
                CheckCommand = CheckClassModeCommand,
                Type         = ModeDisplayerType.SpeakerMode,
                Image        = "/Common;Component/Image/kt_zj.png",
                Name         = "主讲模式",
                GroupName    = "ClassMode"
            };
            ShareModeItem = new RadioPictureButtonItem()
            {
                CheckCommand = CheckClassModeCommand,
                Type         = ModeDisplayerType.ShareMode,
                Image        = "/Common;Component/Image/kt_kj.png",
                Name         = "课件模式",
                GroupName    = "ClassMode"
            };
            InteractionModeItem = new RadioPictureButtonItem()
            {
                CheckCommand = CheckClassModeCommand,
                Type         = ModeDisplayerType.InteractionMode,
                Image        = "/Common;Component/Image/kt_hd.png",
                Name         = "互动模式",
                GroupName    = "ClassMode"
            };

            CheckClassMode();
        }
Esempio n. 2
0
        private void InitPictureModes()
        {
            AutoPictureModeItem = new RadioPictureButtonItem()
            {
                CheckCommand = CheckPictureModeCommand,
                Type         = LayoutRenderType.AutoLayout,
                Image        = "/Common;Component/Image/kt_zdpj.png",
                Name         = "自动布局",
                GroupName    = "PictureMode"
            };
            AveragePictureModeItem = new RadioPictureButtonItem()
            {
                CheckCommand = CheckPictureModeCommand,
                Type         = LayoutRenderType.AverageLayout,
                Image        = "/Common;Component/Image/kt_pjpl.png",
                Name         = "平均排列",
                GroupName    = "PictureMode"
            };
            CloseupPictureModeItem = new RadioPictureButtonItem()
            {
                CheckCommand = CheckPictureModeCommand,
                Type         = LayoutRenderType.CloseupLayout,
                Image        = "/Common;Component/Image/kt_ydyx.png",
                Name         = "特写模式",
                GroupName    = "PictureMode"
            };
            BigSmallsPictureModeItem = new RadioPictureButtonItem()
            {
                CheckCommand = CheckPictureModeCommand,
                Type         = LayoutRenderType.BigSmallsLayout,
                Image        = "/Common;Component/Image/kt_hzh.png",
                Name         = "一大多小",
                GroupName    = "PictureMode"
            };

            CheckPictureMode();
        }