Merge branch 'master' of http://scddns.f3322.net:13000/sc/Audit_APP
This commit is contained in:
commit
c674e6ed91
1 file changed
+14
-1
+14
-1
@@ -29,9 +29,18 @@ namespace Audit.View
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void Button_Click(object sender, RoutedEventArgs e)
|
private void Button_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
string DataGridDyelots_Button = this.Dyelots_Dyelot.Text;
|
||||||
|
string DataGridMachine_Button = this.Dyelots_Machine.Text;
|
||||||
|
if ((DataGridDyelots_Button == null) && (DataGridMachine_Button != null))
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
if ((DataGridDyelots_Button != null) && (DataGridMachine_Button == null))
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void DataGrid_Detailed(object sender, SelectionChangedEventArgs e)
|
private void DataGrid_Detailed(object sender, SelectionChangedEventArgs e)
|
||||||
{
|
{
|
||||||
@@ -46,7 +55,11 @@ namespace Audit.View
|
|||||||
{
|
{
|
||||||
int rownum = this.DataGridDyelots.SelectedIndex;
|
int rownum = this.DataGridDyelots.SelectedIndex;
|
||||||
string DataGridDyelots_value = (DataGridDyelots.Columns[0].GetCellContent(DataGridDyelots.Items[rownum]) as TextBlock).Text;
|
string DataGridDyelots_value = (DataGridDyelots.Columns[0].GetCellContent(DataGridDyelots.Items[rownum]) as TextBlock).Text;
|
||||||
MessageBox.Show(DataGridDyelots_value.ToString());
|
Dyelots_Dyelot.Text = DataGridDyelots_value.ToString();
|
||||||
|
if (Dyelots_Dyelot != null)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user