public UserListForm(User user, DataTable users, Database db) { InitializeComponent(); this.user = user; this.db = db; this.dataGridViewList.DataSource = users; }
public RenameForm(Database db, string oldName) { InitializeComponent(); this.labelDesc.Text = "現在の名前は「 " + oldName + " 」です。\n" + "新しい名前を入力してください。"; this.db = db; this.oldName = oldName; }
/// <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; }
public RegisterForm(Database db, string uid) { InitializeComponent(); this.db = db; this.uid = uid; }