// Token: 0x0600163B RID: 5691 RVA: 0x00035E2C File Offset: 0x0003402C public void method_21() { if (this.func_1()) { if (this.toonTownParentForm_0.WindowState != FormWindowState.Minimized) { Rectangle left = Class410.smethod_15(this.class116_0.intptr_0, this.toonTownParentForm_0.Handle); if (left != this.toonTownParentForm_0.ClientRectangle) { this.action_9(new IntPtr?(this.toonTownParentForm_0.Handle), this.toonTownParentForm_0.ClientRectangle); return; } } } else { this.action_0(); this.toonTownParentForm_0.Close(); } }
// Token: 0x0600163D RID: 5693 RVA: 0x00035EC0 File Offset: 0x000340C0 public void method_0() { Rectangle rectangle; if (this.nullable_0 != null && this.class117_0.func_1()) { rectangle = Class410.smethod_15(this.class116_0.intptr_0, this.nullable_0.Value); } else { if (!this.class117_0.func_0()) { return; } rectangle = Class410.smethod_14(this.class116_0.intptr_0); } bool flag = rectangle.Size != this.rectangle_0.Size; bool flag2 = rectangle.Location != this.rectangle_0.Location; if (flag) { if (flag2) { if (!Class265.SetWindowPos(this.class116_0.intptr_0, Class265.intptr_3, this.rectangle_0.X, this.rectangle_0.Y, this.rectangle_0.Width, this.rectangle_0.Height, (Enum31)0U)) { throw new Win32Exception(); } } else if (!Class265.SetWindowPos(this.class116_0.intptr_0, Class265.intptr_3, 0, 0, this.rectangle_0.Width, this.rectangle_0.Height, Enum31.flag_7)) { throw new Win32Exception(); } } else if (flag2 && !Class265.SetWindowPos(this.class116_0.intptr_0, Class265.intptr_3, this.rectangle_0.X, this.rectangle_0.Y, 0, 0, Enum31.flag_12)) { throw new Win32Exception(); } }