protected override void DoBuildChildren(LayoutPanelBase Layout) { base.DoBuildChildren(Layout); if (PrimaryDetails.Count == 0) { PrimaryDetails.Add("beep"); } if (SecondaryDetails.Count == 0) { SecondaryDetails.Add(Constants.BLANK); } ParentNotePanel.Height = this.CaptionLabel.Height; this.MaximizeButton.Visible = false; this.MinimizeButton.Visible = false; this.captionLabel.Visible = false; ActionButton = new ToolStripButton(); ActionButton.Text = this.captionLabel.Text; ActionButton.Click += HandleActionButtonClick; CaptionLabel.Items.Insert(0, ActionButton); ToolStripMenuItem PrimaryDetailLink = LayoutDetails.BuildMenuPropertyEdit(Loc.Instance.GetString("Primary: {0}"), PrimaryDetails[0], Loc.Instance.GetString("Enter main action (Beep, evenwindows_alpha)."), HandlePrimaryChange); ToolStripMenuItem SecondaryDetailLink = LayoutDetails.BuildMenuPropertyEdit(Loc.Instance.GetString("Secondary: {0}"), SecondaryDetails[0], Loc.Instance.GetString("Enter secondary action (Comma delimited list of notes for evenwindows_alpha)."), HandleSecondaryChange); properties.DropDownItems.Add(new ToolStripSeparator()); properties.DropDownItems.Add(PrimaryDetailLink); properties.DropDownItems.Add(SecondaryDetailLink); }
public Dictionary <string, object> BindMainGridView([FromBody] PrimaryDetails data) { return(ObjDAL.BindMainGridView(data)); }