private void del_cache_Click(object sender, RoutedEventArgs e) { last lts = new last("", "-RESET_CACHE"); lts.Show(); Visibility = Visibility.Hidden; }
private void Button_Click(object sender, RoutedEventArgs e) { MessageBoxResult ret = MessageBox.Show(rm.GetString("resetAlert"), "JLS++", MessageBoxButton.YesNo); if (ret == MessageBoxResult.Yes) { last show = new last(rm.GetString("resProg") + "\nSQLite: Database Reset.", "-RESET_REQUEST,"); show.Show(); Visibility = Visibility.Hidden; } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.lat = ((JLS__.last)(target)); return; case 2: this.code_set = ((System.Windows.Controls.Label)(target)); return; case 3: #line 13 "..\..\last.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }