New answers tagged

0

There are many ways of doing this, some of which you've already identified, from simple "low-tech" approaches like automatically emailing an attachment, to using existing app analytics and monitoring services like AppCenter, to writing custom telemetry and reporting code. There are advantages and disadvantages to each. Emailing the exception ...


2

Even if you know for sure that there will never be the need fore more than one MyEditor windows - the question you should ask yourself here is: Does this simplify the code? - Or does it complicate things for no real benefit? For example, if Instance might be accessed from different places in the code, or maybe nowhere, and you don't know beforehand if or in ...


3

By making MyEditor a Singleton, you have decided that there must not ever be more than one editor window. The big question is, is that decision backed by a requirement for the application. If there is no such requirement, it is just a matter of time before someone comes up with a nice idea that requires the creation of 2 editor windows and then your nice ...


Top 50 recent answers are included