示例#1
0
        private void AddWindow_Click(object sender, RoutedEventArgs e)
        {
            this.Hide();
            Window form = new ADDSpending(this);

            form.ShowDialog();
            SEARCH_Click(null, null);
        }
示例#2
0
 private void Update_Click(object sender, RoutedEventArgs e)
 {
     iz = ((Button)sender).Tag.ToString();
     for (int i = 0; i < DataCenter.Items.Count; i++)
     {
         var uuu = (YourSpend)DataCenter.Items[i];
         if (uuu.IdSpending.ToString() == iz)
         {
             this.Hide();
             Window form = new ADDSpending(this, uuu);
             form.ShowDialog();
             SEARCH_Click(null, null);
             break;
         }
     }
 }