void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((Orange.information_usercontrol)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); #line 12 "..\..\..\..\Main\DialogUserControls\information_usercontrol.xaml" this.LayoutRoot.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LayoutRoot_MouseDown); #line default #line hidden return; case 3: this.infoGrid = ((System.Windows.Controls.Grid)(target)); return; case 4: this.infoUC = ((SmartUpdate.SmartUpdaterForOrange)(target)); return; } this._contentLoaded = true; }
//프로그램 정보 창 public SmartUpdater(ISmartUpdatable applicationInfo, SmartUpdaterForOrange uc_updater) { type = 0; this.applicationInfo = applicationInfo; this.uc_updater = uc_updater; this.bgWorker = new BackgroundWorker(); this.bgWorker.DoWork += new DoWorkEventHandler(bgWorker_DoWork); this.bgWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bgWorker_RunWorkerCompleted); }
//프로그램 정보 창 public SmartUpdater(ISmartUpdatable applicationInfo, SmartUpdaterForOrange uc_updater) { type = 0; this.applicationInfo = applicationInfo; this.uc_updater = uc_updater; this.bgWorker = new BackgroundWorker(); this.bgWorker.DoWork += new DoWorkEventHandler(bgWorker_DoWork); this.bgWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bgWorker_RunWorkerCompleted); }