예제 #1
0
        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            var win = new GlobalPosition(0);

            win.ShowDialog();
            this.RefreshGrid();
        }
		private void btnEdit_Click(object sender, RoutedEventArgs e)
		{
			if (this.grGridView.SelectedItem != null)
			{
				var globalPostion = this.grGridView.SelectedItem as HR_GlobalPositions;
				var win = new GlobalPosition(globalPostion.id_globalPosition);
				win.ShowDialog();
			}
			this.RefreshGrid();
		}
예제 #3
0
 private void btnEdit_Click(object sender, RoutedEventArgs e)
 {
     if (this.grGridView.SelectedItem != null)
     {
         var globalPostion = this.grGridView.SelectedItem as HR_GlobalPositions;
         var win           = new GlobalPosition(globalPostion.id_globalPosition);
         win.ShowDialog();
     }
     this.RefreshGrid();
 }
		private void btnAdd_Click(object sender, RoutedEventArgs e)
		{
			var win = new GlobalPosition(0);
			win.ShowDialog();
			this.RefreshGrid();
		}