using FastReport.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace FastReport.Forms
{
///
/// The form for message box with text editor
///
public partial class MessageBoxWithEditorForm : BaseDialogForm
{
///
/// Gets or sets text
///
public string InnerText
{
get
{
return tbMessage.Text;
}
set
{
tbMessage.Text = value;
}
}
///
/// Defualt constructor
///
public MessageBoxWithEditorForm()
{
InitializeComponent();
btnOk.Left = Width / 2 - btnOk.Width / 2;
Localize();
tbMessage.Focus();
UIUtils.CheckRTL(this);
}
///
public override void Localize()
{
base.Localize();
this.Text = Res.Get("Forms,PrinterSetup,CmdCommand");
lbDescription.Text = Res.Get("Forms,PrinterSetup,CmdDescription");
}
}
}