| 123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace СУБД_Альфапол
- {
- public partial class FormManager : Form
- {
- public FormManager()
- {
- InitializeComponent();
- }
- private void FormManager_Load(object sender, EventArgs e)
- {
- // TODO: This line of code loads data into the 'dbAlphapolAGDataSet.Manager' table. You can move, or remove it, as needed.
- this.managerTableAdapter.Fill(this.dbAlphapolAGDataSet.Manager);
- bsUsers.Filter = $"idManager = {FormAutorization.id}";
- lblPhoto.Hide();
- try
- {
- pbxPhoto.Image = Image.FromFile(Application.StartupPath + "\\photo\\" + lblPhoto.Text);
- }
- catch { }
- }
- }
- }
|