Esempio n. 1
0
        private void WN8Expected_Load(object sender, EventArgs e)
        {
            WN8ExpValues WN8ExpectedTankList = new WN8ExpValues();

            //WN8ExpValue WN8ExpectedTank = WN8ExpectedTankList.GetByTankID(0, 32);
            //Console.WriteLine("FF: " + WN8ExpectedTank.expWin);
            //List<WN8ExpValue> WN8ExpValues = new List<WN8ExpValue>();
            gridControl1.DataSource = WN8ExpectedTankList;
        }
Esempio n. 2
0
        private void WN8Expected_Load(object sender, EventArgs e)
        {
            WN8ExpValues WN8ExpectedTankList = new WN8ExpValues();

            lblDate.Caption    = string.Format("Date: {0}", WN8ExpectedTankList.WN8Date.ToShortDateString());
            lblVersion.Caption = string.Format("Version: {0}", WN8ExpectedTankList.WN8Version);
            gridWN8.DataSource = WN8ExpectedTankList;
            viewWN8.Columns["countryID"].Visible        = false;
            viewWN8.Columns["tankID"].Visible           = false;
            viewWN8.Columns["IDNum"].Visible            = false;
            viewWN8.OptionsBehavior.ReadOnly            = true;
            viewWN8.OptionsView.EnableAppearanceEvenRow = true;
        }