none
passing the arguments to mainwindow RRS feed

  • Question

  • I want to create application which is single instance.but when next time I run same application all arguments show in main window without second instance.
    Tuesday, June 28, 2016 9:51 AM

Answers

  • Hi Pooja_s,

    >>"I want to create application which is single instance.but when next time I run same application all arguments show in main window without second instance."

    Which project type did you use?

    If your project type is Windows Forms, please reference following document.

    C# .NET Single Instance Application

    If you project type is WPF, please reference following document.

    WPF Single Instance Application

    Best Regards,
    Li Wang


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, June 29, 2016 7:54 AM
    Moderator