public MainWindow() { InitializeComponent(); main_form.Width = Constants.WIDTH; main_form.Height = Constants.HEIGHT; main_form.MinWidth = Constants.MIN_WIDTH; main_form.MinHeight = Constants.MIN_HEIGHT; mWidthOrigin = main_form.Width; mHeightOrigin = main_form.Height; mWindowAnalyzer = new Analyzer(); mWindowAbout = new About_Window(); mWindowSimilar = new SimilarWindow(); mWindowContour = new ContourWindow(); mIsChangedImage = false; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.contour_form = ((Schoolworks_image_and_color.ContourWindow)(target)); #line 10 "..\..\ContourWindow.xaml" this.contour_form.Closing += new System.ComponentModel.CancelEventHandler(this.ClosingWindow); #line default #line hidden return; case 2: this.contour_img = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }