Beispiel #1
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            cRCM _cRCM = new cRCM(this.Handle);

            LoadRes.LoadFrameImages(_cRCM, (int)FormStyle);
            LoadRes.LoadControlImages(_cRCM, (int)FormStyle);
            this.Width = this.Width + 10;
            _cRCM.Start();
            this.Refresh();
        }
Beispiel #2
0
        protected override void OnLoad(EventArgs e)
        {
            try
            {
                base.OnLoad(e);

                cRCM _cRCM = new cRCM(this.Handle);
                LoadRes.LoadFrameImages(_cRCM, (int)FormStyle);
                LoadRes.LoadControlImages(_cRCM, (int)FormStyle);
                this.Width = this.Width + 10;
                _cRCM.Start();
                this.ShowInTaskbar = false;
                this.Refresh();
            }
            catch (Exception ex)
            {
                //do nothing
            }
        }