コード例 #1
0
 public adminPage(startPage st)
 {
     stPage = st;
     InitializeComponent();
     checkInventoryWarnings();
     fillJobSearchComboBox();
     timer1.Start();
 }
コード例 #2
0
        public login(bool b, startPage st)
        {
            InitializeComponent();
            isAdmin = b;
            stPage  = st;

            if (isAdmin)
            {
                bunifuCustomLabel1.Text = "    ADMIN";
            }
            else
            {
                bunifuCustomLabel1.Text = "MECHANIST";
            }
        }