コード例 #1
0
 private void ManagerMenu_Load(object sender, EventArgs e)
 {
     //user profile
     GlobalStyle.SetProfile(profile1);
     GlobalStyle.setAccessibility(accessibility1);
     GlobalStyle.SetStyleForm(Controls);
     GlobalStyle.SetSizeForm(this);
 }
コード例 #2
0
 public void Styles()
 {
     GlobalStyle.SetStyleForm(Controls);
     radGridView1.TableElement.Padding     = new Padding(0);
     radGridView1.TableElement.DrawBorder  = false;
     radGridView1.TableElement.CellSpacing = -1;
     radGridView1.TableElement.Text        = "";
     radGridView1.TableElement.RowHeight   = 80;
     radGridView1.MasterTemplate.BestFitColumns();
     radGridView1.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
 }
コード例 #3
0
 private void AddStyle()
 {
     GlobalStyle.SetStyleForm(Controls);
     radGridView1.TableElement.Padding     = new Padding(0);
     radGridView1.TableElement.DrawBorder  = false;
     radGridView1.TableElement.CellSpacing = -1;
     radGridView1.TableElement.Text        = "";
     radGridView1.TableElement.RowHeight   = 60;
     radGridView1.MasterTemplate.BestFitColumns();
     date_begin.Format        = DateTimePickerFormat.Custom;
     date_End.Format          = DateTimePickerFormat.Custom;
     date_begin.CustomFormat  = "MMM - dd - yyyy";
     date_End.CustomFormat    = "MMM - dd - yyyy";
     date_End.NullableValue   = null;
     date_begin.NullableValue = null;
     radGridView1.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
 }