Need an example of using the base class CommonDialog

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Patrick Blackman

    Need an example of using the base class CommonDialog

    I want to create my own custom common dialog derived from the base
    class"CommonDia log" to display my custom form any ideas how to accomplish
    this with an example.
    Thanks
    Patrick


  • Dmytro Lapshyn [MVP]

    #2
    Re: Need an example of using the base class CommonDialog

    Hi Patrick,

    As far as I understand, CommonDialog is the base class for system dialogs
    like OpenFileDialog or ColorDialog.
    If you just need to create your own dialog, just create a regular form and
    then display it with the ShowDialog method.

    --
    Sincerely,
    Dmytro Lapshyn [Visual Developer - Visual C# MVP]


    "Patrick Blackman" <caribsoft@vide otron.ca> wrote in message
    news:ewYz%23DPX FHA.228@TK2MSFT NGP12.phx.gbl.. .[color=blue]
    >I want to create my own custom common dialog derived from the base
    >class"CommonDi alog" to display my custom form any ideas how to accomplish
    >this with an example.
    > Thanks
    > Patrick
    >[/color]

    Comment

    • Dmytro Lapshyn [MVP]

      #3
      Re: Need an example of using the base class CommonDialog

      Hi Patrick,

      As far as I understand, CommonDialog is the base class for system dialogs
      like OpenFileDialog or ColorDialog.
      If you just need to create your own dialog, just create a regular form and
      then display it with the ShowDialog method.

      --
      Sincerely,
      Dmytro Lapshyn [Visual Developer - Visual C# MVP]


      "Patrick Blackman" <caribsoft@vide otron.ca> wrote in message
      news:ewYz%23DPX FHA.228@TK2MSFT NGP12.phx.gbl.. .[color=blue]
      >I want to create my own custom common dialog derived from the base
      >class"CommonDi alog" to display my custom form any ideas how to accomplish
      >this with an example.
      > Thanks
      > Patrick
      >[/color]

      Comment

      Working...