■ RibbonForm 클래스 : 리본 폼(Ribbon Form) 사용하기

------------------------------------------------------------------------------------------------------------------------


TestProject.zip


MainForm.cs

 

 

using System.Drawing;

 

using DevExpress.XtraEditors;

using DevExpress.XtraBars.Ribbon;

using DevExpress.XtraTab;

 

namespace TestProject

{

    /// <summary>

    /// 메인 폼

    /// </summary>

    public partial class MainForm : RibbonForm

    {

        //////////////////////////////////////////////////////////////////////////////////////////////////// Constructor

        ////////////////////////////////////////////////////////////////////////////////////////// Public

 

        #region 생성자 - MainForm()

 

        /// <summary>

        /// 생성자

        /// </summary>

        public MainForm()

        {

            InitializeComponent();

 

            this.xtraTabbedMdiManager.HeaderLocation = TabHeaderLocation.Bottom;

 

            XtraForm childForm1 = new XtraForm();

 

            childForm1.Size      = new Size(600, 450);

            childForm1.Text      = "자식 폼 1";

            childForm1.MdiParent = this;

 

            childForm1.Show();

 

            XtraForm childForm2 = new XtraForm();

 

            childForm2.Size      = new Size(600, 450);

            childForm2.Text      = "자식 폼 2";

            childForm2.MdiParent = this;

 

            childForm2.Show();

        }

 

        #endregion

    }

}

 

------------------------------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요