يظهر معي هذا الخطأ عند اضافه
inherited form
الصوره المرفقه توضح ان الخطأ في الكلاس اللي انا عامله الي اسمه rep_para والكود بتاع الكلاس انا كتبته
ياريت اللي يعرف الخطأده ايه والحل بتاعة يقولي والف شكر
using System;
using System.Collections.Generic;
using System.Text;
namespace yaser
{
class rep_para
{
public rep_para()
{
}
public static DateTime chek_from_date;
public static DateTime chek_to_date;
public static string nom;
public static string asd;
public static string cash_type;
public static string cash_site;
public static bool cost;
public static bool acc;
public static bool cash_pay = false;
#region // cash
public static DateTime date_;
public static DateTime due_date;
public static string name;
public static string amount;
public static string chek_no;
public static string bank;
public static string notes;
public static int serial;
public static int le;
public static int pt;
#endregion
public static bool all_chek = true;
public static bool un_payedchek =false;
public static bool payedchek = false;
public static string rep_ip = System.Configuration.ConfigurationManager.ConnectionStrings["report_ip"].ConnectionString;
}
}rep_para untitled.bmp