/// @brief コンストラクタ
        public AreaSelectForm(BindingSource layoutParameters)
        {
            //---------------------------------------------------------------
            // DO NOT DELETE THIS!!!
            InitializeComponent();
            //---------------------------------------------------------------

            layout_parameters_ = layoutParameters;
            movable_and_resizable_ = new MovableAndResizable(this, false);
        }
        /// @brief コンストラクタ
        public AreaSelectForm(BindingSource layoutParameters)
        {
            //---------------------------------------------------------------
            // DO NOT DELETE THIS!!!
            InitializeComponent();
            //---------------------------------------------------------------

            layout_parameters_     = layoutParameters;
            movable_and_resizable_ = new MovableAndResizable(this, false);
        }
        /// @brief コンストラクタ
        public PreviewControl(BindingSource layout_parameters, int index)
        {
            //---------------------------------------------------------------
            // DO NOT DELETE THIS!!!
            InitializeComponent();
            //---------------------------------------------------------------

            index_ = index;
            layout_parameters_ = layout_parameters;

            movable_and_resizable_ = new MovableAndResizable(this, true);

            // Bitmap作成+1回スクリーンキャプチャ
            LayoutParameter target_parameter = GetTargetParameter();
            captured_bitmap_ = new Bitmap(target_parameter.ClippingWidth, target_parameter.ClippingHeight);
            ScreenCapture();

            info_font_ = new Font("Verdana", 10, FontStyle.Bold);
            info_point_f_ = new PointF(0, 0);
        }
Пример #4
0
        /// @brief コンストラクタ
        public PreviewControl(BindingSource layout_parameters, int index)
        {
            //---------------------------------------------------------------
            // DO NOT DELETE THIS!!!
            InitializeComponent();
            //---------------------------------------------------------------

            index_             = index;
            layout_parameters_ = layout_parameters;

            movable_and_resizable_ = new MovableAndResizable(this, true);

            // Bitmap作成+1回スクリーンキャプチャ
            LayoutParameter target_parameter = GetTargetParameter();

            captured_bitmap_ = new Bitmap(target_parameter.ClippingWidth, target_parameter.ClippingHeight);
            ScreenCapture();

            info_font_    = new Font("Verdana", 10, FontStyle.Bold);
            info_point_f_ = new PointF(0, 0);
        }