TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Safeer Safeer
NA
201
38.2k
link button clicking existing form showing , please
May 6 2014 4:42 AM
here is my code when am clicking link label didnt get that form but there showing error
Error18The best overloaded method match for 'OverdueSalesOrder.CallFromReminder(ReminderPopUp)' has some invalid arguments
Error19Argument 1: cannot convert from 'ile' to 'ReminderPopUp' ile.cs
private void lnklblReminderSalesdue_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
try
{
frmOverdueSalesOrder frmoverdueSalesOrderObj = new frmOverdueSalesOrder();
frmOverdueSalesOrder open = Application.OpenForms["frmOverdueSalesOrder"] as frmOverdueSalesOrder;
if (open == null)
{
frmoverdueSalesOrderObj.MdiParent = formMDI.MDIObj;
frmoverdueSalesOrderObj.CallFromReminder(this);
}
else
{
open.Activate();
}
}
catch (Exception ex)
{
MessageBox.Show("pRPU:3" + ex.Message, "", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
public void CallFromReminder(frmReminderPopUp frmReminder)
{
try
{
base.Show();
DataTable dtbl = new DataTable();
dtbl = new ReminderSP().ShortExpiryReminder(0, 0, 0, 0, 0, 0, 0, 0);
dgvProductExpiry.DataSource = dtbl;
this.frmReminderPopupObj = frmReminder;
frmReminderPopupObj.Enabled = false;
}
catch (Exception ex)
{
MessageBox
Reply
Answers (
1
)
.net windows application
how to get 0ne form datagridview row values to another form