Ejemplo n.º 1
0
        public LoginPanelBack(LoginPanel form, string position)
        {
            InitializeComponent();
            loginForm = form;
            mode      = "normal";

            if (position == "top")
            {
                BackgroundImage = Properties.Resources.bt_LoginPanel3DTop;
                TransparencyKey = Color.Black;
            }
            else if (position == "bottom")
            {
                BackgroundImage = Properties.Resources.bt_LoginPanel3DBottom;
                TransparencyKey = Color.Black;
            }
            FormBorderStyle = FormBorderStyle.None;
        }