Esempio n. 1
0
        public UserListForm(User user, DataTable users, Database db)
        {
            InitializeComponent();

            this.user = user;
            this.db = db;
            this.dataGridViewList.DataSource = users;
        }
Esempio n. 2
0
        public RenameForm(Database db, string oldName)
        {
            InitializeComponent();

            this.labelDesc.Text =
                "現在の名前は「 " + oldName + " 」です。\n" +
                "新しい名前を入力してください。";

            this.db      = db;
            this.oldName = oldName;
        }
Esempio n. 3
0
        /// <summary>
        /// バックアップクラスを初期化します。
        /// </summary>
        /// <param name="config">バックアップの設定</param>
        public Backup(BackupConfig config, Database database)
        {
            if (config == null)
            {
                throw new ArgumentNullException("config");
            }

            this.Config = config;
            this.Database = database;
            this.Timer = null;
            this.IsTimerStarted = false;
        }
Esempio n. 4
0
 public RegisterForm(Database db, string uid)
 {
     InitializeComponent();
     this.db = db;
     this.uid = uid;
 }