示例#1
0
 public FormPropertiesPC()
 {
     InitializeComponent();
     FormLoadSplash form = new FormLoadSplash("Загрузка...");
     form.Show();
     Application.DoEvents();
     foreach (Label l in Data.Labels)
         comboBoxTPA.Items.Add(l.TPAName);
     Data.ListsLoad();
     form.Close();
 }
示例#2
0
        public FormPropertiesPC()
        {
            InitializeComponent();
            FormLoadSplash form = new FormLoadSplash("Загрузка...");

            form.Show();
            Application.DoEvents();
            foreach (Line l in Data.lines)
            {
                comboBoxTPA.Items.Add(l.name);
            }
            Data.ListsLoad();
            form.Close();
        }
示例#3
0
 public FormCustomLabel()
 {
     InitializeComponent();
     FormLoadSplash form = new FormLoadSplash("Загрузка...");
     form.Show();
     Application.DoEvents();
     Data.UsersLoad();
     Data.ListsLoad();
     //Заполнение комбобоксов списками
     Data.Users.ForEach(u => comboBoxUser.Items.Add(u.Name));
     comboBoxUser.SelectedItem = null;
     numericUpDownCount.Maximum = Data.MaxLabels(comboBoxTPA.SelectedIndex);
     foreach (Label l in Data.Labels)
         comboBoxTPA.Items.Add(l.TPAName);
     textBoxNumber.Text = "";
     ListFill();
     comboBoxLimit.DataSource = Data.Limits;
     comboBoxLimit.SelectedItem = null;
     form.Close();
 }
示例#4
0
        public FormCustomLabel()
        {
            InitializeComponent();
            FormLoadSplash form = new FormLoadSplash("Загрузка...");

            form.Show();
            Application.DoEvents();
            Data.UsersLoad();
            Data.ListsLoad();
            //Заполнение комбобоксов списками
            Data.users.ForEach(u => comboBoxUser.Items.Add(u.Name));
            comboBoxUser.SelectedItem  = null;
            numericUpDownCount.Maximum = Data.MaxLabels(comboBoxTPA.SelectedIndex);
            foreach (Line l in Data.lines)
            {
                comboBoxTPA.Items.Add(l.name);
            }
            textBoxNumber.Text = "";
            ListFill();
            comboBoxLimit.DataSource   = Data.Limits;
            comboBoxLimit.SelectedItem = null;
            form.Close();
        }