Exemplo n.º 1
0
        private void initialize()
        {
            alignmentSelector.setCreator(this);
            alignmentSelector.alignmentChangedHandler = new AlignmentSelector.creatorEventHandler(alignmentChanged);

            selectedObject = null;

            initializeDialogs();

            populateFonts();
            populateSizes();

            setCurrentFont(fontDialog.Font, true);
            setCurrentColor(colorDialog.Color, true);
            setCurrentAlignment(alignmentSelector.alignment, true);

            updateSides();

            fChooser = new FileChooser(this);
            Controls.Add(fChooser);

            changed                = false;
            templateChanged        = false;
            promptAtTemplateChange = true;
        }
Exemplo n.º 2
0
        private void initialize()
        {
            alignmentSelector.setCreator(this);
            alignmentSelector.alignmentChangedHandler = new AlignmentSelector.creatorEventHandler(alignmentChanged);

            selectedObject = null;

            initializeDialogs();

            populateFonts();
            populateSizes();

            setCurrentFont(fontDialog.Font, true);
            setCurrentColor(colorDialog.Color, true);
            setCurrentAlignment(alignmentSelector.alignment, true);

            updateSides();

            fChooser = new FileChooser(this);
            Controls.Add(fChooser);

            changed = false;
            templateChanged = false;
            promptAtTemplateChange = true;
        }