public PropertiesManager(Form dashboard) { InitializeComponent(); this.DbService = new MyPhotos.Storage.DbService(); this.Dashboard = dashboard as Dashboard; DisplayService_BindList(); }
public Dashboard() { InitializeComponent(); this.DbService = new MyPhotos.Storage.DbService(); this.panel.Padding = new System.Windows.Forms.Padding(5); this.flow.Padding = new System.Windows.Forms.Padding(5); DisplayService_BindList(); DisplayService_BindPanel(); this.buttonFilter.Enabled = false; this.buttonFilter.BackColor = Color.Gainsboro; this.buttonVideo.Enabled = false; this.buttonVideo.BackColor = Color.Gainsboro; }