コード例 #1
0
        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            var win = new GlobalPosition(0);

            win.ShowDialog();
            this.RefreshGrid();
        }
コード例 #2
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();
		}
コード例 #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();
 }
コード例 #4
0
		private void btnAdd_Click(object sender, RoutedEventArgs e)
		{
			var win = new GlobalPosition(0);
			win.ShowDialog();
			this.RefreshGrid();
		}