コード例 #1
0
ファイル: Lost.cs プロジェクト: As-You-Like/ReaLTaiizor
 public void PresentReplacement(FormLostBase replacee, DockStyle dock)
 {
     replacee.Hide();
     Dock = dock;
     Attach(replacee.Parent as FormLostBase);
     FormClosed += (s, e) =>
     {
         replacee.Show();
     };
 }
コード例 #2
0
ファイル: Lost.cs プロジェクト: As-You-Like/ReaLTaiizor
        public void Attach(FormLostBase parent)
        {
            ResizeRedraw = true;
            TopLevel     = false;
            parent.Controls.Add(this);
            Parent = parent;
            PerformLayout();
            //Animate();

            (this as Control).Show();
            (this as Control).BringToFront();
            (this as Control).Parent.Invalidate(ShadeRect(ThemeLost.ShadowSize), false);
        }
コード例 #3
0
ファイル: Lost.cs プロジェクト: As-You-Like/ReaLTaiizor
 public FrameLost Present(FormLostBase parent, DockStyle dock)
 {
     Dock = dock;
     Attach(parent);
     return(this);
 }
コード例 #4
0
ファイル: Lost.cs プロジェクト: As-You-Like/ReaLTaiizor
 public FrameLost Present(FormLostBase parent)
 {
     Present(parent, Dock);
     return(this);
 }