示例#1
0
        public Form1()
        {
            InitializeComponent();

            DefaultInv di1 = new DefaultInv();
            di1.Dock = DockStyle.Fill;
            xtraScrollableControl1.Controls.Add(di1);
        }
示例#2
0
 private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     foreach (Control ctrl in xtraScrollableControl1.Controls)
     {
         ctrl.Dispose();
     }
     DefaultInv di1 = new DefaultInv();
     di1.Dock = DockStyle.Fill;
     xtraScrollableControl1.Controls.Add(di1);
 }