Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [CONNECT .NET] MstnPlatformNet Forms Classes

$
0
0

I just switch my build to a custom "Design" configuration which defines DESIGN and created this custom class

#if DESIGN

    public class MsForm : Form{

        private void AttachAsTopLevelForm(TopoDOTApp myAddin, bool b)
        {
            //throw new NotImplementedException();
        }

        public MsForm()
        {


        }
#else
    internal class MsForm : Bentley.MstnPlatformNET.WinForms.Adapter
    {
        public MsForm()
        {
            this.FormClosing += this.MsForm_FormClosing;
            this.Load += this.MsForm_Load;
        }
#endif

Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>