public partial class PacientForm : Window
{
public PacientForm()
{
InitializeComponent();
tabControl1.Width = this.Width;
}
private void bclick(object sender, RoutedEventArgs e)
{
tabControl1.Width = this.Width;
}
}