A
Andrus
To reproduce, run the code, move part of child window outside parent.
Observed:
scrollbars appear.
Expected:
Scrollbars should not appear since AutoScroll if false.
How to fix ?
Andrus.
using System;
using System.Windows.Forms;
public class Test {
static void Main() {
Application.Run(new MainForm());
}
}
class MainForm : Form {
public MainForm() {
IsMdiContainer = true;
Form frm = new Form();
frm.MdiParent = this;
frm.Show();
}
}
Observed:
scrollbars appear.
Expected:
Scrollbars should not appear since AutoScroll if false.
How to fix ?
Andrus.
using System;
using System.Windows.Forms;
public class Test {
static void Main() {
Application.Run(new MainForm());
}
}
class MainForm : Form {
public MainForm() {
IsMdiContainer = true;
Form frm = new Form();
frm.MdiParent = this;
frm.Show();
}
}