Exemplo n.º 1
0
 public DocumentBase(string formname)
 {
     Name              = formname;
     ConnectionString  = GlobalInfo.DBaseInfo.dbManager.DB_ConnectionString;
     this.providerType = GlobalInfo.LoginInfo.ProviderType;
     controlBinder     = new ControlBinder();
     controlFinder     = new ControlFinder(this);
     messageList       = new List <MessageData>();
     InitializeComponent();
     aopAddons.Visible      = false;
     aopAddons.StyleManager = GlobalInfo.StyleManager;
 }
Exemplo n.º 2
0
        public DocumentForm(string formname)
        {
            Name = formname;
            InitializeComponent();

            if (DesignMode || LicenseManager.UsageMode == LicenseUsageMode.Designtime)
            {
                return;
            }

            this.providerType      = GlobalInfo.LoginInfo.ProviderType;
            controlBinder          = new ControlBinder();
            controlFinder          = new ControlFinder(this);
            messageList            = new List <MessageData>();
            aopAddons.Visible      = false;
            aopAddons.StyleManager = GlobalInfo.StyleManager;
        }