Exemple #1
0
 public static void A(h2 h, T1 t)
 {
     if (!z1.A())
     {
         z1.A = new z1(t.b(), h, t);
     }
 }
Exemple #2
0
 private z1(Form form, h2 h, T1 t)
 {
     if (form == null)
     {
         throw new ArgumentException();
     }
     if (t == null)
     {
         throw new ArgumentException();
     }
     if (t.b() != form)
     {
         throw new ArgumentException();
     }
     this.a();
     base.FormBorderStyle = FormBorderStyle.None;
     base.ShowIcon        = false;
     base.ShowInTaskbar   = false;
     base.WindowState     = FormWindowState.Normal;
     this.A = h;
     this.A = t;
     this.a = form;
     base.Show(form);
     t.k();
 }
Exemple #3
0
 private void A(object obj, FormClosingEventArgs formClosingEventArgs)
 {
     this.a.Activated -= new EventHandler(this.a);
     this.A.Click     -= new EventHandler(this.B);
     if (this.A != null)
     {
         this.A.Controls.Add((Control)this.A);
         this.A.k();
         this.A = null;
     }
     if (this.A != null)
     {
         this.A.Dispose();
         this.A = null;
     }
     base.Dispose();
     z1.A = null;
 }
Exemple #4
0
        private void A(object obj, EventArgs eventArgs)
        {
            Screen    screen      = Screen.FromControl(this.a);
            Rectangle workingArea = screen.WorkingArea;

            base.Location = workingArea.Location;
            base.Size     = workingArea.Size;
            Control control = this.A.B();

            if (control == null)
            {
                throw new l1();
            }
            this.Text = this.a.Text;
            base.Controls.Add((Control)this.A);
            this.A                       = control;
            this.A                       = new Button();
            this.A.Text                  = null;
            this.A.BackgroundImage       = (Image)Icons.A().Clone();
            this.A.BackgroundImageLayout = ImageLayout.Center;
            this.A.Width                 = this.A.Height;
            this.A.Click                += new EventHandler(this.B);
            Form form = new Form();

            form.FormBorderStyle = FormBorderStyle.None;
            form.WindowState     = FormWindowState.Normal;
            form.StartPosition   = FormStartPosition.Manual;
            form.Location        = new Point(base.Location.X + 5, base.Location.Y + 5);
            form.MinimumSize     = new Size(this.A.Height, this.A.Height);
            form.Size            = form.MinimumSize;
            form.ShowIcon        = false;
            form.ShowInTaskbar   = false;
            form.Controls.Add(this.A);
            form.Show(this);
            this.A            = form;
            this.a.Activated += new EventHandler(this.a);
        }