Esempio n. 1
0
 public OutlookBarNode()
 {
     this.int_0   = 40;
     this.int_1   = 30;
     this.font_0  = new Font("微软雅黑", 14f);
     this.font_1  = new Font("微软雅黑", 10f);
     this.color_0 = Color.Black;
     this.outlookItemCollection_0    = new OutlookItemCollection();
     this.outlookBarNodeCollection_0 = new OutlookBarNodeCollection();
     this.InitializeComponent();
     this.Title.SizeChanged += new EventHandler(this.Title_SizeChanged);
     base.SetStyle(ControlStyles.SupportsTransparentBackColor | ControlStyles.ContainerControl, true);
     this.BackColor           = Color.Transparent;
     this.Title.Name          = base.Name + "title";
     this.Title.Font          = this.font_0;
     this.Title.Height        = this.int_0;
     this.Title.Text          = this.Text;
     this.Title.ShowIcon      = true;
     this.Title.IconIdent     = this.int_3;
     this.Title.IconDirection = MenuDirection.down;
     this.Title.Dock          = DockStyle.Top;
     this.Title.Click        += new EventHandler(this.Title_Click);
     this.Body.Dock           = DockStyle.Fill;
     this.Body.Visible        = false;
     base.Height = this.int_0;
     this.Dock   = DockStyle.Top;
 }
Esempio n. 2
0
 public OutlookBar()
 {
     this.method_0();
     base.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.SupportsTransparentBackColor | ControlStyles.ContainerControl, true);
     this.BackColor  = Color.Transparent;
     this.AutoScroll = true;
     this.outlookBarNodeCollection_0          = new OutlookBarNodeCollection();
     this.outlookBarNodeCollection_0.Changed += new EventHandler(this.outlookBarNodeCollection_0_Changed);
 }