Esempio n. 1
0
        public ChangeShipWindow(AppServiceInterface appServices, FLGameData gameData, FLDataFile charFile)
        {
            this.appServices = appServices;
            this.charFile    = charFile;
            InitializeComponent();
            hashListBindingSource.DataSource = gameData.DataStore;

            FilterUpdate();
        }
        public BannedPlayers(AppServiceInterface appServices, DamDataSet dataSet)
        {
            this.appServices = appServices;
            this.dataSet     = dataSet;

            InitializeComponent();
            banListBindingSource.DataSource = dataSet;
            TimerFilterUpdate(null, null);
            dataGridView1_SelectionChanged(null, null);
        }
Esempio n. 3
0
        public ChangeLocationWindow(AppServiceInterface appServices, FLGameData gameData, List <FLDataFile> charFiles)
        {
            this.appServices = appServices;
            this.charFiles   = charFiles;

            InitializeComponent();
            hashListBindingSource.DataSource  = gameData.DataStore;
            hashListBindingSource1.DataSource = gameData.DataStore;
            FilterUpdate();
        }
Esempio n. 4
0
        public CreateBanWindow(AppServiceInterface appServices, string accDir, string accID, DamDataSet dataSet, DamDataSet.BanListRow banRecord)
        {
            this.appServices = appServices;
            this.accDir      = accDir;
            this.accID       = accID;
            this.dataSet     = dataSet;
            this.banRecord   = banRecord;

            InitializeComponent();

            if (banRecord != null)
            {
                richTextBox1.Text             = banRecord.BanReason;
                dateTimePickerStartDate.Value = banRecord.BanStart.ToUniversalTime();
                numericUpDownDuration.Value   = (decimal)(banRecord.BanEnd - banRecord.BanEnd).TotalDays;
            }
            else
            {
                dateTimePickerStartDate.Value = DateTime.Now;
                numericUpDownDuration.Value   = 0;
            }
        }
Esempio n. 5
0
 public SearchForAccountsByLoginIDWindow(AppServiceInterface appServices, DataAccess dataAccess)
 {
     this.appServices = appServices;
     this.dataAccess  = dataAccess;
     InitializeComponent();
 }