Ejemplo n.º 1
0
        public Login()
        {
            InitializeComponent();
            Init(uiStyleManager1);

            ShowInfo    = new MsgInfoDelegate(MessageShowSub);
            SetStatic   = new SetStaticDelegate(SetStaticSub);
            ShowProcess = new ProcessDelegate(ProcessBarRun);
        }
Ejemplo n.º 2
0
        //Sunisoft.IrisSkin.SkinEngine s;

        private void LoginInit()
        {
            ShowInfo  = new MsgInfoDelegate(MessageShowSub);
            SetStatic = new SetStaticDelegate(SetStaticSub);
            Bitmap bmp = (Bitmap)Bitmap.FromFile(Application.StartupPath + "//ico//Book.png");
            Icon   ic  = Icon.FromHandle(bmp.GetHicon());

            Icon            = ic;
            loadpc.Location = new System.Drawing.Point((Width - loadpc.Width) / 2, (Height - loadpc.Height) / 2);
            //loadpc.Location = new System.Drawing.Point(0, 0);
            //loadpc.Width = Width;
            //loadpc.Height = Height;
            loadpc.BringToFront();

            //FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            loadpc.Visible = true;
        }