in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Create My Form

Last post 10/3/2007 1:39 AM by Selcuk AYDIN. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
Previous Next
  • 10/1/2007 6:08 AM

    Create My Form

    Hi,

    I want to inherit my forms from XAF forms and building new design on them.

    How can ı create my own entry form and use it in my windows application.

    And, Can ı change Main Form which creates automatic with my own Main Form.

    thanks.

    Filed under: , ,
  • 10/2/2007 5:03 PM In reply to

    Re: Create My Form

    Hi,

    If you really want to inherit your form from XAF forms (like MainForm, LookupForm),  then nothing prevents you from doing this. Simply add a new form to your project by using context menu Add > Windows Form... in Solution Explorer.

    Then derive this form from the existing template:

    namespace Solution1.Win.MyTemplate {

        partial class MyForm : DevExpress.ExpressApp.Win.Templates.MainForm {

    //...

    I have attached a complete sample illustrating this approach.

    If you wish to just customize an existing template (without inheriting), please refer to the How to: Customize a Template and Template help topics. It may be helpful for you.

    In addition, I suggest you check out the following issues, also related to your task:

    -   How can I replace the navbar with a treelist?

    -   How to implement own Web action container?

    -   Show Tray Icon And Popup Tray Menu
    Thanks,
    Dennis

    Developer Express Support
  • 10/3/2007 1:39 AM In reply to

    Re: Create My Form

    Thank you very much...

Page 1 of 1 (3 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED