예제 #1
0
        public DatabaseSettingsPanel(PwDatabase aDatabase)
        {
            mDatabase = aDatabase;

            InitializeComponent();

            // make transparent so tab styling shows
            SetStyle(ControlStyles.SupportsTransparentBackColor, true);
            BackColor = Color.Transparent;

            mDatabaseSettingsBindingSource.DataSource = mDatabase.GetKeeAgentSettings();
        }