Good Day po,
Ako po ay semi-intermediate sa c#. hindi ko mapagana yung present codes ko na kapag nag dagdag ng items sa listbox ay mag eemail siya kaagad sa target niyang email. ang tanong ko kung ano yung mga dapat ko pong palitan o tangalin sa codes ko? sana guys matulungan niyo po ako. at heto yung present code ko.
private void timer1_Tick(object sender, EventArgs e)
{
statmessage();
int i = listBox1.SelectedItems.Count + 1;
do
{
var exp = (EItem)listBox1.Items;
var timeVisible = DateTime.Now - exp.Added;
if (timeVisible.TotalSeconds > 5)
if (counter == 100)
{
SendMessage();
counter = counter - 1;
++i;
}
else if (counter <= 0)
{
statmessage();
}
} while (i < -1);
}
}
}
Your feedback is highly appreciated and will help to improve the said concern, Thank you very much
Ako po ay semi-intermediate sa c#. hindi ko mapagana yung present codes ko na kapag nag dagdag ng items sa listbox ay mag eemail siya kaagad sa target niyang email. ang tanong ko kung ano yung mga dapat ko pong palitan o tangalin sa codes ko? sana guys matulungan niyo po ako. at heto yung present code ko.
private void timer1_Tick(object sender, EventArgs e)
{
statmessage();
int i = listBox1.SelectedItems.Count + 1;
do
{
var exp = (EItem)listBox1.Items;
var timeVisible = DateTime.Now - exp.Added;
if (timeVisible.TotalSeconds > 5)
if (counter == 100)
{
SendMessage();
counter = counter - 1;
++i;
}
else if (counter <= 0)
{
statmessage();
}
} while (i < -1);
}
}
}
Your feedback is highly appreciated and will help to improve the said concern, Thank you very much