private void MakeOutputBufferMonitor() { CustomLabel lbl = new CustomLabel(); lbl.Location = new Point(380, meterHeight + 200); lbl.Size = new Size(175, 28); lbl.Font = buttonFont; lbl.setCharWidth(8); lbl.type = CustomLabel.LabelType.ENGRAVED; lbl.Text = "OUT BUFFER"; this.Controls.Add(lbl); outBufferDisp = new SegDisp(4, false, ""); outBufferDisp.Location = new Point(380, meterHeight + 232); outBufferDisp.Size = new Size(85, 35); this.Controls.Add(outBufferDisp); MocrButton flush = new MocrButton(); flush.Location = new Point(470, meterHeight + 232); flush.Size = new Size(85, 35); flush.buttonStyle = MocrButton.style.THIN_BORDER_LIGHT; flush.Text = "FLUSH BUFFER"; flush.Font = smallFont; flush.Click += (sender, e) => FlushBuffer(sender, e, pflBuffer); this.Controls.Add(flush); }
private void MakeSettingsButtons() { CustomLabel lbl = new CustomLabel(); lbl.Location = new Point(380, meterHeight + 275); lbl.Size = new Size(175, 28); lbl.Font = buttonFont; lbl.setCharWidth(8); lbl.type = CustomLabel.LabelType.ENGRAVED; lbl.Text = "OPTIONS"; this.Controls.Add(lbl); NminusOneButton = new MocrButton(); NminusOneButton.Location = new Point(380, meterHeight + 307); NminusOneButton.Size = new Size(45, 35); NminusOneButton.buttonStyle = MocrButton.style.THIN_BORDER_LIGHT; NminusOneButton.Text = "N-1"; NminusOneButton.Font = smallFont; NminusOneButton.Click += ToggleNminusOne; this.Controls.Add(NminusOneButton); NminusOneButton.setLitState(NminusOne); }