Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Preferenze = ((WPF02.PreferenzeWindow)(target));
     return;
     case 2:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.label3_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.tbNome1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.tbNome2 = ((System.Windows.Controls.TextBox)(target));
     
     #line 16 "..\..\PreferenzeWindow.xaml"
     this.tbNome2.GotFocus += new System.Windows.RoutedEventHandler(this.tbNome2_GotFocus);
     
     #line default
     #line hidden
     return;
     case 9:
     this.chkAttivo1 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 10:
     this.chkAttivo2 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 11:
     this.chkCripto1 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 12:
     this.chkCripto2 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 13:
     this.tbPwd1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.tbPwd2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 15:
     this.chkMempwd1 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 16:
     this.chkMempwd2 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 17:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.label4_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.button_OK = ((System.Windows.Controls.Button)(target));
     
     #line 27 "..\..\PreferenzeWindow.xaml"
     this.button_OK.Click += new System.Windows.RoutedEventHandler(this.button_OK_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.button_Annulla = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\PreferenzeWindow.xaml"
     this.button_Annulla.Click += new System.Windows.RoutedEventHandler(this.button_Annulla_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.label3_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.tbSalt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.button_Preferenze = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\PreferenzeWindow.xaml"
     this.button_Preferenze.Click += new System.Windows.RoutedEventHandler(this.button_Preferenze_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
		private void Preferenze_Click(object sender, RoutedEventArgs e)
			{
			PreferenzeWindow pfw = new PreferenzeWindow(ref operazioni);
			bool? ret = pfw.ShowDialog();
			}