Ejemplo n.º 1
0
        private void InsertClient(Client client)
        {
            ControlClient cc = new ControlClient(client)
            {
                Dock = DockStyle.Top
            };

            if (cc.Controls[0].Controls["_clientCard"] is RichTextBox control)
            {
                control.Rtf = RtfFactory.BuildClientCard(client);
            }

            _mainPanel.Controls.Add(cc);
        }
Ejemplo n.º 2
0
 private void UpdateValue(object sender, EventArgs e)
 {
     _clientValue.Rtf = RtfFactory.BuildValue(Row.Format(_client.GetMostRecentEntry(false).Value));
 }
Ejemplo n.º 3
0
 private void AssembleClientCard()
 {
     _clientCard.Rtf = RtfFactory.BuildClientCardLarge(_client);
 }
Ejemplo n.º 4
0
 private void AssembleCard()
 {
     _clientCard.Rtf     = RtfFactory.BuildClientCard(_client);
     _clientCard.Enabled = false;
 }