public frmOSAServer()
 {
     database = new DB.Database();
     InitializeComponent();
     lbOSAServers.DataSource    = database.OSASettings_Get();
     lbOSAServers.DisplayMember = "name";
     //lbOSAServers.ValueMember = "id";
 }
 public frmOSAServer()
 {
     database = new DB.Database();
     InitializeComponent();
     lbOSAServers.DataSource = database.OSASettings_Get();
     lbOSAServers.DisplayMember = "name";
     //lbOSAServers.ValueMember = "id";
 }
Esempio n. 3
0
        public APSCS()
        {
            db = new DB.Database();

            InitializeComponent();
            this.cbOSAServers.DataSource = db.OSASettings_Get();
            this.cbOSAServers.DisplayMember = "name";

            string lastAPSPackage = Settings.GetLastAPSPackage();
            if (lastAPSPackage.Length != 0)
                this.txtAPSPackage.Text = lastAPSPackage;
            FillConfiguration();
        }
Esempio n. 4
0
        public APSCS()
        {
            db = new DB.Database();

            InitializeComponent();
            this.cbOSAServers.DataSource    = db.OSASettings_Get();
            this.cbOSAServers.DisplayMember = "name";

            string lastAPSPackage = Settings.GetLastAPSPackage();

            if (lastAPSPackage.Length != 0)
            {
                this.txtAPSPackage.Text = lastAPSPackage;
            }
            FillConfiguration();
        }