private void LoadData_dlg_FileOk(object sender, CancelEventArgs e) { if (!(LoadData_dlg.FileName.EndsWith("txt") || (LoadData_dlg.FileName.EndsWith("csv")))) { //RadMessageBox message=new RadMessageBox() //message LoadData_dlg.ShowDialog(); } }
private void LoadData_btn_Click(object sender, EventArgs e) { LoadData_dlg.ShowDialog(); }