Example #1
0
        private void ismoveControls()
        {
            if (ismove)
            {
                if (!isfirsMove)
                {
                    blureForm.SetSize      = this.Size;
                    blureForm.SetLocations = this.Location;
                    blureForm.Intialization();
                    //blureForm.frmBlueGone.Hide();
                    this.Focus();

                    pnClose.Show();
                    this.Focus();
                    BlueformFrameworkUse.FormNormal(blureForm.frmBlueGone, 15);
                }
            }
            else
            {
                pnClose.Visible = false;
                BlueformFrameworkUse.FormBlure(blureForm.frmBlueGone, 10);
                tmwait.Stop();
                tmwait          = new System.Windows.Forms.Timer();
                tmwait.Interval = 170;
                tmwait.Tick    += new EventHandler((object obj, EventArgs e) =>
                {
                    tmwait.Stop();

                    Aero.DisabledAcrylic(blureForm.frmBlueGone);
                    blureForm.DisponseForm();
                    GC.Collect();
                    GC.WaitForPendingFinalizers();

                    if (isClosetForm)
                    {
                        Show_Close(false);
                    }
                });
                tmwait.Start();
            }
        }
Example #2
0
 public void endAero()
 {
     Aero.DisabledAcrylic(blureForm.frmBlueGone);
     blureForm.DisponseForm();
 }