private void Button_Click(object sender, RoutedEventArgs e) { Button temp = sender as Button; DB_Folder.StatisticWindow sw = new DB_Folder.StatisticWindow("Warehouses", (string)temp.Tag); sw.ShowDialog(); }
private void Button_Click_1(object sender, RoutedEventArgs e) { DB_Folder.StatisticWindow sw = new DB_Folder.StatisticWindow("Category", Convert.ToInt32(TBlOrderNo.Text)); sw.ShowDialog(); }