public Form1() { InitializeComponent(); A.Init(); B.Init(); RES.Init(); ars = Convert.ToInt32(A.Rows.Count); acs = Convert.ToInt32(A.Columns.Count); brs = Convert.ToInt32(B.Rows.Count); bcs = Convert.ToInt32(B.Columns.Count); }