private void btnReset_Click(object sender, RoutedEventArgs e) { string grade_id = (sender as Button).Tag.ToString(); SetTaskGrade setgrade = new SetTaskGrade(dbOperation, grade_id, (Application.Current.Resources["User"] as UserInfo).DepartmentID, currenttable, this); setgrade.ShowDialog(); }
private void btnReset_Click(object sender, RoutedEventArgs e) { string grade_id = (sender as Button).Tag.ToString(); SetTaskGrade setgrade = new SetTaskGrade(grade_id, PubClass.userInfo.DepartmentID, currenttable, this); setgrade.ShowDialog(); }
private void btnReset_Click(object sender, RoutedEventArgs e) { string grade_id = (sender as Button).Tag.ToString(); string city_id = dbOperation.GetDbHelper().GetSingle(string.Format("select city from sys_client_sysdept where INFO_CODE = '{0}'", (Application.Current.Resources["User"] as UserInfo).DepartmentID)).ToString(); SetTaskGrade setgrade = new SetTaskGrade(dbOperation, grade_id, city_id, currenttable); setgrade.Show(); }
private void btnReset_Click(object sender, RoutedEventArgs e) { string grade_id = (sender as Button).Tag.ToString(); SetTaskGrade setgrade = new SetTaskGrade(dbOperation, grade_id, (Application.Current.Resources["User"] as UserInfo).DepartmentID, currenttable,this); setgrade.ShowDialog(); }