Click here to Skip to main content
15,881,882 members

Comments by jaideep06.jd (Top 5 by date)

jaideep06.jd 7-Dec-12 7:19am View    
I got same error
jaideep06.jd 21-Sep-12 5:46am View    
I am using devexpress XtraEditor control and it does not contains method DataSource for ComboBoxEditcontrol.
jaideep06.jd 22-May-12 1:29am View    
Thanks For the solution it worked for me
jaideep06.jd 6-Jan-12 8:10am View    
private static DialogResult<TForm> ShowForm<TForm>(Form form, bool modelLess) where TForm : Form
{
var retval = new DialogResult<TForm> {DialogResult = DialogResult.No, Form = (TForm) form};

form.StartPosition = FormStartPosition.CenterParent;

if (modelLess)
{
form.MdiParent = MainForm;
if (MainForm == null)
{

form.Size = new Size(700, 590);
}
form.Show();
}
else
{
form.ShowInTaskbar = false;
(new FormSizeManager(form)).LoadFormSize();
form.TopLevel = true;
form.Focus();
retval.DialogResult = form.ShowDialog(MainForm);

//form.BringToFront();
}
return retval;
}
jaideep06.jd 6-Jan-12 8:00am View    
actually i have one architecture in thaat if use frm.show it open it in new tab
i want to use it with form.ShowDialog(); but still have same problem