Ejemplo n.º 1
0
        private void cmdAutoSizeCol_Click(object sender, System.EventArgs e)
        {
            AutoSizeForm F = new AutoSizeForm();

            F.lblDescription.Text            = "Resize this screen and notice that the columns stretch to fit the schedule width.";
            F.schedule1.ColumnHeader.AutoFit = true;
            F.ShowDialog();
        }
Ejemplo n.º 2
0
        private void cmdAutoSizeRow_Click(object sender, System.EventArgs e)
        {
            AutoSizeForm F = new AutoSizeForm();

            F.lblDescription.Text         = "Resize this screen and notice that the rows stretch to fit the schedule height.";
            F.schedule1.RowHeader.AutoFit = true;
            F.ShowDialog();
        }