private void CreateCommandPanels() { this.bottomCommandPanel = new CommandPanel(); this.bottomCommandPanel.DeleteButtonClick += this.DeleteButton_Click; this.bottomCommandPanel.EditButtonClick += this.EditButton_Click; this.bottomCommandPanel.ButtonCssClass = this.GetCommandPanelButtonCssClass(); this.topCommandPanel = new CommandPanel(); this.topCommandPanel.DeleteButtonClick += this.DeleteButton_Click; this.topCommandPanel.EditButtonClick += this.EditButton_Click; this.topCommandPanel.ButtonCssClass = this.GetCommandPanelButtonCssClass(); }
private void CreateCommandPanels() { this.bottomCommandPanel = new CommandPanel(); this.bottomCommandPanel.DeleteButtonClick += this.DeleteButton_Click; this.bottomCommandPanel.EditButtonClick += this.EditButton_Click; this.bottomCommandPanel.ButtonCssClass = this.GetCommandPanelButtonCssClass(); this.bottomCommandPanel.CssClass = this.GetCommandPanelCssClass(); this.bottomCommandPanel.SelectButtonIconCssClass = this.GetSelectButtonIconCssClass(); this.bottomCommandPanel.CompactButtonIconCssClass = this.GetCompactButtonIconCssClass(); this.bottomCommandPanel.AllButtonIconCssClass = this.GetAllButtonIconCssClass(); this.bottomCommandPanel.AddButtonIconCssClass = this.GetAddButtonIconCssClass(); this.bottomCommandPanel.EditButtonIconCssClass = this.GetEditButtonIconCssClass(); this.bottomCommandPanel.DeleteButtonIconCssClass = this.GetDeleteButtonIconCssClass(); this.bottomCommandPanel.PrintButtonIconCssClass = this.GetPrintButtonIconCssClass(); this.topCommandPanel = new CommandPanel(); this.topCommandPanel.DeleteButtonClick += this.DeleteButton_Click; this.topCommandPanel.EditButtonClick += this.EditButton_Click; this.topCommandPanel.ButtonCssClass = this.GetCommandPanelButtonCssClass(); this.topCommandPanel.CssClass = this.GetCommandPanelCssClass(); this.topCommandPanel.SelectButtonIconCssClass = this.GetSelectButtonIconCssClass(); this.topCommandPanel.CompactButtonIconCssClass = this.GetCompactButtonIconCssClass(); this.topCommandPanel.AllButtonIconCssClass = this.GetAllButtonIconCssClass(); this.topCommandPanel.AddButtonIconCssClass = this.GetAddButtonIconCssClass(); this.topCommandPanel.EditButtonIconCssClass = this.GetEditButtonIconCssClass(); this.topCommandPanel.DeleteButtonIconCssClass = this.GetDeleteButtonIconCssClass(); this.topCommandPanel.PrintButtonIconCssClass = this.GetPrintButtonIconCssClass(); }