InputBox.cs 782 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Text;
  7. using System.Windows.Forms;
  8. using FastReport.Forms;
  9. using FastReport.Utils;
  10. namespace FastReport.FastQueryBuilder
  11. {
  12. internal partial class InputBox : BaseForm
  13. {
  14. public InputBox()
  15. {
  16. InitializeComponent();
  17. Font = DrawUtils.DefaultFont;
  18. Text = Res.Get("Forms,QueryBuilder,Alias");
  19. TextLabel.Text = Res.Get("Forms,QueryBuilder,InputAlias");
  20. button1.Text = Res.Get("Buttons,OK");
  21. button2.Text = Res.Get("Buttons,Cancel");
  22. }
  23. private void InputBox_Load(object sender, EventArgs e)
  24. {
  25. TextBox.Select();
  26. }
  27. }
  28. }