コード例 #1
0
 public SMImageButton(MNPage p) : base(p)
 {
     ImgA              = new MNLazyImage(p.Document);
     Evaluation        = MNEvaluationType.None;
     ContentArangement = SMContentArangement.ImageOnly;
     Clickable         = true;
     rt = new SMRichText(this);
 }
コード例 #2
0
 public SMCheckBox(MNPage p)
     : base(p)
 {
     Text          = "Check Box";
     Evaluation    = MNEvaluationType.Inherited;
     CheckBoxAtEnd = false;
     richText      = new SMRichText(this);
 }
コード例 #3
0
ファイル: SMLabel.cs プロジェクト: gopa810/Rambha
 public SMLabel(MNPage p)
     : base(p)
 {
     Text          = "Label";
     RichContent   = true;
     RunningLine   = SMRunningLine.Natural;
     richText      = new SMRichText(this);
     Area.BackType = SMBackgroundType.None;
 }
コード例 #4
0
        public SMTitledMessage(MNPage p)
            : base(p)
        {
            Visible                 = true;
            titleRichText           = new SMRichText();
            titleRichText.Font.Size = 17;
            titleRichText.Font.Name = MNFontName.ChaparralPro;

            messageRichText           = new SMRichText(this);
            messageRichText.Font.Name = MNFontName.ChaparralPro;
            messageRichText.Font.Size = 14;
        }
コード例 #5
0
ファイル: SMImage.cs プロジェクト: gopa810/Rambha
 public SMImage(MNPage p) : base(p)
 {
     Img               = new MNLazyImage(p.Document);
     ContentScaling    = SMContentScaling.Fit;
     Evaluation        = MNEvaluationType.Inherited;
     DroppedTag        = "";
     DroppedImage      = null;
     DroppedText       = "";
     ContentArangement = SMContentArangement.ImageOnly;
     SourceOffsetX     = 50;
     SourceOffsetY     = 50;
     rt = new SMRichText(this);
 }