상속: System.Windows.Forms.CheckBox, IMetroControl
예제 #1
0
        public override void Initialize(PropertiesModel.Property property)
        {
            base.Initialize(property);

            m_toggle = new MetroToggle();
            MetroSkinManager.ApplyMetroStyle(m_toggle);
            m_toggle.Cursor = Cursors.Hand;
            m_toggle.Width = 0;
            m_toggle.Dock = DockStyle.Top;
            m_toggle.CheckedChanged += m_toggle_CheckedChanged;
            Content.Controls.Add(m_toggle);

            UpdateEditor();
        }
예제 #2
0
 public override void Clear()
 {
     base.Clear();
     m_toggle = null;
 }