public SalesView(IKernel kernel) { InitializeComponent(); BackColor = FormBrushes.WindowBackGroundColor; ForeColor = FormBrushes.WindowForegroundColor; ButtonsPanel.SetDefaultColorForChildren(); MainLayoutTable.SetDefaultColorForChildren(); CloseViewButton.Click += CloseViewButtonClick; }
public ContentRequestUserControlBase() { InitializeComponent(); BackColor = FormBrushes.WindowBackGroundColor; ForeColor = FormBrushes.WindowForegroundColor; ButtonsPanel.SetDefaultColorForChildren(); MainLayoutTable.SetDefaultColorForChildren(); CloseViewButton.Click += CloseViewButtonClick; }