private void Yeknowledge_ResizeEnd(object sender, EventArgs e) { tabControl.Refresh(); MainTree.Refresh();; this.Refresh(); Application.DoEvents(); }
private void Yeknowledge_ResizeBegin(object sender, EventArgs e) { MainTree.Size = new Size(200, this.Size.Height); tabControl.Size = new Size(this.Size.Width - 200, this.Size.Height); tabControl.Refresh(); MainTree.Refresh();; this.Refresh(); Application.DoEvents(); }