Beispiel #1
0
        public ToolForm()
        {
            InitializeComponent();

            this.collapsibleContainerStrip1.ItemCollapsedOrExpanded += (not, used) => ItemCollapsedOrExpanded?.Invoke(this, null);

            CollapsibleFormHelper.Self.Initialize(this.collapsibleContainerStrip1);
        }
Beispiel #2
0
        void OnCollapseChange(object sender, EventArgs e)
        {
            UpdatePositions();

            ItemCollapsedOrExpanded?.Invoke(this, null);
        }