void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.control = ((Intel.RealSense.ProcessingWindow)(target)); #line 8 "Window.xaml" this.control.Closing += new System.ComponentModel.CancelEventHandler(this.control_Closing); #line default #line hidden return; case 2: this.imgDepth = ((System.Windows.Controls.Image)(target)); return; case 3: this.imgColor = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
static void Main(string[] args) { var w = new ProcessingWindow(); w.ShowDialog(); }