Ejemplo n.º 1
0
        private void LoadUserDetails()
        {
            var menuinstance = new UserOptions();
            var m            = (menuinstance.Size.Width - bunifuCustomLabel1.Size.Width) / 2;

            bunifuCustomLabel1.Location = new Point(m, bunifuCustomLabel1.Location.Y);
            var n = (menuinstance.Size.Width - bunifuCustomLabel2.Size.Width) / 2;

            bunifuCustomLabel2.Location = new Point(n, bunifuCustomLabel2.Location.Y);
        }
Ejemplo n.º 2
0
        private void titleBar1_Click(object sender, EventArgs e)
        {
            var customermenu = new UserOptions();

            customermenu.ShowDialog(this);
        }