pulling me hair out
unknown
csharp
4 years ago
1.3 kB
6
Indexable
private void btnVenID_Click(object sender, System.EventArgs args)
{
// ** Place Event Handling Code Here **
MessageBox.Show("btnclick");
if (venID1 == null )
{
MessageBox.Show("btn clicked venid1 is equal to null saving ven id1 this is what we are storing:",venID.Text.ToString());
venID1 = (EpiTextBox)csm.GetNativeControlReference("4ce376bb-225b-4b04-ac18-0c6bdc69820b");
venNew = venID1.Text;
}
if (venID != null)
{
//MessageBox.Show(venID.Text.ToString());
//MessageBox.Show(venOld);
if (String.Equals(venOld, venNew))
{
//MessageBox.Show("venid1 and venid are equal venID1:", venID1.Text.ToString());
MessageBox.Show("venID:", venID.Text.ToString());
MessageBox.Show("those should have been the same ");
} else {
//MessageBox.Show(venNew);
MessageBox.Show(venOld);
//MessageBox.Show("venid1 is NOT null here is what it is:", venID1.Text.ToString());
MessageBox.Show("venid1 is NOT null here is venID:", venID.Text.ToString());
MessageBox.Show("they shouldnt be the same");
ugInvRange.DataSource = null;
dtStartDate.Text = "12/31/2021";
dtEndDate.Text = "12/31/2021";
venID1 = (EpiTextBox)csm.GetNativeControlReference("4ce376bb-225b-4b04-ac18-0c6bdc69820b");
venNew = venID1.Text;
}
}
}Editor is loading...