Пример #1
0
        public bool Copy(TitleTemplate other)
        {
            if (!base.Copy(other))
            {
                return(false);
            }

            SeparatePage = other.SeparatePage;
            return(true);
        }
        public void Clear()
        {
            m_FilePath = String.Empty;

            Header = new HeaderTemplate();
            Title  = new TitleTemplate();
            Task   = new TaskTemplate();
            Footer = new FooterTemplate();
#if DEBUG
            Header.Text      = "Header";
            Header.BackColor = Color.LightBlue;
            Title.Text       = "Title";
            Task.Text        = "$(title)<br>";
            Footer.Text      = "Footer";
            Footer.BackColor = Color.LightPink;
            m_FilePath       = "Example.rbt";
#endif
        }
Пример #3
0
        public void Clear()
        {
            m_FilePath = String.Empty;

            BackImage = String.Empty;
            BackColor = Color.Transparent;

            Header = new HeaderTemplate();
            Title  = new TitleTemplate();
            Task   = new TaskTemplate();
            Footer = new FooterTemplate();
#if DEBUG
            //Header.Text = "Header";
            //Header.BackColor = Color.LightBlue;
            //Title.Text = "Title";
            //Task.Text = "$(title)<br>";
            //Footer.Text = "Footer";
            //Footer.BackColor = Color.LightPink;
            //m_FilePath = "Example.rbt";
#endif
        }
Пример #4
0
            public TitleTemplateReporter(Translator trans, TitleTemplate title)
            {
                m_Trans = trans;

                Copy(title);
            }
Пример #5
0
 public bool Equals(TitleTemplate other)
 {
     return(base.Equals(other) && (SeparatePage == other.SeparatePage));
 }
Пример #6
0
 public TitleTemplateReporter(TitleTemplate title)
 {
     Copy(title);
 }