public MyControl() { InitializeComponent(); this.DataContext = this; mc = this; shelvewindow = new ShelveWindow(); unshelvewindow = new UnshelveWindow(); }
// TODO // find out how pending changes list asks for the password to connect to TFS... if we do not have that for our window it will // break because we try to access something we do not have access to yet... public MyControl() { InitializeComponent(); this.DataContext = this; // something about this makes me nervous mc = this; shelvewindow = new ShelveWindow(); unshelvewindow = new UnshelveWindow(); }