The Visual J# .Net Form - agenda.jsl, Text Codes
 
 
 

       
      Return



  The Form -  agenda.jsl ...

 
 

 The codes  corresponding ...
   
    
   The text Code is red color, the codes added manuel
 
 
package work_VJnet;

import System.Drawing.*;

import System.Collections.*;

import System.ComponentModel.*;

import System.Windows.Forms.*;

/**

* Summary description for agenda.

*/

public class agenda extends System.Windows.Forms.Form

{

private System.Data.OleDb.OleDbCommand oleDbSelectCommand1;

private System.Data.OleDb.OleDbCommand oleDbInsertCommand1;

private System.Data.OleDb.OleDbCommand oleDbUpdateCommand1;

private System.Data.OleDb.OleDbCommand oleDbDeleteCommand1;

private System.Data.OleDb.OleDbConnection oleDbConnection1;

private System.Data.OleDb.OleDbDataAdapter oleDbDataAdapter1;

private work_VJnet.Agendadset objAgendadset;

System.Windows.Forms.ImageList ImageList2;

System.Windows.Forms.ImageList ImageList1;

System.Windows.Forms.Panel PanelA;

System.Windows.Forms.PictureBox PBox1;

System.Windows.Forms.Panel PanelA1;

System.Windows.Forms.Panel Panel5;

System.Windows.Forms.Button Btn_deltask;

System.Windows.Forms.Button Btn_movetask;

System.Windows.Forms.ListBox list_chkappoint;

System.Windows.Forms.ListBox list_chktask;

System.Windows.Forms.Label ltask;

System.Windows.Forms.Button Btn_newtask;

System.Windows.Forms.Label ltodolist;

System.Windows.Forms.Panel PanelB1;

System.Windows.Forms.PictureBox PicA_empty;

System.Windows.Forms.CheckBox ChkA20;

System.Windows.Forms.CheckBox ChkA24;

System.Windows.Forms.CheckBox ChkA23;

System.Windows.Forms.CheckBox ChkA22;

System.Windows.Forms.CheckBox ChkA21;

System.Windows.Forms.CheckBox ChkA10;

System.Windows.Forms.CheckBox ChkA19;

System.Windows.Forms.CheckBox ChkA18;

System.Windows.Forms.CheckBox ChkA17;

System.Windows.Forms.CheckBox ChkA16;

System.Windows.Forms.CheckBox ChkA15;

System.Windows.Forms.CheckBox ChkA14;

System.Windows.Forms.CheckBox ChkA13;

System.Windows.Forms.CheckBox ChkA12;

System.Windows.Forms.CheckBox ChkA11;

System.Windows.Forms.CheckBox ChkA9;

System.Windows.Forms.CheckBox ChkA8;

System.Windows.Forms.CheckBox ChkA7;

System.Windows.Forms.CheckBox ChkA6;

System.Windows.Forms.CheckBox ChkA5;

System.Windows.Forms.CheckBox ChkA4;

System.Windows.Forms.CheckBox ChkA3;

System.Windows.Forms.CheckBox ChkA2;

System.Windows.Forms.CheckBox ChkA1;

System.Windows.Forms.TextBox StxA24;

System.Windows.Forms.TextBox StxA23;

System.Windows.Forms.TextBox StxA22;

System.Windows.Forms.TextBox StxA21;

System.Windows.Forms.TextBox StxA20;

System.Windows.Forms.TextBox StxA19;

System.Windows.Forms.TextBox StxA18;

System.Windows.Forms.TextBox StxA17;

System.Windows.Forms.TextBox StxA16;

System.Windows.Forms.TextBox StxA15;

System.Windows.Forms.TextBox StxA14;

System.Windows.Forms.TextBox StxA13;

System.Windows.Forms.TextBox StxA12;

System.Windows.Forms.TextBox StxA11;

System.Windows.Forms.TextBox StxA10;

System.Windows.Forms.TextBox StxA9;

System.Windows.Forms.TextBox StxA8;

System.Windows.Forms.TextBox StxA7;

System.Windows.Forms.TextBox StxA6;

System.Windows.Forms.TextBox StxA5;

System.Windows.Forms.TextBox StxA4;

System.Windows.Forms.TextBox StxA3;

System.Windows.Forms.TextBox StxA2;

System.Windows.Forms.TextBox StxA1;

System.Windows.Forms.CheckBox ChkAAll;

System.Windows.Forms.PictureBox PicA24;

System.Windows.Forms.TextBox PTxA24;

System.Windows.Forms.PictureBox PicA23;

System.Windows.Forms.TextBox PTxA23;

System.Windows.Forms.PictureBox PicA22;

System.Windows.Forms.TextBox PTxA22;

System.Windows.Forms.PictureBox PicA21;

System.Windows.Forms.TextBox PTxA21;

System.Windows.Forms.PictureBox PicA20;

System.Windows.Forms.TextBox PTxA20;

System.Windows.Forms.PictureBox PicA19;

System.Windows.Forms.TextBox PTxA19;

System.Windows.Forms.PictureBox PicA18;

System.Windows.Forms.TextBox PTxA18;

System.Windows.Forms.PictureBox PicA17;

System.Windows.Forms.TextBox PTxA17;

System.Windows.Forms.PictureBox PicA16;

System.Windows.Forms.TextBox PTxA16;

System.Windows.Forms.PictureBox PicA15;

System.Windows.Forms.TextBox PTxA15;

System.Windows.Forms.PictureBox PicA14;

System.Windows.Forms.TextBox PTxA14;

System.Windows.Forms.PictureBox PicA13;

System.Windows.Forms.TextBox PTxA13;

System.Windows.Forms.PictureBox PicA12;

System.Windows.Forms.TextBox PTxA12;

System.Windows.Forms.PictureBox PicA11;

System.Windows.Forms.TextBox PTxA11;

System.Windows.Forms.PictureBox PicA10;

System.Windows.Forms.TextBox PTxA10;

System.Windows.Forms.PictureBox PicA9;

System.Windows.Forms.TextBox PTxA9;

System.Windows.Forms.PictureBox PicA8;

System.Windows.Forms.TextBox PTxA8;

System.Windows.Forms.PictureBox PicA7;

System.Windows.Forms.TextBox PTxA7;

System.Windows.Forms.PictureBox PicA6;

System.Windows.Forms.TextBox PTxA6;

System.Windows.Forms.PictureBox PicA5;

System.Windows.Forms.TextBox PTxA5;

System.Windows.Forms.PictureBox PicA4;

System.Windows.Forms.TextBox PTxA4;

System.Windows.Forms.PictureBox PicA3;

System.Windows.Forms.TextBox PTxA3;

System.Windows.Forms.PictureBox PicA2;

System.Windows.Forms.TextBox PTxA2;

System.Windows.Forms.PictureBox PicA1;

System.Windows.Forms.TextBox PTxA1;

System.Windows.Forms.Panel PanA24;

System.Windows.Forms.TextBox TxtA24;

System.Windows.Forms.Button BtnA24;

System.Windows.Forms.Panel PanA23;

System.Windows.Forms.TextBox TxtA23;

System.Windows.Forms.Button BtnA23;

System.Windows.Forms.Panel PanA22;

System.Windows.Forms.TextBox TxtA22;

System.Windows.Forms.Button BtnA22;

System.Windows.Forms.Panel PanA21;

System.Windows.Forms.TextBox TxtA21;

System.Windows.Forms.Button BtnA21;

System.Windows.Forms.Panel PanA20;

System.Windows.Forms.TextBox TxtA20;

System.Windows.Forms.Button BtnA20;

System.Windows.Forms.Panel PanA19;

System.Windows.Forms.TextBox TxtA19;

System.Windows.Forms.Button BtnA19;

System.Windows.Forms.Panel PanA18;

System.Windows.Forms.TextBox TxtA18;

System.Windows.Forms.Button BtnA18;

System.Windows.Forms.Panel PanA17;

System.Windows.Forms.TextBox TxtA17;

System.Windows.Forms.Button BtnA17;

System.Windows.Forms.Panel PanA16;

System.Windows.Forms.TextBox TxtA16;

System.Windows.Forms.Button BtnA16;

System.Windows.Forms.Panel PanA15;

System.Windows.Forms.TextBox TxtA15;

System.Windows.Forms.Button BtnA15;

System.Windows.Forms.Panel PanA14;

System.Windows.Forms.TextBox TxtA14;

System.Windows.Forms.Button BtnA14;

System.Windows.Forms.Panel PanA13;

System.Windows.Forms.TextBox TxtA13;

System.Windows.Forms.Button BtnA13;

System.Windows.Forms.Panel PanA12;

System.Windows.Forms.TextBox TxtA12;

System.Windows.Forms.Button BtnA12;

System.Windows.Forms.Panel PanA11;

System.Windows.Forms.TextBox TxtA11;

System.Windows.Forms.Button BtnA11;

System.Windows.Forms.Panel PanA10;

System.Windows.Forms.TextBox TxtA10;

System.Windows.Forms.Button BtnA10;

System.Windows.Forms.Panel PanA9;

System.Windows.Forms.TextBox TxtA9;

System.Windows.Forms.Button BtnA9;

System.Windows.Forms.Panel PanA8;

System.Windows.Forms.TextBox TxtA8;

System.Windows.Forms.Button BtnA8;

System.Windows.Forms.Panel PanA7;

System.Windows.Forms.TextBox TxtA7;

System.Windows.Forms.Button BtnA7;

System.Windows.Forms.Panel PanA6;

System.Windows.Forms.TextBox TxtA6;

System.Windows.Forms.Button BtnA6;

System.Windows.Forms.Panel PanA5;

System.Windows.Forms.TextBox TxtA5;

System.Windows.Forms.Button BtnA5;

System.Windows.Forms.Panel PanA4;

System.Windows.Forms.TextBox TxtA4;

System.Windows.Forms.Button BtnA4;

System.Windows.Forms.Panel PanA3;

System.Windows.Forms.TextBox TxtA3;

System.Windows.Forms.Button BtnA3;

System.Windows.Forms.Panel PanA2;

System.Windows.Forms.TextBox TxtA2;

System.Windows.Forms.Button BtnA2;

System.Windows.Forms.Panel PanA1;

System.Windows.Forms.TextBox TxtA1;

System.Windows.Forms.Button BtnA1;

System.Windows.Forms.PictureBox PictureBoxA1;

System.Windows.Forms.VScrollBar VScrollBarA1;

System.Windows.Forms.Panel PanelA2;

System.Windows.Forms.Label lappoint;

System.Windows.Forms.Button Btn_delappoint;

System.Windows.Forms.Button Btn_newappoint;

System.Windows.Forms.Label ltoday;

System.Windows.Forms.Panel PanelB2;

System.Windows.Forms.TextBox txid24;

System.Windows.Forms.TextBox txid23;

System.Windows.Forms.TextBox txid22;

System.Windows.Forms.TextBox txid21;

System.Windows.Forms.TextBox txid20;

System.Windows.Forms.TextBox txid19;

System.Windows.Forms.TextBox txid18;

System.Windows.Forms.TextBox txid17;

System.Windows.Forms.TextBox txid16;

System.Windows.Forms.TextBox txid15;

System.Windows.Forms.TextBox txid14;

System.Windows.Forms.TextBox txid13;

System.Windows.Forms.TextBox txid12;

System.Windows.Forms.TextBox txid11;

System.Windows.Forms.TextBox txid10;

System.Windows.Forms.TextBox txid9;

System.Windows.Forms.TextBox txid8;

System.Windows.Forms.TextBox txid7;

System.Windows.Forms.TextBox txid6;

System.Windows.Forms.TextBox txid5;

System.Windows.Forms.TextBox txid4;

System.Windows.Forms.TextBox txid3;

System.Windows.Forms.TextBox txid2;

System.Windows.Forms.TextBox txid1;

System.Windows.Forms.PictureBox PicB_empty;

System.Windows.Forms.CheckBox ChkB20;

System.Windows.Forms.CheckBox ChkB24;

System.Windows.Forms.CheckBox ChkB23;

System.Windows.Forms.CheckBox ChkB22;

System.Windows.Forms.CheckBox ChkB21;

System.Windows.Forms.CheckBox ChkB10;

System.Windows.Forms.CheckBox ChkB19;

System.Windows.Forms.CheckBox ChkB18;

System.Windows.Forms.CheckBox ChkB17;

System.Windows.Forms.CheckBox ChkB16;

System.Windows.Forms.CheckBox ChkB15;

System.Windows.Forms.CheckBox ChkB14;

System.Windows.Forms.CheckBox ChkB13;

System.Windows.Forms.CheckBox ChkB12;

System.Windows.Forms.CheckBox ChkB11;

System.Windows.Forms.CheckBox ChkB9;

System.Windows.Forms.CheckBox ChkB8;

System.Windows.Forms.CheckBox ChkB7;

System.Windows.Forms.CheckBox ChkB6;

System.Windows.Forms.CheckBox ChkB5;

System.Windows.Forms.CheckBox ChkB4;

System.Windows.Forms.CheckBox ChkB3;

System.Windows.Forms.CheckBox ChkB2;

System.Windows.Forms.CheckBox ChkB1;

System.Windows.Forms.TextBox StxB24;

System.Windows.Forms.TextBox StxB23;

System.Windows.Forms.TextBox StxB22;

System.Windows.Forms.TextBox StxB21;

System.Windows.Forms.TextBox StxB20;

System.Windows.Forms.TextBox StxB19;

System.Windows.Forms.TextBox StxB18;

System.Windows.Forms.TextBox StxB17;

System.Windows.Forms.TextBox StxB16;

System.Windows.Forms.TextBox StxB15;

System.Windows.Forms.TextBox StxB14;

System.Windows.Forms.TextBox StxB13;

System.Windows.Forms.TextBox StxB12;

System.Windows.Forms.TextBox StxB11;

System.Windows.Forms.TextBox StxB10;

System.Windows.Forms.TextBox StxB9;

System.Windows.Forms.TextBox StxB8;

System.Windows.Forms.TextBox StxB7;

System.Windows.Forms.TextBox StxB6;

System.Windows.Forms.TextBox StxB5;

System.Windows.Forms.TextBox StxB4;

System.Windows.Forms.TextBox StxB3;

System.Windows.Forms.TextBox StxB2;

System.Windows.Forms.TextBox StxB1;

System.Windows.Forms.CheckBox ChkBAll;

System.Windows.Forms.TextBox TxtC1;

System.Windows.Forms.TextBox TxtC9;

System.Windows.Forms.TextBox TxtC8;

System.Windows.Forms.TextBox TxtC7;

System.Windows.Forms.TextBox TxtC6;

System.Windows.Forms.TextBox TxtC24;

System.Windows.Forms.TextBox TxtC23;

System.Windows.Forms.TextBox TxtC22;

System.Windows.Forms.TextBox TxtC21;

System.Windows.Forms.TextBox TxtC20;

System.Windows.Forms.TextBox TxtC19;

System.Windows.Forms.TextBox TxtC18;

System.Windows.Forms.TextBox TxtC17;

System.Windows.Forms.TextBox TxtC16;

System.Windows.Forms.TextBox TxtC15;

System.Windows.Forms.TextBox TxtC5;

System.Windows.Forms.TextBox TxtC4;

System.Windows.Forms.TextBox TxtC3;

System.Windows.Forms.TextBox TxtC2;

System.Windows.Forms.TextBox TxtC10;

System.Windows.Forms.TextBox TxtC11;

System.Windows.Forms.TextBox TxtC13;

System.Windows.Forms.TextBox TxtC12;

System.Windows.Forms.TextBox TxtC14;

System.Windows.Forms.Panel PanB24;

System.Windows.Forms.TextBox TxtB24;

System.Windows.Forms.Button BtnB24;

System.Windows.Forms.Panel PanB23;

System.Windows.Forms.TextBox TxtB23;

System.Windows.Forms.Button BtnB23;

System.Windows.Forms.Panel PanB22;

System.Windows.Forms.TextBox TxtB22;

System.Windows.Forms.Button BtnB22;

System.Windows.Forms.Panel PanB21;

System.Windows.Forms.TextBox TxtB21;

System.Windows.Forms.Button BtnB21;

System.Windows.Forms.Panel PanB20;

System.Windows.Forms.TextBox TxtB20;

System.Windows.Forms.Button BtnB20;

System.Windows.Forms.Panel PanB19;

System.Windows.Forms.TextBox TxtB19;

System.Windows.Forms.Button BtnB19;

System.Windows.Forms.Panel PanB18;

System.Windows.Forms.TextBox TxtB18;

System.Windows.Forms.Button BtnB18;

System.Windows.Forms.Panel PanB17;

System.Windows.Forms.TextBox TxtB17;

System.Windows.Forms.Button BtnB17;

System.Windows.Forms.Panel PanB16;

System.Windows.Forms.TextBox TxtB16;

System.Windows.Forms.Button BtnB16;

System.Windows.Forms.Panel PanB15;

System.Windows.Forms.TextBox TxtB15;

System.Windows.Forms.Button BtnB15;

System.Windows.Forms.Panel PanB14;

System.Windows.Forms.TextBox TxtB14;

System.Windows.Forms.Button BtnB14;

System.Windows.Forms.Panel PanB13;

System.Windows.Forms.TextBox TxtB13;

System.Windows.Forms.Button BtnB13;

System.Windows.Forms.Panel PanB12;

System.Windows.Forms.TextBox TxtB12;

System.Windows.Forms.Button BtnB12;

System.Windows.Forms.Panel PanB11;

System.Windows.Forms.TextBox TxtB11;

System.Windows.Forms.Button BtnB11;

System.Windows.Forms.Panel PanB10;

System.Windows.Forms.TextBox TxtB10;

System.Windows.Forms.Button BtnB10;

System.Windows.Forms.Panel PanB9;

System.Windows.Forms.TextBox TxtB9;

System.Windows.Forms.Button BtnB9;

System.Windows.Forms.Panel PanB8;

System.Windows.Forms.TextBox TxtB8;

System.Windows.Forms.Button BtnB8;

System.Windows.Forms.Panel PanB7;

System.Windows.Forms.TextBox TxtB7;

System.Windows.Forms.Button BtnB7;

System.Windows.Forms.Panel PanB6;

System.Windows.Forms.TextBox TxtB6;

System.Windows.Forms.Button BtnB6;

System.Windows.Forms.Panel PanB5;

System.Windows.Forms.TextBox TxtB5;

System.Windows.Forms.Button BtnB5;

System.Windows.Forms.Panel PanB4;

System.Windows.Forms.TextBox TxtB4;

System.Windows.Forms.Button BtnB4;

System.Windows.Forms.Panel PanB3;

System.Windows.Forms.TextBox TxtB3;

System.Windows.Forms.Button BtnB3;

System.Windows.Forms.Panel PanB2;

System.Windows.Forms.TextBox TxtB2;

System.Windows.Forms.Button BtnB2;

System.Windows.Forms.Panel PanB1;

System.Windows.Forms.TextBox TxtB1;

System.Windows.Forms.Button BtnB1;

System.Windows.Forms.VScrollBar VScrollBarB1;

System.Windows.Forms.PictureBox PictureBoxB1;

System.Windows.Forms.Panel PanelT;

System.Windows.Forms.Panel Panel3;

System.Windows.Forms.Panel Panel2;

System.Windows.Forms.Label Label2;

System.Windows.Forms.ComboBox cmb_correspond;

System.Windows.Forms.Panel Panel1;

System.Windows.Forms.CheckBox Chckmonth;

System.Windows.Forms.CheckBox Chckyear;

System.Windows.Forms.Label lyear;

System.Windows.Forms.Label lmonth;

System.Windows.Forms.DateTimePicker DateTimePicker1;

System.Windows.Forms.Label ldate;

private System.ComponentModel.IContainer components;

// Variables

//Select command

System.Data.OleDb.OleDbCommand vselect1;

//Dataadapter

System.Data.OleDb.OleDbDataAdapter vda1;

System.Data.DataSet vdset1;

String current_date;

int v_PanA1;

int v_PanB1;

int v_PicA ;

int v_TxtA;

int v_BtnA;

int v_TxtB;

int v_BtnB;

int v_chk;

int v_currentmonth;

int v_currentyear;

int new_serialno;

int serial_taskappoint;

int appoint_order;

int task_order;

System.Windows.Forms.Button btn_ok;

int vvrec;

public agenda()

{

//

// Required for Windows Form Designer support

//

InitializeComponent();

//

// TODO: Add any constructor code after InitializeComponent call

//

}

/**

* Clean up any resources being used.

*/

protected void Dispose(boolean disposing)

{

if (disposing)

{

if (components != null)

{

components.Dispose();

}

}

super.Dispose(disposing);

}


 
      Windows Form Designer generated code

public static class agenda_cl

{

public static String agenda_desc;

public static System.DateTime appoint_date;

public static String appoint_type;

public static boolean appoint_full;

public static String task_type;

public static String task_prirority;

}

private void agenda_Load (Object sender, System.EventArgs e)

{

this.PanelA1.set_Width(this.PanelA2.get_Width());

this.PanelA.set_Height(this.PBox1.get_Height());

this.PanelA1.set_Height(this.PBox1.get_Height());

this.PanelA2.set_Height(this.PBox1.get_Height());

this.PanelA.set_Width(this.PanelA1.get_Width() + this.PanelA2.get_Width() + this.PBox1.get_Width());

this.PanelT.set_Width(this.PanelA.get_Width());

this.PanelA1.set_Top(0);

this.PanelA2.set_Top(0);

this.PBox1.set_Top(0);

this.PanelA1.set_Left(0);

this.PBox1.set_Left(this.PanelA1.get_Left() + this.PanelA1.get_Width());

this.PanelA2.set_Left(this.PBox1.get_Left() + this.PBox1.get_Width());

this.PanelB1.set_Top(this.PanelB2.get_Top());

this.VScrollBarA1.set_Height(this.VScrollBarB1.get_Height());

this.PanelB1.set_Height(this.VScrollBarA1.get_Height() + 4);

this.PanelB2.set_Height(this.VScrollBarB1.get_Height() + 4);

this.PicA_empty.set_Top((this.VScrollBarA1.get_Height() - this.PicA_empty.get_Height()) / 2);

this.PicA_empty.set_Left((this.PanelA2.get_Width() - this.PicA_empty.get_Width()) / 2);

this.PicB_empty.set_Top((this.VScrollBarB1.get_Height() - this.PicB_empty.get_Height()) / 2);

this.PicB_empty.set_Left((this.PanelB2.get_Width() - this.PicB_empty.get_Width()) / 2);

//task

this.PanA1.set_Left(this.PicA1.get_Left());

v_PanA1 = this.PanA1.get_Top();

v_PicA = this.PicA1.get_Height();

v_TxtA = this.TxtA1.get_Height();

v_BtnA = this.BtnA1.get_Height();

v_chk = this.ChkA1.get_Height();

this.PicA2.set_Left(this.PicA1.get_Left());

this.PicA3.set_Left(this.PicA1.get_Left());

this.PicA4.set_Left(this.PicA1.get_Left());

this.PicA5.set_Left(this.PicA1.get_Left());

this.PicA6.set_Left(this.PicA1.get_Left());

this.PicA7.set_Left(this.PicA1.get_Left());

this.PicA8.set_Left(this.PicA1.get_Left());

this.PicA9.set_Left(this.PicA1.get_Left());

this.PicA10.set_Left(this.PicA1.get_Left());

this.PicA11.set_Left(this.PicA1.get_Left());

this.PicA12.set_Left(this.PicA1.get_Left());

this.PicA13.set_Left(this.PicA1.get_Left());

this.PicA14.set_Left(this.PicA1.get_Left());

this.PicA15.set_Left(this.PicA1.get_Left());

this.PicA16.set_Left(this.PicA1.get_Left());

this.PicA17.set_Left(this.PicA1.get_Left());

this.PicA18.set_Left(this.PicA1.get_Left());

this.PicA19.set_Left(this.PicA1.get_Left());

this.PicA20.set_Left(this.PicA1.get_Left());

this.PicA21.set_Left(this.PicA1.get_Left());

this.PicA22.set_Left(this.PicA1.get_Left());

this.PicA23.set_Left(this.PicA1.get_Left());

this.PicA24.set_Left(this.PicA1.get_Left());

this.PTxA1.set_Left(this.PicA1.get_Left());

this.PTxA2.set_Left(this.PTxA1.get_Left());

this.PTxA3.set_Left(this.PTxA1.get_Left());

this.PTxA4.set_Left(this.PTxA1.get_Left());

this.PTxA5.set_Left(this.PTxA1.get_Left());

this.PTxA6.set_Left(this.PTxA1.get_Left());

this.PTxA7.set_Left(this.PTxA1.get_Left());

this.PTxA8.set_Left(this.PTxA1.get_Left());

this.PTxA9.set_Left(this.PTxA1.get_Left());

this.PTxA10.set_Left(this.PTxA1.get_Left());

this.PTxA11.set_Left(this.PTxA1.get_Left());

this.PTxA12.set_Left(this.PTxA1.get_Left());

this.PTxA13.set_Left(this.PTxA1.get_Left());

this.PTxA14.set_Left(this.PTxA1.get_Left());

this.PTxA15.set_Left(this.PTxA1.get_Left());

this.PTxA16.set_Left(this.PTxA1.get_Left());

this.PTxA17.set_Left(this.PTxA1.get_Left());

this.PTxA18.set_Left(this.PTxA1.get_Left());

this.PTxA19.set_Left(this.PTxA1.get_Left());

this.PTxA20.set_Left(this.PTxA1.get_Left());

this.PTxA21.set_Left(this.PTxA1.get_Left());

this.PTxA22.set_Left(this.PTxA1.get_Left());

this.PTxA23.set_Left(this.PTxA1.get_Left());

this.PTxA24.set_Left(this.PTxA1.get_Left());

this.PanA2.set_Left(this.PanA1.get_Left());

this.PanA3.set_Left(this.PanA1.get_Left());

this.PanA4.set_Left(this.PanA1.get_Left());

this.PanA5.set_Left(this.PanA1.get_Left());

this.PanA6.set_Left(this.PanA1.get_Left());

this.PanA7.set_Left(this.PanA1.get_Left());

this.PanA8.set_Left(this.PanA1.get_Left());

this.PanA9.set_Left(this.PanA1.get_Left());

this.PanA10.set_Left(this.PanA1.get_Left());

this.PanA11.set_Left(this.PanA1.get_Left());

this.PanA12.set_Left(this.PanA1.get_Left());

this.PanA13.set_Left(this.PanA1.get_Left());

this.PanA14.set_Left(this.PanA1.get_Left());

this.PanA15.set_Left(this.PanA1.get_Left());

this.PanA16.set_Left(this.PanA1.get_Left());

this.PanA17.set_Left(this.PanA1.get_Left());

this.PanA18.set_Left(this.PanA1.get_Left());

this.PanA19.set_Left(this.PanA1.get_Left());

this.PanA20.set_Left(this.PanA1.get_Left());

this.PanA21.set_Left(this.PanA1.get_Left());

this.PanA22.set_Left(this.PanA1.get_Left());

this.PanA23.set_Left(this.PanA1.get_Left());

this.PanA24.set_Left(this.PanA1.get_Left());

this.TxtA2.set_Left(this.TxtA1.get_Left());

this.TxtA3.set_Left(this.TxtA1.get_Left());

this.TxtA4.set_Left(this.TxtA1.get_Left());

this.TxtA5.set_Left(this.TxtA1.get_Left());

this.TxtA6.set_Left(this.TxtA1.get_Left());

this.TxtA7.set_Left(this.TxtA1.get_Left());

this.TxtA8.set_Left(this.TxtA1.get_Left());

this.TxtA9.set_Left(this.TxtA1.get_Left());

this.TxtA10.set_Left(this.TxtA1.get_Left());

this.TxtA11.set_Left(this.TxtA1.get_Left());

this.TxtA12.set_Left(this.TxtA1.get_Left());

this.TxtA13.set_Left(this.TxtA1.get_Left());

this.TxtA14.set_Left(this.TxtA1.get_Left());

this.TxtA15.set_Left(this.TxtA1.get_Left());

this.TxtA16.set_Left(this.TxtA1.get_Left());

this.TxtA17.set_Left(this.TxtA1.get_Left());

this.TxtA18.set_Left(this.TxtA1.get_Left());

this.TxtA19.set_Left(this.TxtA1.get_Left());

this.TxtA20.set_Left(this.TxtA1.get_Left());

this.TxtA21.set_Left(this.TxtA1.get_Left());

this.TxtA22.set_Left(this.TxtA1.get_Left());

this.TxtA23.set_Left(this.TxtA1.get_Left());

this.TxtA24.set_Left(this.TxtA1.get_Left());

this.BtnA2.set_Left(this.BtnA1.get_Left());

this.BtnA3.set_Left(this.BtnA1.get_Left());

this.BtnA4.set_Left(this.BtnA1.get_Left());

this.BtnA5.set_Left(this.BtnA1.get_Left());

this.BtnA6.set_Left(this.BtnA1.get_Left());

this.BtnA7.set_Left(this.BtnA1.get_Left());

this.BtnA8.set_Left(this.BtnA1.get_Left());

this.BtnA9.set_Left(this.BtnA1.get_Left());

this.BtnA10.set_Left(this.BtnA1.get_Left());

this.BtnA11.set_Left(this.BtnA1.get_Left());

this.BtnA12.set_Left(this.BtnA1.get_Left());

this.BtnA13.set_Left(this.BtnA1.get_Left());

this.BtnA14.set_Left(this.BtnA1.get_Left());

this.BtnA15.set_Left(this.BtnA1.get_Left());

this.BtnA16.set_Left(this.BtnA1.get_Left());

this.BtnA17.set_Left(this.BtnA1.get_Left());

this.BtnA18.set_Left(this.BtnA1.get_Left());

this.BtnA19.set_Left(this.BtnA1.get_Left());

this.BtnA20.set_Left(this.BtnA1.get_Left());

this.BtnA21.set_Left(this.BtnA1.get_Left());

this.BtnA22.set_Left(this.BtnA1.get_Left());

this.BtnA23.set_Left(this.BtnA1.get_Left());

this.BtnA24.set_Left(this.BtnA1.get_Left());

this.ChkA2.set_Left(this.ChkA1.get_Left());

this.ChkA3.set_Left(this.ChkA1.get_Left());

this.ChkA4.set_Left(this.ChkA1.get_Left());

this.ChkA5.set_Left(this.ChkA1.get_Left());

this.ChkA6.set_Left(this.ChkA1.get_Left());

this.ChkA7.set_Left(this.ChkA1.get_Left());

this.ChkA8.set_Left(this.ChkA1.get_Left());

this.ChkA9.set_Left(this.ChkA1.get_Left());

this.ChkA10.set_Left(this.ChkA1.get_Left());

this.ChkA11.set_Left(this.ChkA1.get_Left());

this.ChkA12.set_Left(this.ChkA1.get_Left());

this.ChkA13.set_Left(this.ChkA1.get_Left());

this.ChkA14.set_Left(this.ChkA1.get_Left());

this.ChkA15.set_Left(this.ChkA1.get_Left());

this.ChkA16.set_Left(this.ChkA1.get_Left());

this.ChkA17.set_Left(this.ChkA1.get_Left());

this.ChkA18.set_Left(this.ChkA1.get_Left());

this.ChkA19.set_Left(this.ChkA1.get_Left());

this.ChkA20.set_Left(this.ChkA1.get_Left());

this.ChkA21.set_Left(this.ChkA1.get_Left());

this.ChkA22.set_Left(this.ChkA1.get_Left());

this.ChkA23.set_Left(this.ChkA1.get_Left());

this.ChkA24.set_Left(this.ChkA1.get_Left());

this.StxA1.set_Left(this.ChkA1.get_Left());

this.StxA2.set_Left(this.ChkA1.get_Left());

this.StxA3.set_Left(this.ChkA1.get_Left());

this.StxA4.set_Left(this.ChkA1.get_Left());

this.StxA5.set_Left(this.ChkA1.get_Left());

this.StxA6.set_Left(this.ChkA1.get_Left());

this.StxA7.set_Left(this.ChkA1.get_Left());

this.StxA8.set_Left(this.ChkA1.get_Left());

this.StxA9.set_Left(this.ChkA1.get_Left());

this.StxA10.set_Left(this.ChkA1.get_Left());

this.StxA11.set_Left(this.ChkA1.get_Left());

this.StxA12.set_Left(this.ChkA1.get_Left());

this.StxA13.set_Left(this.ChkA1.get_Left());

this.StxA14.set_Left(this.ChkA1.get_Left());

this.StxA15.set_Left(this.ChkA1.get_Left());

this.StxA16.set_Left(this.ChkA1.get_Left());

this.StxA17.set_Left(this.ChkA1.get_Left());

this.StxA18.set_Left(this.ChkA1.get_Left());

this.StxA19.set_Left(this.ChkA1.get_Left());

this.StxA20.set_Left(this.ChkA1.get_Left());

this.StxA21.set_Left(this.ChkA1.get_Left());

this.StxA22.set_Left(this.ChkA1.get_Left());

this.StxA23.set_Left(this.ChkA1.get_Left());

this.StxA24.set_Left(this.ChkA1.get_Left());

//appointment

v_TxtB = v_TxtA;

v_BtnB = v_BtnA;

v_PanB1 = v_PanA1;

this.PanB2.set_Left(this.PanB1.get_Left());

this.PanB3.set_Left(this.PanB1.get_Left());

this.PanB4.set_Left(this.PanB1.get_Left());

this.PanB5.set_Left(this.PanB1.get_Left());

this.PanB6.set_Left(this.PanB1.get_Left());

this.PanB7.set_Left(this.PanB1.get_Left());

this.PanB8.set_Left(this.PanB1.get_Left());

this.PanB9.set_Left(this.PanB1.get_Left());

this.PanB10.set_Left(this.PanB1.get_Left());

this.PanB11.set_Left(this.PanB1.get_Left());

this.PanB12.set_Left(this.PanB1.get_Left());

this.PanB13.set_Left(this.PanB1.get_Left());

this.PanB14.set_Left(this.PanB1.get_Left());

this.PanB15.set_Left(this.PanB1.get_Left());

this.PanB16.set_Left(this.PanB1.get_Left());

this.PanB17.set_Left(this.PanB1.get_Left());

this.PanB18.set_Left(this.PanB1.get_Left());

this.PanB19.set_Left(this.PanB1.get_Left());

this.PanB20.set_Left(this.PanB1.get_Left());

this.PanB21.set_Left(this.PanB1.get_Left());

this.PanB22.set_Left(this.PanB1.get_Left());

this.PanB23.set_Left(this.PanB1.get_Left());

this.PanB24.set_Left(this.PanB1.get_Left());

this.TxtC2.set_Left(this.TxtC1.get_Left());

this.TxtC3.set_Left(this.TxtC1.get_Left());

this.TxtC4.set_Left(this.TxtC1.get_Left());

this.TxtC5.set_Left(this.TxtC1.get_Left());

this.TxtC6.set_Left(this.TxtC1.get_Left());

this.TxtC7.set_Left(this.TxtC1.get_Left());

this.TxtC8.set_Left(this.TxtC1.get_Left());

this.TxtC9.set_Left(this.TxtC1.get_Left());

this.TxtC10.set_Left(this.TxtC1.get_Left());

this.TxtC11.set_Left(this.TxtC1.get_Left());

this.TxtC12.set_Left(this.TxtC1.get_Left());

this.TxtC13.set_Left(this.TxtC1.get_Left());

this.TxtC14.set_Left(this.TxtC1.get_Left());

this.TxtC15.set_Left(this.TxtC1.get_Left());

this.TxtC16.set_Left(this.TxtC1.get_Left());

this.TxtC17.set_Left(this.TxtC1.get_Left());

this.TxtC18.set_Left(this.TxtC1.get_Left());

this.TxtC19.set_Left(this.TxtC1.get_Left());

this.TxtC20.set_Left(this.TxtC1.get_Left());

this.TxtC21.set_Left(this.TxtC1.get_Left());

this.TxtC22.set_Left(this.TxtC1.get_Left());

this.TxtC23.set_Left(this.TxtC1.get_Left());

this.TxtC24.set_Left(this.TxtC1.get_Left());

this.TxtB2.set_Left(this.TxtB1.get_Left());

this.TxtB3.set_Left(this.TxtB1.get_Left());

this.TxtB4.set_Left(this.TxtB1.get_Left());

this.TxtB5.set_Left(this.TxtB1.get_Left());

this.TxtB6.set_Left(this.TxtB1.get_Left());

this.TxtB7.set_Left(this.TxtB1.get_Left());

this.TxtB8.set_Left(this.TxtB1.get_Left());

this.TxtB9.set_Left(this.TxtB1.get_Left());

this.TxtB10.set_Left(this.TxtB1.get_Left());

this.TxtB11.set_Left(this.TxtB1.get_Left());

this.TxtB12.set_Left(this.TxtB1.get_Left());

this.TxtB13.set_Left(this.TxtB1.get_Left());

this.TxtB14.set_Left(this.TxtB1.get_Left());

this.TxtB15.set_Left(this.TxtB1.get_Left());

this.TxtB16.set_Left(this.TxtB1.get_Left());

this.TxtB17.set_Left(this.TxtB1.get_Left());

this.TxtB18.set_Left(this.TxtB1.get_Left());

this.TxtB19.set_Left(this.TxtB1.get_Left());

this.TxtB20.set_Left(this.TxtB1.get_Left());

this.TxtB21.set_Left(this.TxtB1.get_Left());

this.TxtB22.set_Left(this.TxtB1.get_Left());

this.TxtB23.set_Left(this.TxtB1.get_Left());

this.TxtB24.set_Left(this.TxtB1.get_Left());

this.BtnB2.set_Left(this.BtnB1.get_Left());

this.BtnB3.set_Left(this.BtnB1.get_Left());

this.BtnB4.set_Left(this.BtnB1.get_Left());

this.BtnB5.set_Left(this.BtnB1.get_Left());

this.BtnB6.set_Left(this.BtnB1.get_Left());

this.BtnB7.set_Left(this.BtnB1.get_Left());

this.BtnB8.set_Left(this.BtnB1.get_Left());

this.BtnB9.set_Left(this.BtnB1.get_Left());

this.BtnB10.set_Left(this.BtnB1.get_Left());

this.BtnB11.set_Left(this.BtnB1.get_Left());

this.BtnB12.set_Left(this.BtnB1.get_Left());

this.BtnB13.set_Left(this.BtnB1.get_Left());

this.BtnB14.set_Left(this.BtnB1.get_Left());

this.BtnB15.set_Left(this.BtnB1.get_Left());

this.BtnB16.set_Left(this.BtnB1.get_Left());

this.BtnB17.set_Left(this.BtnB1.get_Left());

this.BtnB18.set_Left(this.BtnB1.get_Left());

this.BtnB19.set_Left(this.BtnB1.get_Left());

this.BtnB20.set_Left(this.BtnB1.get_Left());

this.BtnB21.set_Left(this.BtnB1.get_Left());

this.BtnB22.set_Left(this.BtnB1.get_Left());

this.BtnB23.set_Left(this.BtnB1.get_Left());

this.BtnB24.set_Left(this.BtnB1.get_Left());

this.ChkB2.set_Left(this.ChkB1.get_Left());

this.ChkB3.set_Left(this.ChkB1.get_Left());

this.ChkB4.set_Left(this.ChkB1.get_Left());

this.ChkB5.set_Left(this.ChkB1.get_Left());

this.ChkB6.set_Left(this.ChkB1.get_Left());

this.ChkB7.set_Left(this.ChkB1.get_Left());

this.ChkB8.set_Left(this.ChkB1.get_Left());

this.ChkB9.set_Left(this.ChkB1.get_Left());

this.ChkB10.set_Left(this.ChkB1.get_Left());

this.ChkB11.set_Left(this.ChkB1.get_Left());

this.ChkB12.set_Left(this.ChkB1.get_Left());

this.ChkB13.set_Left(this.ChkB1.get_Left());

this.ChkB14.set_Left(this.ChkB1.get_Left());

this.ChkB15.set_Left(this.ChkB1.get_Left());

this.ChkB16.set_Left(this.ChkB1.get_Left());

this.ChkB17.set_Left(this.ChkB1.get_Left());

this.ChkB18.set_Left(this.ChkB1.get_Left());

this.ChkB19.set_Left(this.ChkB1.get_Left());

this.ChkB20.set_Left(this.ChkB1.get_Left());

this.ChkB21.set_Left(this.ChkB1.get_Left());

this.ChkB22.set_Left(this.ChkB1.get_Left());

this.ChkB23.set_Left(this.ChkB1.get_Left());

this.ChkB24.set_Left(this.ChkB1.get_Left());

this.StxB1.set_Left(this.ChkB1.get_Left());

this.StxB2.set_Left(this.ChkB1.get_Left());

this.StxB3.set_Left(this.ChkB1.get_Left());

this.StxB4.set_Left(this.ChkB1.get_Left());

this.StxB5.set_Left(this.ChkB1.get_Left());

this.StxB6.set_Left(this.ChkB1.get_Left());

this.StxB7.set_Left(this.ChkB1.get_Left());

this.StxB8.set_Left(this.ChkB1.get_Left());

this.StxB9.set_Left(this.ChkB1.get_Left());

this.StxB10.set_Left(this.ChkB1.get_Left());

this.StxB11.set_Left(this.ChkB1.get_Left());

this.StxB12.set_Left(this.ChkB1.get_Left());

this.StxB13.set_Left(this.ChkB1.get_Left());

this.StxB14.set_Left(this.ChkB1.get_Left());

this.StxB15.set_Left(this.ChkB1.get_Left());

this.StxB16.set_Left(this.ChkB1.get_Left());

this.StxB17.set_Left(this.ChkB1.get_Left());

this.StxB18.set_Left(this.ChkB1.get_Left());

this.StxB19.set_Left(this.ChkB1.get_Left());

this.StxB20.set_Left(this.ChkB1.get_Left());

this.StxB21.set_Left(this.ChkB1.get_Left());

this.StxB22.set_Left(this.ChkB1.get_Left());

this.StxB23.set_Left(this.ChkB1.get_Left());

this.StxB24.set_Left(this.ChkB1.get_Left());

this.txid1.set_Top(this.TxtB1.get_Top());

this.txid2.set_Top(this.TxtB1.get_Top());

this.txid3.set_Top(this.TxtB1.get_Top());

this.txid4.set_Top(this.TxtB1.get_Top());

this.txid5.set_Top(this.TxtB1.get_Top());

this.txid6.set_Top(this.TxtB1.get_Top());

this.txid7.set_Top(this.TxtB1.get_Top());

this.txid8.set_Top(this.TxtB1.get_Top());

this.txid9.set_Top(this.TxtB1.get_Top());

this.txid10.set_Top(this.TxtB1.get_Top());

this.txid11.set_Top(this.TxtB1.get_Top());

this.txid12.set_Top(this.TxtB1.get_Top());

this.txid13.set_Top(this.TxtB1.get_Top());

this.txid14.set_Top(this.TxtB1.get_Top());

this.txid15.set_Top(this.TxtB1.get_Top());

this.txid16.set_Top(this.TxtB1.get_Top());

this.txid17.set_Top(this.TxtB1.get_Top());

this.txid18.set_Top(this.TxtB1.get_Top());

this.txid19.set_Top(this.TxtB1.get_Top());

this.txid20.set_Top(this.TxtB1.get_Top());

this.txid21.set_Top(this.TxtB1.get_Top());

this.txid22.set_Top(this.TxtB1.get_Top());

this.txid23.set_Top(this.TxtB1.get_Top());

this.txid24.set_Top(this.TxtB1.get_Top());

this.btn_ok.set_Top(this.PBox1.get_Height() - (this.btn_ok.get_Height() + 2));

//load agenda table

sub_loadagenda();

//current date

this.Chckmonth.set_Checked(true);

this.Chckyear.set_Checked(true);

//default value of v_currentyear and v_currentmonth

v_currentmonth = 1;

v_currentyear = 1;

sub_currentdate(v_currentmonth, v_currentyear);

//load task + appointment values

current_date = System.DateTime.get_Now().ToString("M/d/yyyy");

agenda_cl.appoint_date = System.DateTime.get_Now();

agenda_cl.appoint_date = System.Convert.ToDateTime(current_date);

load_value(current_date);

this.ltoday.Focus();

}

 

private void sub_loadagenda()

{

try

{

// Attempt to load the dataset.

this.LoadDataSet();

}

catch (System.Exception eLoad)

{

// Display error message, if any.

System.Windows.Forms.MessageBox.Show(eLoad.get_Message());

}

}

public void LoadDataSet () throws System.Exception

{

// Create a new dataset to hold the records returned from the call to FillDataSet.

// A temporary dataset is used because filling the existing dataset would

// require the databindings to be rebound.

work_VJnet.Agendadset objDataSetTemp;

objDataSetTemp = new work_VJnet.Agendadset();

try

{

// Attempt to fill the temporary dataset.

this.FillDataSet(objDataSetTemp);

}

catch (System.Exception eFillDataSet)

{

// Add your error handling code here.

throw eFillDataSet;

}

try

{

// Empty the old records from the dataset.

objAgendadset.Clear();

// Merge the records into the main dataset.

objAgendadset.Merge(objDataSetTemp);

}

catch (System.Exception eLoadMerge)

{

// Add your error handling code here.

throw eLoadMerge;

}

}

public void FillDataSet (work_VJnet.Agendadset dataSet) throws System.Exception

{

// Turn off constraint checking before the dataset is filled.

// This allows the adapters to fill the dataset without concern

// for dependencies between the tables.

dataSet.set_EnforceConstraints(false);

try

{

// Open the connection.

this.oleDbConnection1.Open();

// Attempt to fill the dataset through the OleDbDataAdapter1.

this.oleDbDataAdapter1.Fill(dataSet);

}

catch (System.Exception fillException)

{

// Add your error handling code here.

throw fillException;

}

finally

{

// Turn constraint checking back on.

dataSet.set_EnforceConstraints(true);

// Close the connection whether or not the exception was thrown.

this.oleDbConnection1.Close();

}

}

private void sub_currentdate(int current_month, int current_year)

{

int vvrc;

vselect1 = new System.Data.OleDb.OleDbCommand("SELECT DISTINCT agenda.ondate, agenda.ondate_d,
agenda.ondate_m, agenda.ondate_y FROM(agenda)WHERE(((agenda.entry_type) = '" + "A" + "') And
((agenda.description) <> '" + "" + "'))ORDER BY agenda.ondate");

vda1 = new System.Data.OleDb.OleDbDataAdapter(vselect1);

vdset1 = new System.Data.DataSet();

vselect1.set_Connection(this.oleDbConnection1);

vdset1.set_EnforceConstraints(false);

try

{

this.oleDbConnection1.Open();

vda1.Fill(vdset1, "agenda");

}

catch (System.Exception fillException)

{

System.Windows.Forms.MessageBox.Show(fillException.get_Message());

}

vdset1.set_EnforceConstraints(true);

this.oleDbConnection1.Close();

this.cmb_correspond.get_Items().Clear();

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() > 0)

{

for (vvrc = 0 ; vvrc <= (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() - 1); vvrc++)

{

switch(current_year)

{

case 1:

switch(current_month)

{

case 1: //current_year=1 , current_month=1

if ((vdset1.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).
get_Item("ondate_y").ToString().Trim().Equals(System.DateTime.get_Now().ToString("yyyy").Trim())) &&
(vdset1.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).
get_Item("ondate_m").ToString().Trim().Equals(System.DateTime.get_Now().ToString("MM").Trim())))

this.cmb_correspond.get_Items().Add(System.Convert.ToDateTime(vdset1.get_Tables().
get_Item("agenda").get_Rows().
get_Item(vvrc).get_Item("ondate")).ToString("M/d/yyyy"));

break;

default: //current_year=1 , current_month > 1

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).get_Item("ondate_y").ToString().Trim().
Equals(System.DateTime.get_Now().ToString("yyyy").Trim()))

this.cmb_correspond.get_Items().Add(System.Convert.ToDateTime(vdset1.get_Tables().get_Item("agenda").
get_Rows().get_Item(vvrc).get_Item("ondate")).ToString("M/d/yyyy"));

break;

}

break;

default:

switch(current_month)

{

case 1: //current_year > 1 , current_month = 1

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).get_Item("ondate_m").ToString().Trim().
Equals(System.DateTime.get_Now().ToString("MM").Trim()))

this.cmb_correspond.get_Items().Add(System.Convert.ToDateTime(vdset1.get_Tables().
get_Item("agenda").get_Rows().
get_Item(vvrc).get_Item("ondate")).ToString("M/d/yyyy"));

break;

default: //current_year > 1 , current_month > 1

this.cmb_correspond.get_Items().Add(System.Convert.ToDateTime(vdset1.get_Tables().
get_Item("agenda").
get_Rows().get_Item(vvrc).get_Item("ondate")).ToString("M/d/yyyy"));

break;

}

break;

}

}

}

}

private void load_value(String v_date)

{

String vondate_d;

String vondate_m;

String vondate_y;

boolean emptyA_flag;

boolean emptyB_flag;

int entrytype_A;

int entrytype_T;

int i;

entrytype_A = 0;

entrytype_T = 0;

emptyA_flag = false; //task

emptyB_flag = false; //appointment

this.ltoday.set_Text(System.Convert.ToDateTime(v_date).ToLongDateString());

//appointment

//test if it available to add new appointmement with this current date

if ((System.Convert.ToDateTime(current_date).get_Day() > 0) &&
(System.Convert.ToDateTime(current_date).get_Day() < 10))

vondate_d = "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day());

else

vondate_d = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day());

if ((System.Convert.ToDateTime(current_date).get_Month() > 0) &&
(System.Convert.ToDateTime(current_date).get_Month() < 10))

vondate_m = "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month());

else

vondate_m = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month());

vondate_y = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Year());

//load agenda table, order by serialno field

sub_loaddata("A", vondate_d, vondate_m, vondate_y);

 

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() > 0)

{

for (vvrec = 0 ; vvrec <= (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() - 1); vvrec++)

{

entrytype_A = entrytype_A + 1;

switch(entrytype_A)

{

case 1:

this.TxtC1.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB1.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB1.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid1.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 2:

this.TxtC2.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB2.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB2.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid2.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 3:

this.TxtC3.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB3.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB3.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid3.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 4:

this.TxtC4.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB4.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB4.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid4.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 5:

this.TxtC5.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB5.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB5.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid5.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 6:

this.TxtC6.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB6.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB6.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid6.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 7:

this.TxtC7.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB7.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB7.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid7.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 8:

this.TxtC8.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB8.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB8.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid8.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 9:

this.TxtC9.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB9.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB9.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid9.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 10:

this.TxtC10.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB10.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB10.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid10.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 11:

this.TxtC11.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB11.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB11.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid11.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 12:

this.TxtC12.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB12.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB12.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid12.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 13:

this.TxtC13.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB13.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB13.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid13.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 14:

this.TxtC14.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB14.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB14.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid14.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 15:

this.TxtC15.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB15.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB15.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid15.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 16:

this.TxtC16.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB16.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB16.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid16.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 17:

this.TxtC17.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB17.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB17.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid17.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 18:

this.TxtC18.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB18.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB18.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid18.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 19:

this.TxtC19.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB19.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB19.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid19.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 20:

this.TxtC20.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB20.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB20.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid20.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 21:

this.TxtC21.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB21.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB21.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid21.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 22:

this.TxtC22.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB22.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB22.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid22.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 23:

this.TxtC23.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB23.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB23.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid23.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

case 24:

this.TxtC24.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("ontime").ToString());

this.TxtB24.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxB24.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

this.txid24.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("bookid")));

break;

}

emptyB_flag = true;

}

this.lappoint.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Count()) + " appointment(s)");

}

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() == 0)

this.lappoint.set_Text(" appointment");

//task

sub_loaddata("T", "", "", "");

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() > 0)

{

for (vvrec = 0 ; vvrec <= (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() - 1); vvrec++)

{

entrytype_T = entrytype_T + 1;

switch(entrytype_T)

{

case 1:

this.PTxA1.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA1, vvrec);

this.TxtA1.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA1.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 2:

this.PTxA2.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA2, vvrec);

this.TxtA2.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA2.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 3:

this.PTxA3.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA3, vvrec);

this.TxtA3.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA3.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 4:

this.PTxA4.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA4, vvrec);

this.TxtA4.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA4.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 5:

this.PTxA5.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA5, vvrec);

this.TxtA5.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA5.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 6:

this.PTxA6.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA6, vvrec);

this.TxtA6.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA6.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 7:

this.PTxA7.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA7, vvrec);

this.TxtA7.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA7.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 8:

this.PTxA8.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA8, vvrec);

this.TxtA8.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA8.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 9:

this.PTxA9.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA9, vvrec);

this.TxtA9.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA9.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 10:

this.PTxA10.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA10, vvrec);

this.TxtA10.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA10.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 11:

this.PTxA11.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA11, vvrec);

this.TxtA11.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA11.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 12:

this.PTxA12.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA12, vvrec);

this.TxtA12.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA12.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 13:

this.PTxA13.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA13, vvrec);

this.TxtA13.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA13.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 14:

this.PTxA14.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA14, vvrec);

this.TxtA14.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA14.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 15:

this.PTxA15.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA15, vvrec);

this.TxtA15.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA15.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 16:

this.PTxA16.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA16, vvrec);

this.TxtA16.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA16.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 17:

this.PTxA17.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA17, vvrec);

this.TxtA17.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA17.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 18:

this.PTxA18.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA18, vvrec);

this.TxtA18.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA18.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 19:

this.PTxA19.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA19, vvrec);

this.TxtA19.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA19.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 20:

this.PTxA20.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA20, vvrec);

this.TxtA20.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA20.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 21:

this.PTxA21.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA21, vvrec);

this.TxtA21.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA21.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 22:

this.PTxA22.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA22, vvrec);

this.TxtA22.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA22.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 23:

this.PTxA23.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA23, vvrec);

this.TxtA23.set_Text(vdset1.get_Tables().get_Item("agenda").
get_Rows().get_Item(vvrec).get_Item("description").ToString());

this.StxA23.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

case 24:

this.PTxA24.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("taskprirority").ToString());

//taskprirority field, picture corresponding (p_high.bmp, p_normal.bmp, p_low.bmp)

pic_taskprirority(this.PicA24, vvrec);

this.TxtA24.set_Text(vdset1.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrec).get_Item("description").ToString());

this.StxA24.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrec).get_Item("serialno")));

break;

}

emptyA_flag = true;

}

this.ltask.set_Text(System.Convert.ToString(vdset1.get_Tables().
get_Item("agenda").get_Rows().get_Count()) + " task(s)");

}

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() == 0)

this.ltask.set_Text(" task");

//task

for (i = 1 ; i <= entrytype_T; i++)

{

sub_visible(true, i, "T");

}

for (i = entrytype_T + 1; i <= 24; i++)

{

sub_visible(false, i, "T");

}

//scrollBar ...

this.VScrollBarA1.set_Maximum(entrytype_T - 1);

this.VScrollBarA1.set_LargeChange(12);

this.VScrollBarA1.set_SmallChange(12);

if (entrytype_T > 0)

this.VScrollBarA1.set_Value(0);

if (emptyA_flag == true)

this.PicA_empty.set_Visible(false);

else

this.PicA_empty.set_Visible(true);

sub_VScrollA1(this.VScrollBarA1.get_Value());

//appointment

for (i = 1 ; i <= entrytype_A; i++)

{

sub_visible(true, i, "A");

}

for (i = entrytype_A + 1; i <= 24; i++)

{

sub_visible(false, i, "A");

}

//scrollBar ...

this.VScrollBarB1.set_Maximum(entrytype_A - 1);

this.VScrollBarB1.set_LargeChange(12);

this.VScrollBarB1.set_SmallChange(12);

if (entrytype_A > 0)

this.VScrollBarB1.set_Value(0);

if (emptyB_flag == true)

this.PicB_empty.set_Visible(false);

else

this.PicB_empty.set_Visible(true);

sub_VScrollB1(this.VScrollBarB1.get_Value());

emptyA_flag = false;

emptyB_flag = false;

}

private void pic_taskprirority(System.Windows.Forms.PictureBox v_PictureBox, int v_reco)

{

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrec).
get_Item("taskprirority").ToString().Trim().Equals("H"))

v_PictureBox.set_Image(Image.FromFile(work_VJnet.mainform.mainform_cl.current_path.Trim() + "\\pic\\p_high.bmp"));

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrec).
get_Item("taskprirority").ToString().Trim().Equals("N"))

v_PictureBox.set_Image(Image.FromFile(work_VJnet.mainform.mainform_cl.current_path.Trim() + "\\pic\\p_normal.bmp"));

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrec).
get_Item("taskprirority").ToString().Trim().Equals("L"))

v_PictureBox.set_Image(Image.FromFile(work_VJnet.mainform.mainform_cl.current_path.Trim() + "\\pic\\p_low.bmp"));

}

private void sub_visible(boolean bval, int v_serialno, String v_entrytype)

{

if (v_entrytype.Trim().Equals("T"))

{

switch(v_serialno)

{

case 1:

this.PTxA1.set_Visible(bval);

this.PicA1.set_Visible(bval);

this.TxtA1.set_Visible(bval);

this.PanA1.set_Visible(bval);

this.BtnA1.set_Visible(bval);

this.ChkA1.set_Visible(bval);

this.StxA1.set_Visible(bval);

break;

case 2:

this.PTxA2.set_Visible(bval);

this.PicA2.set_Visible(bval);

this.TxtA2.set_Visible(bval);

this.PanA2.set_Visible(bval);

this.BtnA2.set_Visible(bval);

this.ChkA2.set_Visible(bval);

this.StxA2.set_Visible(bval);

break;

case 3:

this.PTxA3.set_Visible(bval);

this.PicA3.set_Visible(bval);

this.TxtA3.set_Visible(bval);

this.PanA3.set_Visible(bval);

this.BtnA3.set_Visible(bval);

this.ChkA3.set_Visible(bval);

this.StxA3.set_Visible(bval);

break;

case 4:

this.PTxA4.set_Visible(bval);

this.PicA4.set_Visible(bval);

this.TxtA4.set_Visible(bval);

this.PanA4.set_Visible(bval);

this.BtnA4.set_Visible(bval);

this.ChkA4.set_Visible(bval);

this.StxA4.set_Visible(bval);

break;

case 5:

this.PTxA5.set_Visible(bval);

this.PicA5.set_Visible(bval);

this.TxtA5.set_Visible(bval);

this.PanA5.set_Visible(bval);

this.BtnA5.set_Visible(bval);

this.ChkA5.set_Visible(bval);

this.StxA5.set_Visible(bval);

break;

case 6:

this.PTxA6.set_Visible(bval);

this.PicA6.set_Visible(bval);

this.TxtA6.set_Visible(bval);

this.PanA6.set_Visible(bval);

this.BtnA6.set_Visible(bval);

this.ChkA6.set_Visible(bval);

this.StxA6.set_Visible(bval);

break;

case 7:

this.PTxA7.set_Visible(bval);

this.PicA7.set_Visible(bval);

this.TxtA7.set_Visible(bval);

this.PanA7.set_Visible(bval);

this.BtnA7.set_Visible(bval);

this.ChkA7.set_Visible(bval);

this.StxA7.set_Visible(bval);

break;

case 8:

this.PTxA8.set_Visible(bval);

this.PicA8.set_Visible(bval);

this.TxtA8.set_Visible(bval);

this.PanA8.set_Visible(bval);

this.BtnA8.set_Visible(bval);

this.ChkA8.set_Visible(bval);

this.StxA8.set_Visible(bval);

break;

case 9:

this.PTxA9.set_Visible(bval);

this.PicA9.set_Visible(bval);

this.TxtA9.set_Visible(bval);

this.PanA9.set_Visible(bval);

this.BtnA9.set_Visible(bval);

this.ChkA9.set_Visible(bval);

this.StxA9.set_Visible(bval);

break;

case 10:

this.PTxA10.set_Visible(bval);

this.PTxA1.set_Visible(bval);

this.PicA10.set_Visible(bval);

this.TxtA10.set_Visible(bval);

this.PanA10.set_Visible(bval);

this.BtnA10.set_Visible(bval);

this.ChkA10.set_Visible(bval);

this.StxA10.set_Visible(bval);

break;

case 11:

this.PTxA11.set_Visible(bval);

this.PicA11.set_Visible(bval);

this.TxtA11.set_Visible(bval);

this.PanA11.set_Visible(bval);

this.BtnA11.set_Visible(bval);

this.ChkA11.set_Visible(bval);

this.StxA11.set_Visible(bval);

break;

case 12:

this.PTxA12.set_Visible(bval);

this.PicA12.set_Visible(bval);

this.TxtA12.set_Visible(bval);

this.PanA12.set_Visible(bval);

this.BtnA12.set_Visible(bval);

this.ChkA12.set_Visible(bval);

this.StxA12.set_Visible(bval);

break;

case 13:

this.PTxA13.set_Visible(bval);

this.PicA13.set_Visible(bval);

this.TxtA13.set_Visible(bval);

this.PanA13.set_Visible(bval);

this.BtnA13.set_Visible(bval);

this.ChkA13.set_Visible(bval);

this.StxA13.set_Visible(bval);

break;

case 14:

this.PTxA14.set_Visible(bval);

this.PicA14.set_Visible(bval);

this.TxtA14.set_Visible(bval);

this.PanA14.set_Visible(bval);

this.BtnA14.set_Visible(bval);

this.ChkA14.set_Visible(bval);

this.StxA14.set_Visible(bval);

break;

case 15:

this.PTxA15.set_Visible(bval);

this.PicA15.set_Visible(bval);

this.TxtA15.set_Visible(bval);

this.PanA15.set_Visible(bval);

this.BtnA15.set_Visible(bval);

this.ChkA15.set_Visible(bval);

this.StxA15.set_Visible(bval);

break;

case 16:

this.PTxA16.set_Visible(bval);

this.PicA16.set_Visible(bval);

this.TxtA16.set_Visible(bval);

this.PanA16.set_Visible(bval);

this.BtnA16.set_Visible(bval);

this.ChkA16.set_Visible(bval);

this.StxA16.set_Visible(bval);

break;

case 17:

this.PTxA17.set_Visible(bval);

this.PicA17.set_Visible(bval);

this.TxtA17.set_Visible(bval);

this.PanA17.set_Visible(bval);

this.BtnA17.set_Visible(bval);

this.ChkA17.set_Visible(bval);

this.StxA17.set_Visible(bval);

break;

case 18:

this.PTxA18.set_Visible(bval);

this.PicA18.set_Visible(bval);

this.TxtA18.set_Visible(bval);

this.PanA18.set_Visible(bval);

this.BtnA18.set_Visible(bval);

this.ChkA18.set_Visible(bval);

this.StxA18.set_Visible(bval);

break;

case 19:

this.PTxA19.set_Visible(bval);

this.PicA19.set_Visible(bval);

this.TxtA19.set_Visible(bval);

this.PanA19.set_Visible(bval);

this.BtnA19.set_Visible(bval);

this.ChkA19.set_Visible(bval);

this.StxA19.set_Visible(bval);

break;

case 20:

this.PTxA20.set_Visible(bval);

this.PicA20.set_Visible(bval);

this.TxtA20.set_Visible(bval);

this.PanA20.set_Visible(bval);

this.BtnA20.set_Visible(bval);

this.ChkA20.set_Visible(bval);

this.StxA20.set_Visible(bval);

break;

case 21:

this.PTxA21.set_Visible(bval);

this.PicA21.set_Visible(bval);

this.TxtA21.set_Visible(bval);

this.PanA21.set_Visible(bval);

this.BtnA21.set_Visible(bval);

this.ChkA21.set_Visible(bval);

this.StxA21.set_Visible(bval);

break;

case 22:

this.PTxA22.set_Visible(bval);

this.PicA22.set_Visible(bval);

this.TxtA22.set_Visible(bval);

this.PanA22.set_Visible(bval);

this.BtnA22.set_Visible(bval);

this.ChkA22.set_Visible(bval);

this.StxA22.set_Visible(bval);

break;

case 23:

this.PTxA23.set_Visible(bval);

this.PicA23.set_Visible(bval);

this.TxtA23.set_Visible(bval);

this.PanA23.set_Visible(bval);

this.BtnA23.set_Visible(bval);

this.ChkA23.set_Visible(bval);

this.StxA23.set_Visible(bval);

break;

case 24:

this.PTxA24.set_Visible(bval);

this.PicA24.set_Visible(bval);

this.TxtA24.set_Visible(bval);

this.PanA24.set_Visible(bval);

this.BtnA24.set_Visible(bval);

this.ChkA24.set_Visible(bval);

this.StxA24.set_Visible(bval);

break;

}

}

if (v_entrytype.Trim().Equals("A"))

{

switch(v_serialno)

{

case 1:

this.TxtC1.set_Visible(bval);

this.TxtB1.set_Visible(bval);

this.PanB1.set_Visible(bval);

this.BtnB1.set_Visible(bval);

this.ChkB1.set_Visible(bval);

this.StxB1.set_Visible(bval);

break;

case 2:

this.TxtC2.set_Visible(bval);

this.TxtB2.set_Visible(bval);

this.PanB2.set_Visible(bval);

this.BtnB2.set_Visible(bval);

this.ChkB2.set_Visible(bval);

this.StxB2.set_Visible(bval);

break;

case 3:

this.TxtC3.set_Visible(bval);

this.TxtB3.set_Visible(bval);

this.PanB3.set_Visible(bval);

this.BtnB3.set_Visible(bval);

this.ChkB3.set_Visible(bval);

this.StxB3.set_Visible(bval);

break;

case 4:

this.TxtC4.set_Visible(bval);

this.TxtB4.set_Visible(bval);

this.PanB4.set_Visible(bval);

this.BtnB4.set_Visible(bval);

this.ChkB4.set_Visible(bval);

this.StxB4.set_Visible(bval);

break;

case 5:

this.TxtC5.set_Visible(bval);

this.TxtB5.set_Visible(bval);

this.PanB5.set_Visible(bval);

this.BtnB5.set_Visible(bval);

this.ChkB5.set_Visible(bval);

this.StxB5.set_Visible(bval);

break;

case 6:

this.TxtC6.set_Visible(bval);

this.TxtB6.set_Visible(bval);

this.PanB6.set_Visible(bval);

this.BtnB6.set_Visible(bval);

this.ChkB6.set_Visible(bval);

this.StxB6.set_Visible(bval);

break;

case 7:

this.TxtC7.set_Visible(bval);

this.TxtB7.set_Visible(bval);

this.PanB7.set_Visible(bval);

this.BtnB7.set_Visible(bval);

this.ChkB7.set_Visible(bval);

this.StxB7.set_Visible(bval);

break;

case 8:

this.TxtC8.set_Visible(bval);

this.TxtB8.set_Visible(bval);

this.PanB8.set_Visible(bval);

this.BtnB8.set_Visible(bval);

this.ChkB8.set_Visible(bval);

this.StxB8.set_Visible(bval);

break;

case 9:

this.TxtC9.set_Visible(bval);

this.TxtB9.set_Visible(bval);

this.PanB9.set_Visible(bval);

this.BtnB9.set_Visible(bval);

this.ChkB9.set_Visible(bval);

this.StxB9.set_Visible(bval);

break;

case 10:

this.TxtC10.set_Visible(bval);

this.TxtB10.set_Visible(bval);

this.PanB10.set_Visible(bval);

this.BtnB10.set_Visible(bval);

this.ChkB10.set_Visible(bval);

this.StxB10.set_Visible(bval);

break;

case 11:

this.TxtC11.set_Visible(bval);

this.TxtB11.set_Visible(bval);

this.PanB11.set_Visible(bval);

this.BtnB11.set_Visible(bval);

this.ChkB11.set_Visible(bval);

this.StxB11.set_Visible(bval);

break;

case 12:

this.TxtC12.set_Visible(bval);

this.TxtB12.set_Visible(bval);

this.PanB12.set_Visible(bval);

this.BtnB12.set_Visible(bval);

this.ChkB12.set_Visible(bval);

this.StxB12.set_Visible(bval);

break;

case 13:

this.TxtC13.set_Visible(bval);

this.TxtB13.set_Visible(bval);

this.PanB13.set_Visible(bval);

this.BtnB13.set_Visible(bval);

this.ChkB13.set_Visible(bval);

this.StxB13.set_Visible(bval);

break;

case 14:

this.TxtC14.set_Visible(bval);

this.TxtB14.set_Visible(bval);

this.PanB14.set_Visible(bval);

this.BtnB14.set_Visible(bval);

this.ChkB14.set_Visible(bval);

this.StxB14.set_Visible(bval);

break;

case 15:

this.TxtC15.set_Visible(bval);

this.TxtB15.set_Visible(bval);

this.PanB15.set_Visible(bval);

this.BtnB15.set_Visible(bval);

this.ChkB15.set_Visible(bval);

this.StxB15.set_Visible(bval);

break;

case 16:

this.TxtC16.set_Visible(bval);

this.TxtB16.set_Visible(bval);

this.PanB16.set_Visible(bval);

this.BtnB16.set_Visible(bval);

this.ChkB16.set_Visible(bval);

this.StxB16.set_Visible(bval);

break;

case 17:

this.TxtC17.set_Visible(bval);

this.TxtB17.set_Visible(bval);

this.PanB17.set_Visible(bval);

this.BtnB17.set_Visible(bval);

this.ChkB17.set_Visible(bval);

this.StxB17.set_Visible(bval);

break;

case 18:

this.TxtC18.set_Visible(bval);

this.TxtB18.set_Visible(bval);

this.PanB18.set_Visible(bval);

this.BtnB18.set_Visible(bval);

this.ChkB18.set_Visible(bval);

this.StxB18.set_Visible(bval);

break;

case 19:

this.TxtC19.set_Visible(bval);

this.TxtB19.set_Visible(bval);

this.PanB19.set_Visible(bval);

this.BtnB19.set_Visible(bval);

this.ChkB19.set_Visible(bval);

this.StxB19.set_Visible(bval);

break;

case 20:

this.TxtC20.set_Visible(bval);

this.TxtB20.set_Visible(bval);

this.PanB20.set_Visible(bval);

this.BtnB20.set_Visible(bval);

this.ChkB20.set_Visible(bval);

this.StxB20.set_Visible(bval);

break;

case 21:

this.TxtC21.set_Visible(bval);

this.TxtB21.set_Visible(bval);

this.PanB21.set_Visible(bval);

this.BtnB21.set_Visible(bval);

this.ChkB21.set_Visible(bval);

this.StxB21.set_Visible(bval);

break;

case 22:

this.TxtC22.set_Visible(bval);

this.TxtB22.set_Visible(bval);

this.PanB22.set_Visible(bval);

this.BtnB22.set_Visible(bval);

this.ChkB22.set_Visible(bval);

this.StxB22.set_Visible(bval);

break;

case 23:

this.TxtC23.set_Visible(bval);

this.TxtB23.set_Visible(bval);

this.PanB23.set_Visible(bval);

this.BtnB23.set_Visible(bval);

this.ChkB23.set_Visible(bval);

this.StxB23.set_Visible(bval);

break;

case 24:

this.TxtC24.set_Visible(bval);

this.TxtB24.set_Visible(bval);

this.PanB24.set_Visible(bval);

this.BtnB24.set_Visible(bval);

this.ChkB24.set_Visible(bval);

this.StxB24.set_Visible(bval);

break;

}

}

}

 

// **************************** ScrollBar ****************************

private void VScrollBarA1_Scroll (Object sender, System.Windows.Forms.ScrollEventArgs e)

{

sub_VScrollA1(this.VScrollBarA1.get_Value());

}

private void VScrollBarB1_Scroll (Object sender, System.Windows.Forms.ScrollEventArgs e)

{

sub_VScrollB1(this.VScrollBarB1.get_Value());

}

private void sub_VScrollA1(int val_VScrollA1)

{

switch(val_VScrollA1)

{

case 0:

this.PanA1.set_Top(v_PanA1);

this.PTxA1.set_Top(this.PicA1.get_Top());

this.PicA1.set_Top(v_PanA1 - v_PicA);

this.TxtA1.set_Top(v_PanA1 - v_TxtA);

this.BtnA1.set_Top(v_PanA1 - v_BtnA);

this.ChkA1.set_Top(v_PanA1 - v_chk);

this.StxA1.set_Top(v_PanA1 - v_chk);

this.PanA2.set_Top(this.PanA1.get_Top() + 24);

this.PTxA2.set_Top(this.PicA2.get_Top());

this.PicA2.set_Top(this.PanA2.get_Top() - v_PicA);

this.TxtA2.set_Top(this.PanA2.get_Top() - v_TxtA);

this.BtnA2.set_Top(this.PanA2.get_Top() - v_BtnA);

this.ChkA2.set_Top(this.PanA2.get_Top() - v_chk);

this.StxA2.set_Top(this.PanA2.get_Top() - v_chk);

this.PanA3.set_Top(this.PanA2.get_Top() + 24);

this.PTxA3.set_Top(this.PicA3.get_Top());

this.PicA3.set_Top(this.PanA3.get_Top() - v_PicA);

this.TxtA3.set_Top(this.PanA3.get_Top() - v_TxtA);

this.BtnA3.set_Top(this.PanA3.get_Top() - v_BtnA);

this.ChkA3.set_Top(this.PanA3.get_Top() - v_chk);

this.StxA3.set_Top(this.PanA3.get_Top() - v_chk);

this.PanA4.set_Top(this.PanA3.get_Top() + 24);

this.PTxA4.set_Top(this.PicA4.get_Top());

this.PicA4.set_Top(this.PanA4.get_Top() - v_PicA);

this.TxtA4.set_Top(this.PanA4.get_Top() - v_TxtA);

this.BtnA4.set_Top(this.PanA4.get_Top() - v_BtnA);

this.ChkA4.set_Top(this.PanA4.get_Top() - v_chk);

this.StxA4.set_Top(this.PanA4.get_Top() - v_chk);

this.PanA5.set_Top(this.PanA4.get_Top() + 24);

this.PTxA5.set_Top(this.PicA5.get_Top());

this.PicA5.set_Top(this.PanA5.get_Top() - v_PicA);

this.TxtA5.set_Top(this.PanA5.get_Top() - v_TxtA);

this.BtnA5.set_Top(this.PanA5.get_Top() - v_BtnA);

this.ChkA5.set_Top(this.PanA5.get_Top() - v_chk);

this.StxA5.set_Top(this.PanA5.get_Top() - v_chk);

this.PanA6.set_Top(this.PanA5.get_Top() + 24);

this.PTxA6.set_Top(this.PicA6.get_Top());

this.PicA6.set_Top(this.PanA6.get_Top() - v_PicA);

this.TxtA6.set_Top(this.PanA6.get_Top() - v_TxtA);

this.BtnA6.set_Top(this.PanA6.get_Top() - v_BtnA);

this.ChkA6.set_Top(this.PanA6.get_Top() - v_chk);

this.StxA6.set_Top(this.PanA6.get_Top() - v_chk);

this.PanA7.set_Top(this.PanA6.get_Top() + 24);

this.PTxA7.set_Top(this.PicA7.get_Top());

this.PicA7.set_Top(this.PanA7.get_Top() - v_PicA);

this.TxtA7.set_Top(this.PanA7.get_Top() - v_TxtA);

this.BtnA7.set_Top(this.PanA7.get_Top() - v_BtnA);

this.ChkA7.set_Top(this.PanA7.get_Top() - v_chk);

this.StxA7.set_Top(this.PanA7.get_Top() - v_chk);

this.PanA8.set_Top(this.PanA7.get_Top() + 24);

this.PTxA8.set_Top(this.PicA8.get_Top());

this.PicA8.set_Top(this.PanA8.get_Top() - v_PicA);

this.TxtA8.set_Top(this.PanA8.get_Top() - v_TxtA);

this.BtnA8.set_Top(this.PanA8.get_Top() - v_BtnA);

this.ChkA8.set_Top(this.PanA8.get_Top() - v_chk);

this.StxA8.set_Top(this.PanA8.get_Top() - v_chk);

this.PanA9.set_Top(this.PanA8.get_Top() + 24);

this.PTxA9.set_Top(this.PicA9.get_Top());

this.PicA9.set_Top(this.PanA9.get_Top() - v_PicA);

this.TxtA9.set_Top(this.PanA9.get_Top() - v_TxtA);

this.BtnA9.set_Top(this.PanA9.get_Top() - v_BtnA);

this.ChkA9.set_Top(this.PanA9.get_Top() - v_chk);

this.StxA9.set_Top(this.PanA9.get_Top() - v_chk);

this.PanA10.set_Top(this.PanA9.get_Top() + 24);

this.PTxA10.set_Top(this.PicA10.get_Top());

this.PicA10.set_Top(this.PanA10.get_Top() - v_PicA);

this.TxtA10.set_Top(this.PanA10.get_Top() - v_TxtA);

this.BtnA10.set_Top(this.PanA10.get_Top() - v_BtnA);

this.ChkA10.set_Top(this.PanA10.get_Top() - v_chk);

this.StxA10.set_Top(this.PanA10.get_Top() - v_chk);

this.PanA11.set_Top(this.PanA10.get_Top() + 24);

this.PTxA11.set_Top(this.PicA11.get_Top());

this.PicA11.set_Top(this.PanA11.get_Top() - v_PicA);

this.TxtA11.set_Top(this.PanA11.get_Top() - v_TxtA);

this.BtnA11.set_Top(this.PanA11.get_Top() - v_BtnA);

this.ChkA11.set_Top(this.PanA11.get_Top() - v_chk);

this.StxA11.set_Top(this.PanA11.get_Top() - v_chk);

this.PanA12.set_Top(this.PanA11.get_Top() + 24);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(this.PanA12.get_Top() - v_PicA);

this.TxtA12.set_Top(this.PanA12.get_Top() - v_TxtA);

this.BtnA12.set_Top(this.PanA12.get_Top() - v_BtnA);

this.ChkA12.set_Top(this.PanA12.get_Top() - v_chk);

this.StxA12.set_Top(this.PanA12.get_Top() - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 1:

this.PanA2.set_Top(v_PanA1);

this.PTxA2.set_Top(this.PicA2.get_Top());

this.PicA2.set_Top(v_PanA1 - v_PicA);

this.TxtA2.set_Top(v_PanA1 - v_TxtA);

this.BtnA2.set_Top(v_PanA1 - v_BtnA);

this.ChkA2.set_Top(v_PanA1 - v_chk);

this.StxA2.set_Top(v_PanA1 - v_chk);

this.PanA3.set_Top(this.PanA2.get_Top() + 24);

this.PTxA3.set_Top(this.PicA3.get_Top());

this.PicA3.set_Top(this.PanA3.get_Top() - v_PicA);

this.TxtA3.set_Top(this.PanA3.get_Top() - v_TxtA);

this.BtnA3.set_Top(this.PanA3.get_Top() - v_BtnA);

this.ChkA3.set_Top(this.PanA3.get_Top() - v_chk);

this.StxA3.set_Top(this.PanA3.get_Top() - v_chk);

this.PanA4.set_Top(this.PanA3.get_Top() + 24);

this.PTxA4.set_Top(this.PicA4.get_Top());

this.PicA4.set_Top(this.PanA4.get_Top() - v_PicA);

this.TxtA4.set_Top(this.PanA4.get_Top() - v_TxtA);

this.BtnA4.set_Top(this.PanA4.get_Top() - v_BtnA);

this.ChkA4.set_Top(this.PanA4.get_Top() - v_chk);

this.StxA4.set_Top(this.PanA4.get_Top() - v_chk);

this.PanA5.set_Top(this.PanA4.get_Top() + 24);

this.PTxA5.set_Top(this.PicA5.get_Top());

this.PicA5.set_Top(this.PanA5.get_Top() - v_PicA);

this.TxtA5.set_Top(this.PanA5.get_Top() - v_TxtA);

this.BtnA5.set_Top(this.PanA5.get_Top() - v_BtnA);

this.ChkA5.set_Top(this.PanA5.get_Top() - v_chk);

this.StxA5.set_Top(this.PanA5.get_Top() - v_chk);

this.PanA6.set_Top(this.PanA5.get_Top() + 24);

this.PTxA6.set_Top(this.PicA6.get_Top());

this.PicA6.set_Top(this.PanA6.get_Top() - v_PicA);

this.TxtA6.set_Top(this.PanA6.get_Top() - v_TxtA);

this.BtnA6.set_Top(this.PanA6.get_Top() - v_BtnA);

this.ChkA6.set_Top(this.PanA6.get_Top() - v_chk);

this.StxA6.set_Top(this.PanA6.get_Top() - v_chk);

this.PanA7.set_Top(this.PanA6.get_Top() + 24);

this.PTxA7.set_Top(this.PicA7.get_Top());

this.PicA7.set_Top(this.PanA7.get_Top() - v_PicA);

this.TxtA7.set_Top(this.PanA7.get_Top() - v_TxtA);

this.BtnA7.set_Top(this.PanA7.get_Top() - v_BtnA);

this.ChkA7.set_Top(this.PanA7.get_Top() - v_chk);

this.StxA7.set_Top(this.PanA7.get_Top() - v_chk);

this.PanA8.set_Top(this.PanA7.get_Top() + 24);

this.PTxA8.set_Top(this.PicA8.get_Top());

this.PicA8.set_Top(this.PanA8.get_Top() - v_PicA);

this.TxtA8.set_Top(this.PanA8.get_Top() - v_TxtA);

this.BtnA8.set_Top(this.PanA8.get_Top() - v_BtnA);

this.ChkA8.set_Top(this.PanA8.get_Top() - v_chk);

this.StxA8.set_Top(this.PanA8.get_Top() - v_chk);

this.PanA9.set_Top(this.PanA8.get_Top() + 24);

this.PTxA9.set_Top(this.PicA9.get_Top());

this.PicA9.set_Top(this.PanA9.get_Top() - v_PicA);

this.TxtA9.set_Top(this.PanA9.get_Top() - v_TxtA);

this.BtnA9.set_Top(this.PanA9.get_Top() - v_BtnA);

this.ChkA9.set_Top(this.PanA9.get_Top() - v_chk);

this.StxA9.set_Top(this.PanA9.get_Top() - v_chk);

this.PanA10.set_Top(this.PanA9.get_Top() + 24);

this.PTxA10.set_Top(this.PicA10.get_Top());

this.PicA10.set_Top(this.PanA10.get_Top() - v_PicA);

this.TxtA10.set_Top(this.PanA10.get_Top() - v_TxtA);

this.BtnA10.set_Top(this.PanA10.get_Top() - v_BtnA);

this.ChkA10.set_Top(this.PanA10.get_Top() - v_chk);

this.StxA10.set_Top(this.PanA10.get_Top() - v_chk);

this.PanA11.set_Top(this.PanA10.get_Top() + 24);

this.PTxA11.set_Top(this.PicA11.get_Top());

this.PicA11.set_Top(this.PanA11.get_Top() - v_PicA);

this.TxtA11.set_Top(this.PanA11.get_Top() - v_TxtA);

this.BtnA11.set_Top(this.PanA11.get_Top() - v_BtnA);

this.ChkA11.set_Top(this.PanA11.get_Top() - v_chk);

this.StxA11.set_Top(this.PanA11.get_Top() - v_chk);

this.PanA12.set_Top(this.PanA11.get_Top() + 24);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(this.PanA12.get_Top() - v_PicA);

this.TxtA12.set_Top(this.PanA12.get_Top() - v_TxtA);

this.BtnA12.set_Top(this.PanA12.get_Top() - v_BtnA);

this.ChkA12.set_Top(this.PanA12.get_Top() - v_chk);

this.StxA12.set_Top(this.PanA12.get_Top() - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 2:

this.PanA3.set_Top(v_PanA1);

this.PTxA3.set_Top(this.PicA3.get_Top());

this.PicA3.set_Top(v_PanA1 - v_PicA);

this.TxtA3.set_Top(v_PanA1 - v_TxtA);

this.BtnA3.set_Top(v_PanA1 - v_BtnA);

this.ChkA3.set_Top(v_PanA1 - v_chk);

this.StxA3.set_Top(v_PanA1 - v_chk);

this.PanA4.set_Top(this.PanA3.get_Top() + 24);

this.PTxA4.set_Top(this.PicA4.get_Top());

this.PicA4.set_Top(this.PanA4.get_Top() - v_PicA);

this.TxtA4.set_Top(this.PanA4.get_Top() - v_TxtA);

this.BtnA4.set_Top(this.PanA4.get_Top() - v_BtnA);

this.ChkA4.set_Top(this.PanA4.get_Top() - v_chk);

this.StxA4.set_Top(this.PanA4.get_Top() - v_chk);

this.PanA5.set_Top(this.PanA4.get_Top() + 24);

this.PTxA5.set_Top(this.PicA5.get_Top());

this.PicA5.set_Top(this.PanA5.get_Top() - v_PicA);

this.TxtA5.set_Top(this.PanA5.get_Top() - v_TxtA);

this.BtnA5.set_Top(this.PanA5.get_Top() - v_BtnA);

this.ChkA5.set_Top(this.PanA5.get_Top() - v_chk);

this.StxA5.set_Top(this.PanA5.get_Top() - v_chk);

this.PanA6.set_Top(this.PanA5.get_Top() + 24);

this.PTxA6.set_Top(this.PicA6.get_Top());

this.PicA6.set_Top(this.PanA6.get_Top() - v_PicA);

this.TxtA6.set_Top(this.PanA6.get_Top() - v_TxtA);

this.BtnA6.set_Top(this.PanA6.get_Top() - v_BtnA);

this.ChkA6.set_Top(this.PanA6.get_Top() - v_chk);

this.StxA6.set_Top(this.PanA6.get_Top() - v_chk);

this.PanA7.set_Top(this.PanA6.get_Top() + 24);

this.PTxA7.set_Top(this.PicA7.get_Top());

this.PicA7.set_Top(this.PanA7.get_Top() - v_PicA);

this.TxtA7.set_Top(this.PanA7.get_Top() - v_TxtA);

this.BtnA7.set_Top(this.PanA7.get_Top() - v_BtnA);

this.ChkA7.set_Top(this.PanA7.get_Top() - v_chk);

this.StxA7.set_Top(this.PanA7.get_Top() - v_chk);

this.PanA8.set_Top(this.PanA7.get_Top() + 24);

this.PTxA8.set_Top(this.PicA8.get_Top());

this.PicA8.set_Top(this.PanA8.get_Top() - v_PicA);

this.TxtA8.set_Top(this.PanA8.get_Top() - v_TxtA);

this.BtnA8.set_Top(this.PanA8.get_Top() - v_BtnA);

this.ChkA8.set_Top(this.PanA8.get_Top() - v_chk);

this.StxA8.set_Top(this.PanA8.get_Top() - v_chk);

this.PanA9.set_Top(this.PanA8.get_Top() + 24);

this.PTxA9.set_Top(this.PicA9.get_Top());

this.PicA9.set_Top(this.PanA9.get_Top() - v_PicA);

this.TxtA9.set_Top(this.PanA9.get_Top() - v_TxtA);

this.BtnA9.set_Top(this.PanA9.get_Top() - v_BtnA);

this.ChkA9.set_Top(this.PanA9.get_Top() - v_chk);

this.StxA9.set_Top(this.PanA9.get_Top() - v_chk);

this.PanA10.set_Top(this.PanA9.get_Top() + 24);

this.PTxA10.set_Top(this.PicA10.get_Top());

this.PicA10.set_Top(this.PanA10.get_Top() - v_PicA);

this.TxtA10.set_Top(this.PanA10.get_Top() - v_TxtA);

this.BtnA10.set_Top(this.PanA10.get_Top() - v_BtnA);

this.ChkA10.set_Top(this.PanA10.get_Top() - v_chk);

this.StxA10.set_Top(this.PanA10.get_Top() - v_chk);

this.PanA11.set_Top(this.PanA10.get_Top() + 24);

this.PTxA11.set_Top(this.PicA11.get_Top());

this.PicA11.set_Top(this.PanA11.get_Top() - v_PicA);

this.TxtA11.set_Top(this.PanA11.get_Top() - v_TxtA);

this.BtnA11.set_Top(this.PanA11.get_Top() - v_BtnA);

this.ChkA11.set_Top(this.PanA11.get_Top() - v_chk);

this.StxA11.set_Top(this.PanA11.get_Top() - v_chk);

this.PanA12.set_Top(this.PanA11.get_Top() + 24);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(this.PanA12.get_Top() - v_PicA);

this.TxtA12.set_Top(this.PanA12.get_Top() - v_TxtA);

this.BtnA12.set_Top(this.PanA12.get_Top() - v_BtnA);

this.ChkA12.set_Top(this.PanA12.get_Top() - v_chk);

this.StxA12.set_Top(this.PanA12.get_Top() - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 3:

this.PanA4.set_Top(v_PanA1);

this.PTxA4.set_Top(this.PicA4.get_Top());

this.PicA4.set_Top(v_PanA1 - v_PicA);

this.TxtA4.set_Top(v_PanA1 - v_TxtA);

this.BtnA4.set_Top(v_PanA1 - v_BtnA);

this.ChkA4.set_Top(v_PanA1 - v_chk);

this.StxA4.set_Top(v_PanA1 - v_chk);

this.PanA5.set_Top(this.PanA4.get_Top() + 24);

this.PTxA5.set_Top(this.PicA5.get_Top());

this.PicA5.set_Top(this.PanA5.get_Top() - v_PicA);

this.TxtA5.set_Top(this.PanA5.get_Top() - v_TxtA);

this.BtnA5.set_Top(this.PanA5.get_Top() - v_BtnA);

this.ChkA5.set_Top(this.PanA5.get_Top() - v_chk);

this.StxA5.set_Top(this.PanA5.get_Top() - v_chk);

this.PanA6.set_Top(this.PanA5.get_Top() + 24);

this.PTxA6.set_Top(this.PicA6.get_Top());

this.PicA6.set_Top(this.PanA6.get_Top() - v_PicA);

this.TxtA6.set_Top(this.PanA6.get_Top() - v_TxtA);

this.BtnA6.set_Top(this.PanA6.get_Top() - v_BtnA);

this.ChkA6.set_Top(this.PanA6.get_Top() - v_chk);

this.StxA6.set_Top(this.PanA6.get_Top() - v_chk);

this.PanA7.set_Top(this.PanA6.get_Top() + 24);

this.PTxA7.set_Top(this.PicA7.get_Top());

this.PicA7.set_Top(this.PanA7.get_Top() - v_PicA);

this.TxtA7.set_Top(this.PanA7.get_Top() - v_TxtA);

this.BtnA7.set_Top(this.PanA7.get_Top() - v_BtnA);

this.ChkA7.set_Top(this.PanA7.get_Top() - v_chk);

this.StxA7.set_Top(this.PanA7.get_Top() - v_chk);

this.PanA8.set_Top(this.PanA7.get_Top() + 24);

this.PTxA8.set_Top(this.PicA8.get_Top());

this.PicA8.set_Top(this.PanA8.get_Top() - v_PicA);

this.TxtA8.set_Top(this.PanA8.get_Top() - v_TxtA);

this.BtnA8.set_Top(this.PanA8.get_Top() - v_BtnA);

this.ChkA8.set_Top(this.PanA8.get_Top() - v_chk);

this.StxA8.set_Top(this.PanA8.get_Top() - v_chk);

this.PanA9.set_Top(this.PanA8.get_Top() + 24);

this.PTxA9.set_Top(this.PicA9.get_Top());

this.PicA9.set_Top(this.PanA9.get_Top() - v_PicA);

this.TxtA9.set_Top(this.PanA9.get_Top() - v_TxtA);

this.BtnA9.set_Top(this.PanA9.get_Top() - v_BtnA);

this.ChkA9.set_Top(this.PanA9.get_Top() - v_chk);

this.StxA9.set_Top(this.PanA9.get_Top() - v_chk);

this.PanA10.set_Top(this.PanA9.get_Top() + 24);

this.PTxA10.set_Top(this.PicA10.get_Top());

this.PicA10.set_Top(this.PanA10.get_Top() - v_PicA);

this.TxtA10.set_Top(this.PanA10.get_Top() - v_TxtA);

this.BtnA10.set_Top(this.PanA10.get_Top() - v_BtnA);

this.ChkA10.set_Top(this.PanA10.get_Top() - v_chk);

this.StxA10.set_Top(this.PanA10.get_Top() - v_chk);

this.PanA11.set_Top(this.PanA10.get_Top() + 24);

this.PTxA11.set_Top(this.PicA11.get_Top());

this.PicA11.set_Top(this.PanA11.get_Top() - v_PicA);

this.TxtA11.set_Top(this.PanA11.get_Top() - v_TxtA);

this.BtnA11.set_Top(this.PanA11.get_Top() - v_BtnA);

this.ChkA11.set_Top(this.PanA11.get_Top() - v_chk);

this.StxA11.set_Top(this.PanA11.get_Top() - v_chk);

this.PanA12.set_Top(this.PanA11.get_Top() + 24);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(this.PanA12.get_Top() - v_PicA);

this.TxtA12.set_Top(this.PanA12.get_Top() - v_TxtA);

this.BtnA12.set_Top(this.PanA12.get_Top() - v_BtnA);

this.ChkA12.set_Top(this.PanA12.get_Top() - v_chk);

this.StxA12.set_Top(this.PanA12.get_Top() - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 4:

this.PanA5.set_Top(v_PanA1);

this.PTxA5.set_Top(this.PicA5.get_Top());

this.PicA5.set_Top(v_PanA1 - v_PicA);

this.TxtA5.set_Top(v_PanA1 - v_TxtA);

this.BtnA5.set_Top(v_PanA1 - v_BtnA);

this.ChkA5.set_Top(v_PanA1 - v_chk);

this.StxA5.set_Top(v_PanA1 - v_chk);

this.PanA6.set_Top(this.PanA5.get_Top() + 24);

this.PTxA6.set_Top(this.PicA6.get_Top());

this.PicA6.set_Top(this.PanA6.get_Top() - v_PicA);

this.TxtA6.set_Top(this.PanA6.get_Top() - v_TxtA);

this.BtnA6.set_Top(this.PanA6.get_Top() - v_BtnA);

this.ChkA6.set_Top(this.PanA6.get_Top() - v_chk);

this.StxA6.set_Top(this.PanA6.get_Top() - v_chk);

this.PanA7.set_Top(this.PanA6.get_Top() + 24);

this.PTxA7.set_Top(this.PicA7.get_Top());

this.PicA7.set_Top(this.PanA7.get_Top() - v_PicA);

this.TxtA7.set_Top(this.PanA7.get_Top() - v_TxtA);

this.BtnA7.set_Top(this.PanA7.get_Top() - v_BtnA);

this.ChkA7.set_Top(this.PanA7.get_Top() - v_chk);

this.StxA7.set_Top(this.PanA7.get_Top() - v_chk);

this.PanA8.set_Top(this.PanA7.get_Top() + 24);

this.PTxA8.set_Top(this.PicA8.get_Top());

this.PicA8.set_Top(this.PanA8.get_Top() - v_PicA);

this.TxtA8.set_Top(this.PanA8.get_Top() - v_TxtA);

this.BtnA8.set_Top(this.PanA8.get_Top() - v_BtnA);

this.ChkA8.set_Top(this.PanA8.get_Top() - v_chk);

this.StxA8.set_Top(this.PanA8.get_Top() - v_chk);

this.PanA9.set_Top(this.PanA8.get_Top() + 24);

this.PTxA9.set_Top(this.PicA9.get_Top());

this.PicA9.set_Top(this.PanA9.get_Top() - v_PicA);

this.TxtA9.set_Top(this.PanA9.get_Top() - v_TxtA);

this.BtnA9.set_Top(this.PanA9.get_Top() - v_BtnA);

this.ChkA9.set_Top(this.PanA9.get_Top() - v_chk);

this.StxA9.set_Top(this.PanA9.get_Top() - v_chk);

this.PanA10.set_Top(this.PanA9.get_Top() + 24);

this.PTxA10.set_Top(this.PicA10.get_Top());

this.PicA10.set_Top(this.PanA10.get_Top() - v_PicA);

this.TxtA10.set_Top(this.PanA10.get_Top() - v_TxtA);

this.BtnA10.set_Top(this.PanA10.get_Top() - v_BtnA);

this.ChkA10.set_Top(this.PanA10.get_Top() - v_chk);

this.StxA10.set_Top(this.PanA10.get_Top() - v_chk);

this.PanA11.set_Top(this.PanA10.get_Top() + 24);

this.PTxA11.set_Top(this.PicA11.get_Top());

this.PicA11.set_Top(this.PanA11.get_Top() - v_PicA);

this.TxtA11.set_Top(this.PanA11.get_Top() - v_TxtA);

this.BtnA11.set_Top(this.PanA11.get_Top() - v_BtnA);

this.ChkA11.set_Top(this.PanA11.get_Top() - v_chk);

this.StxA11.set_Top(this.PanA11.get_Top() - v_chk);

this.PanA12.set_Top(this.PanA11.get_Top() + 24);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(this.PanA12.get_Top() - v_PicA);

this.TxtA12.set_Top(this.PanA12.get_Top() - v_TxtA);

this.BtnA12.set_Top(this.PanA12.get_Top() - v_BtnA);

this.ChkA12.set_Top(this.PanA12.get_Top() - v_chk);

this.StxA12.set_Top(this.PanA12.get_Top() - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 5:

this.PanA6.set_Top(v_PanA1);

this.PTxA6.set_Top(this.PicA6.get_Top());

this.PicA6.set_Top(v_PanA1 - v_PicA);

this.TxtA6.set_Top(v_PanA1 - v_TxtA);

this.BtnA6.set_Top(v_PanA1 - v_BtnA);

this.ChkA6.set_Top(v_PanA1 - v_chk);

this.StxA6.set_Top(v_PanA1 - v_chk);

this.PanA7.set_Top(this.PanA6.get_Top() + 24);

this.PTxA7.set_Top(this.PicA7.get_Top());

this.PicA7.set_Top(this.PanA7.get_Top() - v_PicA);

this.TxtA7.set_Top(this.PanA7.get_Top() - v_TxtA);

this.BtnA7.set_Top(this.PanA7.get_Top() - v_BtnA);

this.ChkA7.set_Top(this.PanA7.get_Top() - v_chk);

this.StxA7.set_Top(this.PanA7.get_Top() - v_chk);

this.PanA8.set_Top(this.PanA7.get_Top() + 24);

this.PTxA8.set_Top(this.PicA8.get_Top());

this.PicA8.set_Top(this.PanA8.get_Top() - v_PicA);

this.TxtA8.set_Top(this.PanA8.get_Top() - v_TxtA);

this.BtnA8.set_Top(this.PanA8.get_Top() - v_BtnA);

this.ChkA8.set_Top(this.PanA8.get_Top() - v_chk);

this.StxA8.set_Top(this.PanA8.get_Top() - v_chk);

this.PanA9.set_Top(this.PanA8.get_Top() + 24);

this.PTxA9.set_Top(this.PicA9.get_Top());

this.PicA9.set_Top(this.PanA9.get_Top() - v_PicA);

this.TxtA9.set_Top(this.PanA9.get_Top() - v_TxtA);

this.BtnA9.set_Top(this.PanA9.get_Top() - v_BtnA);

this.ChkA9.set_Top(this.PanA9.get_Top() - v_chk);

this.StxA9.set_Top(this.PanA9.get_Top() - v_chk);

this.PanA10.set_Top(this.PanA9.get_Top() + 24);

this.PTxA10.set_Top(this.PicA10.get_Top());

this.PicA10.set_Top(this.PanA10.get_Top() - v_PicA);

this.TxtA10.set_Top(this.PanA10.get_Top() - v_TxtA);

this.BtnA10.set_Top(this.PanA10.get_Top() - v_BtnA);

this.ChkA10.set_Top(this.PanA10.get_Top() - v_chk);

this.StxA10.set_Top(this.PanA10.get_Top() - v_chk);

this.PanA11.set_Top(this.PanA10.get_Top() + 24);

this.PTxA11.set_Top(this.PicA11.get_Top());

this.PicA11.set_Top(this.PanA11.get_Top() - v_PicA);

this.TxtA11.set_Top(this.PanA11.get_Top() - v_TxtA);

this.BtnA11.set_Top(this.PanA11.get_Top() - v_BtnA);

this.ChkA11.set_Top(this.PanA11.get_Top() - v_chk);

this.StxA11.set_Top(this.PanA11.get_Top() - v_chk);

this.PanA12.set_Top(this.PanA11.get_Top() + 24);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(this.PanA12.get_Top() - v_PicA);

this.TxtA12.set_Top(this.PanA12.get_Top() - v_TxtA);

this.BtnA12.set_Top(this.PanA12.get_Top() - v_BtnA);

this.ChkA12.set_Top(this.PanA12.get_Top() - v_chk);

this.StxA12.set_Top(this.PanA12.get_Top() - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 6:

this.PanA7.set_Top(v_PanA1);

this.PTxA7.set_Top(this.PicA7.get_Top());

this.PicA7.set_Top(v_PanA1 - v_PicA);

this.TxtA7.set_Top(v_PanA1 - v_TxtA);

this.BtnA7.set_Top(v_PanA1 - v_BtnA);

this.ChkA7.set_Top(v_PanA1 - v_chk);

this.StxA7.set_Top(v_PanA1 - v_chk);

this.PanA8.set_Top(this.PanA7.get_Top() + 24);

this.PTxA8.set_Top(this.PicA8.get_Top());

this.PicA8.set_Top(this.PanA8.get_Top() - v_PicA);

this.TxtA8.set_Top(this.PanA8.get_Top() - v_TxtA);

this.BtnA8.set_Top(this.PanA8.get_Top() - v_BtnA);

this.ChkA8.set_Top(this.PanA8.get_Top() - v_chk);

this.StxA8.set_Top(this.PanA8.get_Top() - v_chk);

this.PanA9.set_Top(this.PanA8.get_Top() + 24);

this.PTxA9.set_Top(this.PicA9.get_Top());

this.PicA9.set_Top(this.PanA9.get_Top() - v_PicA);

this.TxtA9.set_Top(this.PanA9.get_Top() - v_TxtA);

this.BtnA9.set_Top(this.PanA9.get_Top() - v_BtnA);

this.ChkA9.set_Top(this.PanA9.get_Top() - v_chk);

this.StxA9.set_Top(this.PanA9.get_Top() - v_chk);

this.PanA10.set_Top(this.PanA9.get_Top() + 24);

this.PTxA10.set_Top(this.PicA10.get_Top());

this.PicA10.set_Top(this.PanA10.get_Top() - v_PicA);

this.TxtA10.set_Top(this.PanA10.get_Top() - v_TxtA);

this.BtnA10.set_Top(this.PanA10.get_Top() - v_BtnA);

this.ChkA10.set_Top(this.PanA10.get_Top() - v_chk);

this.StxA10.set_Top(this.PanA10.get_Top() - v_chk);

this.PanA11.set_Top(this.PanA10.get_Top() + 24);

this.PTxA11.set_Top(this.PicA11.get_Top());

this.PicA11.set_Top(this.PanA11.get_Top() - v_PicA);

this.TxtA11.set_Top(this.PanA11.get_Top() - v_TxtA);

this.BtnA11.set_Top(this.PanA11.get_Top() - v_BtnA);

this.ChkA11.set_Top(this.PanA11.get_Top() - v_chk);

this.StxA11.set_Top(this.PanA11.get_Top() - v_chk);

this.PanA12.set_Top(this.PanA11.get_Top() + 24);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(this.PanA12.get_Top() - v_PicA);

this.TxtA12.set_Top(this.PanA12.get_Top() - v_TxtA);

this.BtnA12.set_Top(this.PanA12.get_Top() - v_BtnA);

this.ChkA12.set_Top(this.PanA12.get_Top() - v_chk);

this.StxA12.set_Top(this.PanA12.get_Top() - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 7:

this.PanA8.set_Top(v_PanA1);

this.PTxA8.set_Top(this.PicA8.get_Top());

this.PicA8.set_Top(v_PanA1 - v_PicA);

this.TxtA8.set_Top(v_PanA1 - v_TxtA);

this.BtnA8.set_Top(v_PanA1 - v_BtnA);

this.ChkA8.set_Top(v_PanA1 - v_chk);

this.StxA8.set_Top(v_PanA1 - v_chk);

this.PanA9.set_Top(this.PanA8.get_Top() + 24);

this.PTxA9.set_Top(this.PicA9.get_Top());

this.PicA9.set_Top(this.PanA9.get_Top() - v_PicA);

this.TxtA9.set_Top(this.PanA9.get_Top() - v_TxtA);

this.BtnA9.set_Top(this.PanA9.get_Top() - v_BtnA);

this.ChkA9.set_Top(this.PanA9.get_Top() - v_chk);

this.StxA9.set_Top(this.PanA9.get_Top() - v_chk);

this.PanA10.set_Top(this.PanA9.get_Top() + 24);

this.PTxA10.set_Top(this.PicA10.get_Top());

this.PicA10.set_Top(this.PanA10.get_Top() - v_PicA);

this.TxtA10.set_Top(this.PanA10.get_Top() - v_TxtA);

this.BtnA10.set_Top(this.PanA10.get_Top() - v_BtnA);

this.ChkA10.set_Top(this.PanA10.get_Top() - v_chk);

this.StxA10.set_Top(this.PanA10.get_Top() - v_chk);

this.PanA11.set_Top(this.PanA10.get_Top() + 24);

this.PTxA11.set_Top(this.PicA11.get_Top());

this.PicA11.set_Top(this.PanA11.get_Top() - v_PicA);

this.TxtA11.set_Top(this.PanA11.get_Top() - v_TxtA);

this.BtnA11.set_Top(this.PanA11.get_Top() - v_BtnA);

this.ChkA11.set_Top(this.PanA11.get_Top() - v_chk);

this.StxA11.set_Top(this.PanA11.get_Top() - v_chk);

this.PanA12.set_Top(this.PanA11.get_Top() + 24);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(this.PanA12.get_Top() - v_PicA);

this.TxtA12.set_Top(this.PanA12.get_Top() - v_TxtA);

this.BtnA12.set_Top(this.PanA12.get_Top() - v_BtnA);

this.ChkA12.set_Top(this.PanA12.get_Top() - v_chk);

this.StxA12.set_Top(this.PanA12.get_Top() - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 8:

this.PanA9.set_Top(v_PanA1);

this.PTxA9.set_Top(this.PicA9.get_Top());

this.PicA9.set_Top(v_PanA1 - v_PicA);

this.TxtA9.set_Top(v_PanA1 - v_TxtA);

this.BtnA9.set_Top(v_PanA1 - v_BtnA);

this.ChkA9.set_Top(v_PanA1 - v_chk);

this.StxA9.set_Top(v_PanA1 - v_chk);

this.PanA10.set_Top(this.PanA9.get_Top() + 24);

this.PTxA10.set_Top(this.PicA10.get_Top());

this.PicA10.set_Top(this.PanA10.get_Top() - v_PicA);

this.TxtA10.set_Top(this.PanA10.get_Top() - v_TxtA);

this.BtnA10.set_Top(this.PanA10.get_Top() - v_BtnA);

this.ChkA10.set_Top(this.PanA10.get_Top() - v_chk);

this.StxA10.set_Top(this.PanA10.get_Top() - v_chk);

this.PanA11.set_Top(this.PanA10.get_Top() + 24);

this.PTxA11.set_Top(this.PicA11.get_Top());

this.PicA11.set_Top(this.PanA11.get_Top() - v_PicA);

this.TxtA11.set_Top(this.PanA11.get_Top() - v_TxtA);

this.BtnA11.set_Top(this.PanA11.get_Top() - v_BtnA);

this.ChkA11.set_Top(this.PanA11.get_Top() - v_chk);

this.StxA11.set_Top(this.PanA11.get_Top() - v_chk);

this.PanA12.set_Top(this.PanA11.get_Top() + 24);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(this.PanA12.get_Top() - v_PicA);

this.TxtA12.set_Top(this.PanA12.get_Top() - v_TxtA);

this.BtnA12.set_Top(this.PanA12.get_Top() - v_BtnA);

this.ChkA12.set_Top(this.PanA12.get_Top() - v_chk);

this.StxA12.set_Top(this.PanA12.get_Top() - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 9:

this.PanA10.set_Top(v_PanA1);

this.PTxA10.set_Top(this.PicA10.get_Top());

this.PicA10.set_Top(v_PanA1 - v_PicA);

this.TxtA10.set_Top(v_PanA1 - v_TxtA);

this.BtnA10.set_Top(v_PanA1 - v_BtnA);

this.ChkA10.set_Top(v_PanA1 - v_chk);

this.StxA10.set_Top(v_PanA1 - v_chk);

this.PanA11.set_Top(this.PanA10.get_Top() + 24);

this.PTxA11.set_Top(this.PicA11.get_Top());

this.PicA11.set_Top(this.PanA11.get_Top() - v_PicA);

this.TxtA11.set_Top(this.PanA11.get_Top() - v_TxtA);

this.BtnA11.set_Top(this.PanA11.get_Top() - v_BtnA);

this.ChkA11.set_Top(this.PanA11.get_Top() - v_chk);

this.StxA11.set_Top(this.PanA11.get_Top() - v_chk);

this.PanA12.set_Top(this.PanA11.get_Top() + 24);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(this.PanA12.get_Top() - v_PicA);

this.TxtA12.set_Top(this.PanA12.get_Top() - v_TxtA);

this.BtnA12.set_Top(this.PanA12.get_Top() - v_BtnA);

this.ChkA12.set_Top(this.PanA12.get_Top() - v_chk);

this.StxA12.set_Top(this.PanA12.get_Top() - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 10:

this.PanA11.set_Top(v_PanA1);

this.PTxA11.set_Top(this.PicA10.get_Top());

this.PicA11.set_Top(v_PanA1 - v_PicA);

this.TxtA11.set_Top(v_PanA1 - v_TxtA);

this.BtnA11.set_Top(v_PanA1 - v_BtnA);

this.ChkA11.set_Top(v_PanA1 - v_chk);

this.StxA11.set_Top(v_PanA1 - v_chk);

this.PanA12.set_Top(this.PanA11.get_Top() + 24);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(this.PanA12.get_Top() - v_PicA);

this.TxtA12.set_Top(this.PanA12.get_Top() - v_TxtA);

this.BtnA12.set_Top(this.PanA12.get_Top() - v_BtnA);

this.ChkA12.set_Top(this.PanA12.get_Top() - v_chk);

this.StxA12.set_Top(this.PanA12.get_Top() - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 11:

this.PanA12.set_Top(v_PanA1);

this.PTxA12.set_Top(this.PicA12.get_Top());

this.PicA12.set_Top(v_PanA1 - v_PicA);

this.TxtA12.set_Top(v_PanA1 - v_TxtA);

this.BtnA12.set_Top(v_PanA1 - v_BtnA);

this.ChkA12.set_Top(v_PanA1 - v_chk);

this.StxA12.set_Top(v_PanA1 - v_chk);

this.PanA13.set_Top(this.PanA12.get_Top() + 24);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(this.PanA13.get_Top() - v_PicA);

this.TxtA13.set_Top(this.PanA13.get_Top() - v_TxtA);

this.BtnA13.set_Top(this.PanA13.get_Top() - v_BtnA);

this.ChkA13.set_Top(this.PanA13.get_Top() - v_chk);

this.StxA13.set_Top(this.PanA13.get_Top() - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

case 12:

this.PanA13.set_Top(v_PanA1);

this.PTxA13.set_Top(this.PicA13.get_Top());

this.PicA13.set_Top(v_PanA1 - v_PicA);

this.TxtA13.set_Top(v_PanA1 - v_TxtA);

this.BtnA13.set_Top(v_PanA1 - v_BtnA);

this.ChkA13.set_Top(v_PanA1 - v_chk);

this.StxA13.set_Top(v_PanA1 - v_chk);

this.PanA14.set_Top(this.PanA13.get_Top() + 24);

this.PTxA14.set_Top(this.PicA14.get_Top());

this.PicA14.set_Top(this.PanA14.get_Top() - v_PicA);

this.TxtA14.set_Top(this.PanA14.get_Top() - v_TxtA);

this.BtnA14.set_Top(this.PanA14.get_Top() - v_BtnA);

this.ChkA14.set_Top(this.PanA14.get_Top() - v_chk);

this.StxA14.set_Top(this.PanA14.get_Top() - v_chk);

this.PanA15.set_Top(this.PanA14.get_Top() + 24);

this.PTxA15.set_Top(this.PicA15.get_Top());

this.PicA15.set_Top(this.PanA15.get_Top() - v_PicA);

this.TxtA15.set_Top(this.PanA15.get_Top() - v_TxtA);

this.BtnA15.set_Top(this.PanA15.get_Top() - v_BtnA);

this.ChkA15.set_Top(this.PanA15.get_Top() - v_chk);

this.StxA15.set_Top(this.PanA15.get_Top() - v_chk);

this.PanA16.set_Top(this.PanA15.get_Top() + 24);

this.PTxA16.set_Top(this.PicA16.get_Top());

this.PicA16.set_Top(this.PanA16.get_Top() - v_PicA);

this.TxtA16.set_Top(this.PanA16.get_Top() - v_TxtA);

this.BtnA16.set_Top(this.PanA16.get_Top() - v_BtnA);

this.ChkA16.set_Top(this.PanA16.get_Top() - v_chk);

this.StxA16.set_Top(this.PanA16.get_Top() - v_chk);

this.PanA17.set_Top(this.PanA16.get_Top() + 24);

this.PTxA17.set_Top(this.PicA17.get_Top());

this.PicA17.set_Top(this.PanA17.get_Top() - v_PicA);

this.TxtA17.set_Top(this.PanA17.get_Top() - v_TxtA);

this.BtnA17.set_Top(this.PanA17.get_Top() - v_BtnA);

this.ChkA17.set_Top(this.PanA17.get_Top() - v_chk);

this.StxA17.set_Top(this.PanA17.get_Top() - v_chk);

this.PanA18.set_Top(this.PanA17.get_Top() + 24);

this.PTxA18.set_Top(this.PicA18.get_Top());

this.PicA18.set_Top(this.PanA18.get_Top() - v_PicA);

this.TxtA18.set_Top(this.PanA18.get_Top() - v_TxtA);

this.BtnA18.set_Top(this.PanA18.get_Top() - v_BtnA);

this.ChkA18.set_Top(this.PanA18.get_Top() - v_chk);

this.StxA18.set_Top(this.PanA18.get_Top() - v_chk);

this.PanA19.set_Top(this.PanA18.get_Top() + 24);

this.PTxA19.set_Top(this.PicA19.get_Top());

this.PicA19.set_Top(this.PanA19.get_Top() - v_PicA);

this.TxtA19.set_Top(this.PanA19.get_Top() - v_TxtA);

this.BtnA19.set_Top(this.PanA19.get_Top() - v_BtnA);

this.ChkA19.set_Top(this.PanA19.get_Top() - v_chk);

this.StxA19.set_Top(this.PanA19.get_Top() - v_chk);

this.PanA20.set_Top(this.PanA19.get_Top() + 24);

this.PTxA20.set_Top(this.PicA20.get_Top());

this.PicA20.set_Top(this.PanA20.get_Top() - v_PicA);

this.TxtA20.set_Top(this.PanA20.get_Top() - v_TxtA);

this.BtnA20.set_Top(this.PanA20.get_Top() - v_BtnA);

this.ChkA20.set_Top(this.PanA20.get_Top() - v_chk);

this.StxA20.set_Top(this.PanA20.get_Top() - v_chk);

this.PanA21.set_Top(this.PanA20.get_Top() + 24);

this.PTxA21.set_Top(this.PicA21.get_Top());

this.PicA21.set_Top(this.PanA21.get_Top() - v_PicA);

this.TxtA21.set_Top(this.PanA21.get_Top() - v_TxtA);

this.BtnA21.set_Top(this.PanA21.get_Top() - v_BtnA);

this.ChkA21.set_Top(this.PanA21.get_Top() - v_chk);

this.StxA21.set_Top(this.PanA21.get_Top() - v_chk);

this.PanA22.set_Top(this.PanA21.get_Top() + 24);

this.PTxA22.set_Top(this.PicA22.get_Top());

this.PicA22.set_Top(this.PanA22.get_Top() - v_PicA);

this.TxtA22.set_Top(this.PanA22.get_Top() - v_TxtA);

this.BtnA22.set_Top(this.PanA22.get_Top() - v_BtnA);

this.ChkA22.set_Top(this.PanA22.get_Top() - v_chk);

this.StxA22.set_Top(this.PanA22.get_Top() - v_chk);

this.PanA23.set_Top(this.PanA22.get_Top() + 24);

this.PTxA23.set_Top(this.PicA23.get_Top());

this.PicA23.set_Top(this.PanA23.get_Top() - v_PicA);

this.TxtA23.set_Top(this.PanA23.get_Top() - v_TxtA);

this.BtnA23.set_Top(this.PanA23.get_Top() - v_BtnA);

this.ChkA23.set_Top(this.PanA23.get_Top() - v_chk);

this.StxA23.set_Top(this.PanA23.get_Top() - v_chk);

this.PanA24.set_Top(this.PanA23.get_Top() + 24);

this.PTxA24.set_Top(this.PicA24.get_Top());

this.PicA24.set_Top(this.PanA24.get_Top() - v_PicA);

this.TxtA24.set_Top(this.PanA24.get_Top() - v_TxtA);

this.BtnA24.set_Top(this.PanA24.get_Top() - v_BtnA);

this.ChkA24.set_Top(this.PanA24.get_Top() - v_chk);

this.StxA24.set_Top(this.PanA24.get_Top() - v_chk);

break;

}

}


 

private void sub_VScrollB1(int val_VScrollB1)

{

switch(val_VScrollB1)

{

case 0:

this.PanB1.set_Top(v_PanB1);

this.TxtC1.set_Top(v_PanB1 - v_TxtB);

this.TxtB1.set_Top(v_PanB1 - v_TxtB);

this.BtnB1.set_Top(v_PanB1 - v_BtnB);

this.ChkB1.set_Top(v_PanB1 - v_chk);

this.StxB1.set_Top(v_PanA1 - v_chk);

this.PanB2.set_Top(this.PanB1.get_Top() + 24);

this.TxtC2.set_Top(this.PanB2.get_Top() - v_TxtB);

this.TxtB2.set_Top(this.PanB2.get_Top() - v_TxtB);

this.BtnB2.set_Top(this.PanB2.get_Top() - v_BtnB);

this.ChkB2.set_Top(this.PanB2.get_Top() - v_chk);

this.StxB2.set_Top(this.PanB2.get_Top() - v_chk);

this.PanB3.set_Top(this.PanB2.get_Top() + 24);

this.TxtC3.set_Top(this.PanB3.get_Top() - v_TxtB);

this.TxtB3.set_Top(this.PanB3.get_Top() - v_TxtB);

this.BtnB3.set_Top(this.PanB3.get_Top() - v_BtnB);

this.ChkB3.set_Top(this.PanB3.get_Top() - v_chk);

this.StxB3.set_Top(this.PanB3.get_Top() - v_chk);

this.PanB4.set_Top(this.PanB3.get_Top() + 24);

this.TxtC4.set_Top(this.PanB4.get_Top() - v_TxtB);

this.TxtB4.set_Top(this.PanB4.get_Top() - v_TxtB);

this.BtnB4.set_Top(this.PanB4.get_Top() - v_BtnB);

this.ChkB4.set_Top(this.PanB4.get_Top() - v_chk);

this.StxB4.set_Top(this.PanB4.get_Top() - v_chk);

this.PanB5.set_Top(this.PanB4.get_Top() + 24);

this.TxtC5.set_Top(this.PanB5.get_Top() - v_TxtB);

this.TxtB5.set_Top(this.PanB5.get_Top() - v_TxtB);

this.BtnB5.set_Top(this.PanB5.get_Top() - v_BtnB);

this.ChkB5.set_Top(this.PanB5.get_Top() - v_chk);

this.StxB5.set_Top(this.PanB5.get_Top() - v_chk);

this.PanB6.set_Top(this.PanB5.get_Top() + 24);

this.TxtC6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.TxtB6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.BtnB6.set_Top(this.PanB6.get_Top() - v_BtnB);

this.ChkB6.set_Top(this.PanB6.get_Top() - v_chk);

this.StxB6.set_Top(this.PanB6.get_Top() - v_chk);

this.PanB7.set_Top(this.PanB6.get_Top() + 24);

this.TxtC7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.TxtB7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.BtnB7.set_Top(this.PanB7.get_Top() - v_BtnB);

this.ChkB7.set_Top(this.PanB7.get_Top() - v_chk);

this.StxB7.set_Top(this.PanB7.get_Top() - v_chk);

this.PanB8.set_Top(this.PanB7.get_Top() + 24);

this.TxtC8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.TxtB8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.BtnB8.set_Top(this.PanB8.get_Top() - v_BtnB);

this.ChkB8.set_Top(this.PanB8.get_Top() - v_chk);

this.StxB8.set_Top(this.PanB8.get_Top() - v_chk);

this.PanB9.set_Top(this.PanB8.get_Top() + 24);

this.TxtC9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.TxtB9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.BtnB9.set_Top(this.PanB9.get_Top() - v_BtnB);

this.ChkB9.set_Top(this.PanB9.get_Top() - v_chk);

this.StxB9.set_Top(this.PanB9.get_Top() - v_chk);

this.PanB10.set_Top(this.PanB9.get_Top() + 24);

this.TxtC10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.TxtB10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.BtnB10.set_Top(this.PanB10.get_Top() - v_BtnB);

this.ChkB10.set_Top(this.PanB10.get_Top() - v_chk);

this.StxB10.set_Top(this.PanB10.get_Top() - v_chk);

this.PanB11.set_Top(this.PanB10.get_Top() + 24);

this.TxtC11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.TxtB11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.BtnB11.set_Top(this.PanB11.get_Top() - v_BtnB);

this.ChkB11.set_Top(this.PanB11.get_Top() - v_chk);

this.StxB11.set_Top(this.PanB11.get_Top() - v_chk);

this.PanB12.set_Top(this.PanB11.get_Top() + 24);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 1:

this.PanB2.set_Top(v_PanB1);

this.TxtC2.set_Top(this.PanB2.get_Top() - v_TxtB);

this.TxtB2.set_Top(this.PanB2.get_Top() - v_TxtB);

this.BtnB2.set_Top(this.PanB2.get_Top() - v_BtnB);

this.ChkB2.set_Top(this.PanB2.get_Top() - v_chk);

this.StxB2.set_Top(this.PanB2.get_Top() - v_chk);

this.PanB3.set_Top(this.PanB2.get_Top() + 24);

this.TxtC3.set_Top(this.PanB3.get_Top() - v_TxtB);

this.TxtB3.set_Top(this.PanB3.get_Top() - v_TxtB);

this.BtnB3.set_Top(this.PanB3.get_Top() - v_BtnB);

this.ChkB3.set_Top(this.PanB3.get_Top() - v_chk);

this.StxB3.set_Top(this.PanB3.get_Top() - v_chk);

this.PanB4.set_Top(this.PanB3.get_Top() + 24);

this.TxtC4.set_Top(this.PanB4.get_Top() - v_TxtB);

this.TxtB4.set_Top(this.PanB4.get_Top() - v_TxtB);

this.BtnB4.set_Top(this.PanB4.get_Top() - v_BtnB);

this.ChkB4.set_Top(this.PanB4.get_Top() - v_chk);

this.StxB4.set_Top(this.PanB4.get_Top() - v_chk);

this.PanB5.set_Top(this.PanB4.get_Top() + 24);

this.TxtC5.set_Top(this.PanB5.get_Top() - v_TxtB);

this.TxtB5.set_Top(this.PanB5.get_Top() - v_TxtB);

this.BtnB5.set_Top(this.PanB5.get_Top() - v_BtnB);

this.ChkB5.set_Top(this.PanB5.get_Top() - v_chk);

this.StxB5.set_Top(this.PanB5.get_Top() - v_chk);

this.PanB6.set_Top(this.PanB5.get_Top() + 24);

this.TxtC6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.TxtB6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.BtnB6.set_Top(this.PanB6.get_Top() - v_BtnB);

this.ChkB6.set_Top(this.PanB6.get_Top() - v_chk);

this.StxB6.set_Top(this.PanB6.get_Top() - v_chk);

this.PanB7.set_Top(this.PanB6.get_Top() + 24);

this.TxtC7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.TxtB7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.BtnB7.set_Top(this.PanB7.get_Top() - v_BtnB);

this.ChkB7.set_Top(this.PanB7.get_Top() - v_chk);

this.StxB7.set_Top(this.PanB7.get_Top() - v_chk);

this.PanB8.set_Top(this.PanB7.get_Top() + 24);

this.TxtC8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.TxtB8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.BtnB8.set_Top(this.PanB8.get_Top() - v_BtnB);

this.ChkB8.set_Top(this.PanB8.get_Top() - v_chk);

this.StxB8.set_Top(this.PanB8.get_Top() - v_chk);

this.PanB9.set_Top(this.PanB8.get_Top() + 24);

this.TxtC9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.TxtB9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.BtnB9.set_Top(this.PanB9.get_Top() - v_BtnB);

this.ChkB9.set_Top(this.PanB9.get_Top() - v_chk);

this.StxB9.set_Top(this.PanB9.get_Top() - v_chk);

this.PanB10.set_Top(this.PanB9.get_Top() + 24);

this.TxtC10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.TxtB10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.BtnB10.set_Top(this.PanB10.get_Top() - v_BtnB);

this.ChkB10.set_Top(this.PanB10.get_Top() - v_chk);

this.StxB10.set_Top(this.PanB10.get_Top() - v_chk);

this.PanB11.set_Top(this.PanB10.get_Top() + 24);

this.TxtC11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.TxtB11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.BtnB11.set_Top(this.PanB11.get_Top() - v_BtnB);

this.ChkB11.set_Top(this.PanB11.get_Top() - v_chk);

this.StxB11.set_Top(this.PanB11.get_Top() - v_chk);

this.PanB12.set_Top(this.PanB11.get_Top() + 24);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 2:

this.PanB3.set_Top(v_PanB1);

this.TxtC3.set_Top(this.PanB3.get_Top() - v_TxtB);

this.TxtB3.set_Top(this.PanB3.get_Top() - v_TxtB);

this.BtnB3.set_Top(this.PanB3.get_Top() - v_BtnB);

this.ChkB3.set_Top(this.PanB3.get_Top() - v_chk);

this.StxB3.set_Top(this.PanB3.get_Top() - v_chk);

this.PanB4.set_Top(this.PanB3.get_Top() + 24);

this.TxtC4.set_Top(this.PanB4.get_Top() - v_TxtB);

this.TxtB4.set_Top(this.PanB4.get_Top() - v_TxtB);

this.BtnB4.set_Top(this.PanB4.get_Top() - v_BtnB);

this.ChkB4.set_Top(this.PanB4.get_Top() - v_chk);

this.StxB4.set_Top(this.PanB4.get_Top() - v_chk);

this.PanB5.set_Top(this.PanB4.get_Top() + 24);

this.TxtC5.set_Top(this.PanB5.get_Top() - v_TxtB);

this.TxtB5.set_Top(this.PanB5.get_Top() - v_TxtB);

this.BtnB5.set_Top(this.PanB5.get_Top() - v_BtnB);

this.ChkB5.set_Top(this.PanB5.get_Top() - v_chk);

this.StxB5.set_Top(this.PanB5.get_Top() - v_chk);

this.PanB6.set_Top(this.PanB5.get_Top() + 24);

this.TxtC6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.TxtB6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.BtnB6.set_Top(this.PanB6.get_Top() - v_BtnB);

this.ChkB6.set_Top(this.PanB6.get_Top() - v_chk);

this.StxB6.set_Top(this.PanB6.get_Top() - v_chk);

this.PanB7.set_Top(this.PanB6.get_Top() + 24);

this.TxtC7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.TxtB7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.BtnB7.set_Top(this.PanB7.get_Top() - v_BtnB);

this.ChkB7.set_Top(this.PanB7.get_Top() - v_chk);

this.StxB7.set_Top(this.PanB7.get_Top() - v_chk);

this.PanB8.set_Top(this.PanB7.get_Top() + 24);

this.TxtC8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.TxtB8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.BtnB8.set_Top(this.PanB8.get_Top() - v_BtnB);

this.ChkB8.set_Top(this.PanB8.get_Top() - v_chk);

this.StxB8.set_Top(this.PanB8.get_Top() - v_chk);

this.PanB9.set_Top(this.PanB8.get_Top() + 24);

this.TxtC9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.TxtB9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.BtnB9.set_Top(this.PanB9.get_Top() - v_BtnB);

this.ChkB9.set_Top(this.PanB9.get_Top() - v_chk);

this.StxB9.set_Top(this.PanB9.get_Top() - v_chk);

this.PanB10.set_Top(this.PanB9.get_Top() + 24);

this.TxtC10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.TxtB10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.BtnB10.set_Top(this.PanB10.get_Top() - v_BtnB);

this.ChkB10.set_Top(this.PanB10.get_Top() - v_chk);

this.StxB10.set_Top(this.PanB10.get_Top() - v_chk);

this.PanB11.set_Top(this.PanB10.get_Top() + 24);

this.TxtC11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.TxtB11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.BtnB11.set_Top(this.PanB11.get_Top() - v_BtnB);

this.ChkB11.set_Top(this.PanB11.get_Top() - v_chk);

this.StxB11.set_Top(this.PanB11.get_Top() - v_chk);

this.PanB12.set_Top(this.PanB11.get_Top() + 24);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 3:

this.PanB4.set_Top(v_PanB1);

this.TxtC4.set_Top(this.PanB4.get_Top() - v_TxtB);

this.TxtB4.set_Top(this.PanB4.get_Top() - v_TxtB);

this.BtnB4.set_Top(this.PanB4.get_Top() - v_BtnB);

this.ChkB4.set_Top(this.PanB4.get_Top() - v_chk);

this.StxB4.set_Top(this.PanB4.get_Top() - v_chk);

this.PanB5.set_Top(this.PanB4.get_Top() + 24);

this.TxtC5.set_Top(this.PanB5.get_Top() - v_TxtB);

this.TxtB5.set_Top(this.PanB5.get_Top() - v_TxtB);

this.BtnB5.set_Top(this.PanB5.get_Top() - v_BtnB);

this.ChkB5.set_Top(this.PanB5.get_Top() - v_chk);

this.StxB5.set_Top(this.PanB5.get_Top() - v_chk);

this.PanB6.set_Top(this.PanB5.get_Top() + 24);

this.TxtC6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.TxtB6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.BtnB6.set_Top(this.PanB6.get_Top() - v_BtnB);

this.ChkB6.set_Top(this.PanB6.get_Top() - v_chk);

this.StxB6.set_Top(this.PanB6.get_Top() - v_chk);

this.PanB7.set_Top(this.PanB6.get_Top() + 24);

this.TxtC7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.TxtB7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.BtnB7.set_Top(this.PanB7.get_Top() - v_BtnB);

this.ChkB7.set_Top(this.PanB7.get_Top() - v_chk);

this.StxB7.set_Top(this.PanB7.get_Top() - v_chk);

this.PanB8.set_Top(this.PanB7.get_Top() + 24);

this.TxtC8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.TxtB8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.BtnB8.set_Top(this.PanB8.get_Top() - v_BtnB);

this.ChkB8.set_Top(this.PanB8.get_Top() - v_chk);

this.StxB8.set_Top(this.PanB8.get_Top() - v_chk);

this.PanB9.set_Top(this.PanB8.get_Top() + 24);

this.TxtC9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.TxtB9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.BtnB9.set_Top(this.PanB9.get_Top() - v_BtnB);

this.ChkB9.set_Top(this.PanB9.get_Top() - v_chk);

this.StxB9.set_Top(this.PanB9.get_Top() - v_chk);

this.PanB10.set_Top(this.PanB9.get_Top() + 24);

this.TxtC10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.TxtB10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.BtnB10.set_Top(this.PanB10.get_Top() - v_BtnB);

this.ChkB10.set_Top(this.PanB10.get_Top() - v_chk);

this.StxB10.set_Top(this.PanB10.get_Top() - v_chk);

this.PanB11.set_Top(this.PanB10.get_Top() + 24);

this.TxtC11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.TxtB11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.BtnB11.set_Top(this.PanB11.get_Top() - v_BtnB);

this.ChkB11.set_Top(this.PanB11.get_Top() - v_chk);

this.StxB11.set_Top(this.PanB11.get_Top() - v_chk);

this.PanB12.set_Top(this.PanB11.get_Top() + 24);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 4:

this.PanB5.set_Top(v_PanB1);

this.TxtC5.set_Top(this.PanB5.get_Top() - v_TxtB);

this.TxtB5.set_Top(this.PanB5.get_Top() - v_TxtB);

this.BtnB5.set_Top(this.PanB5.get_Top() - v_BtnB);

this.ChkB5.set_Top(this.PanB5.get_Top() - v_chk);

this.StxB5.set_Top(this.PanB5.get_Top() - v_chk);

this.PanB6.set_Top(this.PanB5.get_Top() + 24);

this.TxtC6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.TxtB6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.BtnB6.set_Top(this.PanB6.get_Top() - v_BtnB);

this.ChkB6.set_Top(this.PanB6.get_Top() - v_chk);

this.StxB6.set_Top(this.PanB6.get_Top() - v_chk);

this.PanB7.set_Top(this.PanB6.get_Top() + 24);

this.TxtC7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.TxtB7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.BtnB7.set_Top(this.PanB7.get_Top() - v_BtnB);

this.ChkB7.set_Top(this.PanB7.get_Top() - v_chk);

this.StxB7.set_Top(this.PanB7.get_Top() - v_chk);

this.PanB8.set_Top(this.PanB7.get_Top() + 24);

this.TxtC8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.TxtB8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.BtnB8.set_Top(this.PanB8.get_Top() - v_BtnB);

this.ChkB8.set_Top(this.PanB8.get_Top() - v_chk);

this.StxB8.set_Top(this.PanB8.get_Top() - v_chk);

this.PanB9.set_Top(this.PanB8.get_Top() + 24);

this.TxtC9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.TxtB9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.BtnB9.set_Top(this.PanB9.get_Top() - v_BtnB);

this.ChkB9.set_Top(this.PanB9.get_Top() - v_chk);

this.StxB9.set_Top(this.PanB9.get_Top() - v_chk);

this.PanB10.set_Top(this.PanB9.get_Top() + 24);

this.TxtC10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.TxtB10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.BtnB10.set_Top(this.PanB10.get_Top() - v_BtnB);

this.ChkB10.set_Top(this.PanB10.get_Top() - v_chk);

this.StxB10.set_Top(this.PanB10.get_Top() - v_chk);

this.PanB11.set_Top(this.PanB10.get_Top() + 24);

this.TxtC11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.TxtB11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.BtnB11.set_Top(this.PanB11.get_Top() - v_BtnB);

this.ChkB11.set_Top(this.PanB11.get_Top() - v_chk);

this.StxB11.set_Top(this.PanB11.get_Top() - v_chk);

this.PanB12.set_Top(this.PanB11.get_Top() + 24);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 5:

this.PanB6.set_Top(v_PanB1);

this.TxtC6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.TxtB6.set_Top(this.PanB6.get_Top() - v_TxtB);

this.BtnB6.set_Top(this.PanB6.get_Top() - v_BtnB);

this.ChkB6.set_Top(this.PanB6.get_Top() - v_chk);

this.StxB6.set_Top(this.PanB6.get_Top() - v_chk);

this.PanB7.set_Top(this.PanB6.get_Top() + 24);

this.TxtC7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.TxtB7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.BtnB7.set_Top(this.PanB7.get_Top() - v_BtnB);

this.ChkB7.set_Top(this.PanB7.get_Top() - v_chk);

this.StxB7.set_Top(this.PanB7.get_Top() - v_chk);

this.PanB8.set_Top(this.PanB7.get_Top() + 24);

this.TxtC8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.TxtB8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.BtnB8.set_Top(this.PanB8.get_Top() - v_BtnB);

this.ChkB8.set_Top(this.PanB8.get_Top() - v_chk);

this.StxB8.set_Top(this.PanB8.get_Top() - v_chk);

this.PanB9.set_Top(this.PanB8.get_Top() + 24);

this.TxtC9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.TxtB9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.BtnB9.set_Top(this.PanB9.get_Top() - v_BtnB);

this.ChkB9.set_Top(this.PanB9.get_Top() - v_chk);

this.StxB9.set_Top(this.PanB9.get_Top() - v_chk);

this.PanB10.set_Top(this.PanB9.get_Top() + 24);

this.TxtC10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.TxtB10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.BtnB10.set_Top(this.PanB10.get_Top() - v_BtnB);

this.ChkB10.set_Top(this.PanB10.get_Top() - v_chk);

this.StxB10.set_Top(this.PanB10.get_Top() - v_chk);

this.PanB11.set_Top(this.PanB10.get_Top() + 24);

this.TxtC11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.TxtB11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.BtnB11.set_Top(this.PanB11.get_Top() - v_BtnB);

this.ChkB11.set_Top(this.PanB11.get_Top() - v_chk);

this.StxB11.set_Top(this.PanB11.get_Top() - v_chk);

this.PanB12.set_Top(this.PanB11.get_Top() + 24);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 6:

this.PanB7.set_Top(v_PanB1);

this.TxtC7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.TxtB7.set_Top(this.PanB7.get_Top() - v_TxtB);

this.BtnB7.set_Top(this.PanB7.get_Top() - v_BtnB);

this.ChkB7.set_Top(this.PanB7.get_Top() - v_chk);

this.StxB7.set_Top(this.PanB7.get_Top() - v_chk);

this.PanB8.set_Top(this.PanB7.get_Top() + 24);

this.TxtC8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.TxtB8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.BtnB8.set_Top(this.PanB8.get_Top() - v_BtnB);

this.ChkB8.set_Top(this.PanB8.get_Top() - v_chk);

this.StxB8.set_Top(this.PanB8.get_Top() - v_chk);

this.PanB9.set_Top(this.PanB8.get_Top() + 24);

this.TxtC9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.TxtB9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.BtnB9.set_Top(this.PanB9.get_Top() - v_BtnB);

this.ChkB9.set_Top(this.PanB9.get_Top() - v_chk);

this.StxB9.set_Top(this.PanB9.get_Top() - v_chk);

this.PanB10.set_Top(this.PanB9.get_Top() + 24);

this.TxtC10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.TxtB10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.BtnB10.set_Top(this.PanB10.get_Top() - v_BtnB);

this.ChkB10.set_Top(this.PanB10.get_Top() - v_chk);

this.StxB10.set_Top(this.PanB10.get_Top() - v_chk);

this.PanB11.set_Top(this.PanB10.get_Top() + 24);

this.TxtC11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.TxtB11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.BtnB11.set_Top(this.PanB11.get_Top() - v_BtnB);

this.ChkB11.set_Top(this.PanB11.get_Top() - v_chk);

this.StxB11.set_Top(this.PanB11.get_Top() - v_chk);

this.PanB12.set_Top(this.PanB11.get_Top() + 24);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 7:

this.PanB8.set_Top(v_PanB1);

this.TxtC8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.TxtB8.set_Top(this.PanB8.get_Top() - v_TxtB);

this.BtnB8.set_Top(this.PanB8.get_Top() - v_BtnB);

this.ChkB8.set_Top(this.PanB8.get_Top() - v_chk);

this.StxB8.set_Top(this.PanB8.get_Top() - v_chk);

this.PanB9.set_Top(this.PanB8.get_Top() + 24);

this.TxtC9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.TxtB9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.BtnB9.set_Top(this.PanB9.get_Top() - v_BtnB);

this.ChkB9.set_Top(this.PanB9.get_Top() - v_chk);

this.StxB9.set_Top(this.PanB9.get_Top() - v_chk);

this.PanB10.set_Top(this.PanB9.get_Top() + 24);

this.TxtC10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.TxtB10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.BtnB10.set_Top(this.PanB10.get_Top() - v_BtnB);

this.ChkB10.set_Top(this.PanB10.get_Top() - v_chk);

this.StxB10.set_Top(this.PanB10.get_Top() - v_chk);

this.PanB11.set_Top(this.PanB10.get_Top() + 24);

this.TxtC11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.TxtB11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.BtnB11.set_Top(this.PanB11.get_Top() - v_BtnB);

this.ChkB11.set_Top(this.PanB11.get_Top() - v_chk);

this.StxB11.set_Top(this.PanB11.get_Top() - v_chk);

this.PanB12.set_Top(this.PanB11.get_Top() + 24);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 8:

this.PanB9.set_Top(v_PanB1);

this.TxtC9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.TxtB9.set_Top(this.PanB9.get_Top() - v_TxtB);

this.BtnB9.set_Top(this.PanB9.get_Top() - v_BtnB);

this.ChkB9.set_Top(this.PanB9.get_Top() - v_chk);

this.StxB9.set_Top(this.PanB9.get_Top() - v_chk);

this.PanB10.set_Top(this.PanB9.get_Top() + 24);

this.TxtC10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.TxtB10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.BtnB10.set_Top(this.PanB10.get_Top() - v_BtnB);

this.ChkB10.set_Top(this.PanB10.get_Top() - v_chk);

this.StxB10.set_Top(this.PanB10.get_Top() - v_chk);

this.PanB11.set_Top(this.PanB10.get_Top() + 24);

this.TxtC11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.TxtB11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.BtnB11.set_Top(this.PanB11.get_Top() - v_BtnB);

this.ChkB11.set_Top(this.PanB11.get_Top() - v_chk);

this.StxB11.set_Top(this.PanB11.get_Top() - v_chk);

this.PanB12.set_Top(this.PanB11.get_Top() + 24);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 9:

this.PanB10.set_Top(v_PanB1);

this.TxtC10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.TxtB10.set_Top(this.PanB10.get_Top() - v_TxtB);

this.BtnB10.set_Top(this.PanB10.get_Top() - v_BtnB);

this.ChkB10.set_Top(this.PanB10.get_Top() - v_chk);

this.StxB10.set_Top(this.PanB10.get_Top() - v_chk);

this.PanB11.set_Top(this.PanB10.get_Top() + 24);

this.TxtC11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.TxtB11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.BtnB11.set_Top(this.PanB11.get_Top() - v_BtnB);

this.ChkB11.set_Top(this.PanB11.get_Top() - v_chk);

this.StxB11.set_Top(this.PanB11.get_Top() - v_chk);

this.PanB12.set_Top(this.PanB11.get_Top() + 24);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 10:

this.PanB11.set_Top(v_PanB1);

this.TxtC11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.TxtB11.set_Top(this.PanB11.get_Top() - v_TxtB);

this.BtnB11.set_Top(this.PanB11.get_Top() - v_BtnB);

this.ChkB11.set_Top(this.PanB11.get_Top() - v_chk);

this.StxB11.set_Top(this.PanB11.get_Top() - v_chk);

this.PanB12.set_Top(this.PanB11.get_Top() + 24);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 11:

this.PanB12.set_Top(v_PanB1);

this.TxtC12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.TxtB12.set_Top(this.PanB12.get_Top() - v_TxtB);

this.BtnB12.set_Top(this.PanB12.get_Top() - v_BtnB);

this.ChkB12.set_Top(this.PanB12.get_Top() - v_chk);

this.StxB12.set_Top(this.PanB12.get_Top() - v_chk);

this.PanB13.set_Top(this.PanB12.get_Top() + 24);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

case 12:

this.PanB13.set_Top(v_PanB1);

this.TxtC13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.TxtB13.set_Top(this.PanB13.get_Top() - v_TxtB);

this.BtnB13.set_Top(this.PanB13.get_Top() - v_BtnB);

this.ChkB13.set_Top(this.PanB13.get_Top() - v_chk);

this.StxB13.set_Top(this.PanB13.get_Top() - v_chk);

this.PanB14.set_Top(this.PanB13.get_Top() + 24);

this.TxtC14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.TxtB14.set_Top(this.PanB14.get_Top() - v_TxtB);

this.BtnB14.set_Top(this.PanB14.get_Top() - v_BtnB);

this.ChkB14.set_Top(this.PanB14.get_Top() - v_chk);

this.StxB14.set_Top(this.PanB14.get_Top() - v_chk);

this.PanB15.set_Top(this.PanB14.get_Top() + 24);

this.TxtC15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.TxtB15.set_Top(this.PanB15.get_Top() - v_TxtB);

this.BtnB15.set_Top(this.PanB15.get_Top() - v_BtnB);

this.ChkB15.set_Top(this.PanB15.get_Top() - v_chk);

this.StxB15.set_Top(this.PanB15.get_Top() - v_chk);

this.PanB16.set_Top(this.PanB15.get_Top() + 24);

this.TxtC16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.TxtB16.set_Top(this.PanB16.get_Top() - v_TxtB);

this.BtnB16.set_Top(this.PanB16.get_Top() - v_BtnB);

this.ChkB16.set_Top(this.PanB16.get_Top() - v_chk);

this.StxB16.set_Top(this.PanB16.get_Top() - v_chk);

this.PanB17.set_Top(this.PanB16.get_Top() + 24);

this.TxtC17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.TxtB17.set_Top(this.PanB17.get_Top() - v_TxtB);

this.BtnB17.set_Top(this.PanB17.get_Top() - v_BtnB);

this.ChkB17.set_Top(this.PanB17.get_Top() - v_chk);

this.StxB17.set_Top(this.PanB17.get_Top() - v_chk);

this.PanB18.set_Top(this.PanB17.get_Top() + 24);

this.TxtC18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.TxtB18.set_Top(this.PanB18.get_Top() - v_TxtB);

this.BtnB18.set_Top(this.PanB18.get_Top() - v_BtnB);

this.ChkB18.set_Top(this.PanB18.get_Top() - v_chk);

this.StxB18.set_Top(this.PanB18.get_Top() - v_chk);

this.PanB19.set_Top(this.PanB18.get_Top() + 24);

this.TxtC19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.TxtB19.set_Top(this.PanB19.get_Top() - v_TxtB);

this.BtnB19.set_Top(this.PanB19.get_Top() - v_BtnB);

this.ChkB19.set_Top(this.PanB19.get_Top() - v_chk);

this.StxB19.set_Top(this.PanB19.get_Top() - v_chk);

this.PanB20.set_Top(this.PanB19.get_Top() + 24);

this.TxtC20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.TxtB20.set_Top(this.PanB20.get_Top() - v_TxtB);

this.BtnB20.set_Top(this.PanB20.get_Top() - v_BtnB);

this.ChkB20.set_Top(this.PanB20.get_Top() - v_chk);

this.StxB20.set_Top(this.PanB20.get_Top() - v_chk);

this.PanB21.set_Top(this.PanB20.get_Top() + 24);

this.TxtC21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.TxtB21.set_Top(this.PanB21.get_Top() - v_TxtB);

this.BtnB21.set_Top(this.PanB21.get_Top() - v_BtnB);

this.ChkB21.set_Top(this.PanB21.get_Top() - v_chk);

this.StxB21.set_Top(this.PanB21.get_Top() - v_chk);

this.PanB22.set_Top(this.PanB21.get_Top() + 24);

this.TxtC22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.TxtB22.set_Top(this.PanB22.get_Top() - v_TxtB);

this.BtnB22.set_Top(this.PanB22.get_Top() - v_BtnB);

this.ChkB22.set_Top(this.PanB22.get_Top() - v_chk);

this.StxB22.set_Top(this.PanB22.get_Top() - v_chk);

this.PanB23.set_Top(this.PanB22.get_Top() + 24);

this.TxtC23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.TxtB23.set_Top(this.PanB23.get_Top() - v_TxtB);

this.BtnB23.set_Top(this.PanB23.get_Top() - v_BtnB);

this.ChkB23.set_Top(this.PanB23.get_Top() - v_chk);

this.StxB23.set_Top(this.PanB23.get_Top() - v_chk);

this.PanB24.set_Top(this.PanB23.get_Top() + 24);

this.TxtC24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.TxtB24.set_Top(this.PanB24.get_Top() - v_TxtB);

this.BtnB24.set_Top(this.PanB24.get_Top() - v_BtnB);

this.ChkB24.set_Top(this.PanB24.get_Top() - v_chk);

this.StxB24.set_Top(this.PanB24.get_Top() - v_chk);

break;

}

}


 

//******** combobox, checkbox, DateTimePicker ********

//select combobox, cmb_correspond

private void cmb_correspond_SelectedIndexChanged (Object sender, System.EventArgs e)

{

current_date = this.cmb_correspond.get_SelectedItem().ToString();

agenda_cl.appoint_date = System.Convert.ToDateTime(current_date);

load_value(current_date);

this.ltoday.set_Text(System.Convert.ToDateTime(this.cmb_correspond.get_SelectedItem()).ToLongDateString());

this.DateTimePicker1.set_Text(current_date);

this.cmb_correspond.set_Text(current_date);

}

private void Chckmonth_CheckedChanged (Object sender, System.EventArgs e)

{

if (this.Chckmonth.get_Checked() == true)

{

v_currentmonth = 1;

}

if (this.Chckmonth.get_Checked() == false)

{

v_currentmonth = 2;

}

sub_currentdate(v_currentmonth, v_currentyear);

this.cmb_correspond.set_SelectedIndex(-1);

this.cmb_correspond.set_Text("");

}

private void Chckyear_CheckedChanged (Object sender, System.EventArgs e)

{

if (this.Chckyear.get_Checked() == true)

{

v_currentyear = 1;

}

if (this.Chckyear.get_Checked() == false)

{

v_currentyear = 2;

}

sub_currentdate(v_currentmonth, v_currentyear);

this.cmb_correspond.set_SelectedIndex(-1);

this.cmb_correspond.set_Text("");

}

// select DateTimePicker, DateTimePicker1

private void DateTimePicker1_ValueChanged (Object sender, System.EventArgs e)

{

current_date = this.DateTimePicker1.get_Text();

agenda_cl.appoint_date = System.Convert.ToDateTime(current_date);

load_value(current_date);

//use current value of v_currentyear and v_currentmonth

sub_currentdate(v_currentmonth, v_currentyear);

this.ltoday.set_Text(System.Convert.ToDateTime(this.DateTimePicker1.get_Value()).ToLongDateString());

this.cmb_correspond.set_SelectedIndex(-1);

this.cmb_correspond.set_Text("");

}

// ****************** edit/modify task .... *********************

private void BtnA1_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA1.get_Text(), this.PTxA1.get_Text(), this.TxtA1.get_Text());

}

//show agenda task form, to edit ....

private void toedit_task(String v_order, String v_prirority, String v_descrip)

{

agenda_task Fagenda_task = new agenda_task();

agenda_cl.task_type = "edit";

task_order = System.Convert.ToInt16(v_order);

agenda_cl.task_prirority = v_prirority;

agenda_cl.agenda_desc = v_descrip;

Fagenda_task.Show();

}

//show agenda form after edit (task)

private void afteredit_task()

{

int vvrc;

if (work_VJnet.agenda_task.agenda_task_cl.task_flag == true)

{

if (this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().get_Count() > 0)

{

for (vvrc = 0 ; vvrc <= (this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().get_Count() - 1); vvrc++)

{

if ((this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).
get_Item("entry_type").ToString().Trim().Equals("T")) && (this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).
get_Item("serialno").ToString().Trim().Equals(System.Convert.ToString(task_order))))

{

//update agenda table, the task record to edit

Sub_Update1("edit_task", vvrc);

//load agenda table

sub_loadagenda();

load_value(current_date);

return;

}

}

}

}

}

private void sub_loaddata(String v_entry_type, String strdate_d, String strdate_m, String strdate_y)

{

//appointment

if (v_entry_type.Trim().Equals("A"))

{

vselect1 = new System.Data.OleDb.OleDbCommand("SELECT agendaid,
branch, datecreated, description, entry_type, ondate, ontime, serialno, taskprirority,
ondate_d, ondate_m, ondate_y, bookid FROM agenda WHERE (entry_type =
'" + v_entry_type.Trim() + "') AND (ondate_d = '" + strdate_d + "') AND
(ondate_m = '" + strdate_m + "') AND (ondate_y = '" + strdate_y + "') AND (description <> '" + "" + "')
ORDER BY ontime, serialno");

}

//task

if (v_entry_type.Trim().Equals("T"))

{

vselect1 = new System.Data.OleDb.OleDbCommand("SELECT agendaid,
branch, datecreated, description, entry_type, ondate, ontime, serialno, taskprirority,
ondate_d, ondate_m, ondate_y, bookid FROM agenda WHERE (entry_type =
'" + v_entry_type.Trim() + "') AND (description <> '" + "" + "') ORDER BY serialno");

}

vda1 = new System.Data.OleDb.OleDbDataAdapter(vselect1);

vdset1 = new System.Data.DataSet();

vselect1.set_Connection(this.oleDbConnection1);

vdset1.set_EnforceConstraints(false);

try

{

this.oleDbConnection1.Open();

vda1.Fill(vdset1, "agenda");

}

catch (System.Exception fillException)

{

System.Windows.Forms.MessageBox.Show(fillException.get_Message());

}

vdset1.set_EnforceConstraints(true);

this.oleDbConnection1.Close();

}

private void BtnA2_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA2.get_Text(), this.PTxA2.get_Text(), this.TxtA2.get_Text());

}

private void BtnA3_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA3.get_Text(), this.PTxA3.get_Text(), this.TxtA3.get_Text());

}

private void BtnA4_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA4.get_Text(), this.PTxA4.get_Text(), this.TxtA4.get_Text());

}

private void BtnA5_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA5.get_Text(), this.PTxA5.get_Text(), this.TxtA5.get_Text());

}

private void BtnA6_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA6.get_Text(), this.PTxA6.get_Text(), this.TxtA6.get_Text());

}

private void BtnA7_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA7.get_Text(), this.PTxA7.get_Text(), this.TxtA7.get_Text());

}

private void BtnA8_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA8.get_Text(), this.PTxA8.get_Text(), this.TxtA8.get_Text());

}

private void BtnA9_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA9.get_Text(), this.PTxA9.get_Text(), this.TxtA9.get_Text());

}

private void BtnA10_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA10.get_Text(), this.PTxA10.get_Text(), this.TxtA10.get_Text());

}

private void BtnA11_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA11.get_Text(), this.PTxA11.get_Text(), this.TxtA11.get_Text());

}

private void BtnA12_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA12.get_Text(), this.PTxA12.get_Text(), this.TxtA12.get_Text());

}

private void BtnA13_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA13.get_Text(), this.PTxA13.get_Text(), this.TxtA13.get_Text());

}

private void BtnA14_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA14.get_Text(), this.PTxA14.get_Text(), this.TxtA14.get_Text());

}

private void BtnA15_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA15.get_Text(), this.PTxA15.get_Text(), this.TxtA15.get_Text());

}

private void BtnA16_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA16.get_Text(), this.PTxA16.get_Text(), this.TxtA16.get_Text());

}

private void BtnA17_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA17.get_Text(), this.PTxA17.get_Text(), this.TxtA17.get_Text());

}

private void BtnA18_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA18.get_Text(), this.PTxA18.get_Text(), this.TxtA18.get_Text());

}

private void BtnA19_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA19.get_Text(), this.PTxA19.get_Text(), this.TxtA19.get_Text());

}

private void BtnA20_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA20.get_Text(), this.PTxA20.get_Text(), this.TxtA20.get_Text());

}

private void BtnA21_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA21.get_Text(), this.PTxA21.get_Text(), this.TxtA21.get_Text());

}

private void BtnA22_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA22.get_Text(), this.PTxA22.get_Text(), this.TxtA22.get_Text());

}

private void BtnA23_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA23.get_Text(), this.PTxA23.get_Text(), this.TxtA23.get_Text());

}

private void BtnA24_Click (Object sender, System.EventArgs e)

{

toedit_task(this.StxA24.get_Text(), this.PTxA24.get_Text(), this.TxtA24.get_Text());

}

// ****************** new/add task .... *********************

//show agenda task form, to add/new ....

private void Btn_newtask_Click (Object sender, System.EventArgs e)

{

load_serialno("T", "", "", "");

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() < 24)

{

agenda_task Fagenda_task = new agenda_task();

// new task

agenda_cl.task_type = "new";

Fagenda_task.Show();

}

else

MessageBox.Show("it is full = 24, impossible to add new task ...", work_VJnet.mainform.mainform_cl.Title,
MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);

return;

}

//show agenda form after add/new (task)

private void afternew_task()

{

if (work_VJnet.agenda_task.agenda_task_cl.task_flag == true)

{

//new value - serialno field, agenda table

sub_serialno("T", "", "", "");

load_serialno("T", "", "", "");

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() < 25)

{

//add new record

this.get_BindingContext().get_Item(objAgendadset,"agenda").EndCurrentEdit();

this.objAgendadset.get_agenda().get_Rows().Add(this.objAgendadset.get_agenda().NewRow());

//update agenda table, the task record to edit

Sub_Update1("new_task", (this.objAgendadset.get_agenda().get_Count() - 1));

//load agenda table

sub_loadagenda();

load_value(current_date);

return;

}

}

}

private void sub_serialno(String v_entry_type, String strdate_d, String strdate_m, String strdate_y)

{

boolean serialno_flag;

int vrec;

int vno;

load_serialno(v_entry_type, strdate_d, strdate_m, strdate_y);;

serialno_flag = false;

vno = 1;

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() == 0)

{

new_serialno = 1;

return;

}

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() > 24)

{

err_serialno(v_entry_type);

return;

}

if ((vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() > 0) &&
(vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() <= 24))

{

for (vrec = 0 ; vrec <= (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() - 1); vrec++)

{

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Item(vrec).get_Item("serialno").
ToString().Trim().Equals(System.Convert.ToString(vno)))

{

vno = vno + 1;

if (vno == 26)

{

err_serialno(v_entry_type);

return;

}

serialno_flag = true;

}

}

if (serialno_flag == true)

{

new_serialno = vno;

return;

}

}

}

private void load_serialno(String v_entry_type, String strdate_d, String strdate_m, String strdate_y)

{

if (v_entry_type.Trim().Equals("A"))

{

vselect1 = new System.Data.OleDb.OleDbCommand("SELECT entry_type,
ondate, ondate_d, ondate_m, ondate_y, serialno FROM agenda WHERE (entry_type =
'" + v_entry_type.Trim() + "') AND (ondate_d = '" + strdate_d + "') AND
(ondate_m = '" + strdate_m + "') AND (ondate_y = '" + strdate_y + "') ORDER BY serialno");

}

if (v_entry_type.Trim().Equals("T"))

{

vselect1 = new System.Data.OleDb.OleDbCommand("SELECT entry_type,
ondate, ondate_d, ondate_m, ondate_y, serialno FROM agenda WHERE (entry_type = '" +
v_entry_type.Trim() + "') ORDER BY serialno");

}

vda1 = new System.Data.OleDb.OleDbDataAdapter(vselect1);

vdset1 = new System.Data.DataSet();

vselect1.set_Connection(this.oleDbConnection1);

vdset1.set_EnforceConstraints(false);

try

{

this.oleDbConnection1.Open();

vda1.Fill(vdset1, "agenda");

}

catch (System.Exception fillException)

{

System.Windows.Forms.MessageBox.Show(fillException.get_Message());

}

vdset1.set_EnforceConstraints(true);

this.oleDbConnection1.Close();

}

private void err_serialno(String v_entry_type)

{

//appointment

if (v_entry_type.Trim().Equals("A"))

{

MessageBox.Show("it is full = 24, impossible to add new appointment ...",
work_VJnet.mainform.mainform_cl.Title, MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);

return;

}

//task

if (v_entry_type.Trim().Equals("T"))

{

MessageBox.Show("it is full = 24, impossible to add new task ...",
work_VJnet.mainform.mainform_cl.Title, MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);

return;

}

}

// ****************** delete/remove task .... *********************

private void Btn_deltask_Click (Object sender, System.EventArgs e)

{

int vvrc;

int i;

vvrc = 0;

if (this.list_chktask.get_Items().get_Count() > 0)

{

for (i = 0; i <= (this.list_chktask.get_Items().get_Count() - 1); i++)

{

//load agenda table

sub_loadagenda();

load_value(current_date);

for (vvrc = 0; vvrc <= (this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().get_Count() - 1); vvrc++)

{

if ((this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrc).get_Item("entry_type").ToString().Trim().Equals("T")) &&
(this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().
get_Item(vvrc).get_Item("serialno").ToString().Trim().
Equals(this.list_chktask.get_Items().get_Item(i).ToString())))

{

//agenda table, position

this.get_BindingContext().get_Item(objAgendadset, "agenda").set_Position(vvrc);

this.get_BindingContext().get_Item(objAgendadset, "agenda").
RemoveAt(this.get_BindingContext().get_Item(this.objAgendadset, "agenda").get_Position());

Sub_Update();

}

}

}

this.list_chktask.get_Items().Clear();

ChkA_Checked(false);

this.Btn_deltask.set_Enabled(false);

//load agenda table

sub_loadagenda();

load_value(current_date);

return;

}

}

private void ChkAAll_CheckedChanged (Object sender, System.EventArgs e)

{

if (this.ChkAAll.get_Checked() == true)

ChkA_Checked(true);

if (this.ChkAAll.get_Checked() == false)

ChkA_Checked(false);

}

private void ChkA_Checked(boolean bval)

{

this.ChkA1.set_Checked(bval);

this.ChkA2.set_Checked(bval);

this.ChkA3.set_Checked(bval);

this.ChkA4.set_Checked(bval);

this.ChkA5.set_Checked(bval);

this.ChkA6.set_Checked(bval);

this.ChkA7.set_Checked(bval);

this.ChkA8.set_Checked(bval);

this.ChkA9.set_Checked(bval);

this.ChkA10.set_Checked(bval);

this.ChkA11.set_Checked(bval);

this.ChkA12.set_Checked(bval);

this.ChkA13.set_Checked(bval);

this.ChkA14.set_Checked(bval);

this.ChkA15.set_Checked(bval);

this.ChkA16.set_Checked(bval);

this.ChkA17.set_Checked(bval);

this.ChkA18.set_Checked(bval);

this.ChkA19.set_Checked(bval);

this.ChkA20.set_Checked(bval);

this.ChkA21.set_Checked(bval);

this.ChkA22.set_Checked(bval);

this.ChkA23.set_Checked(bval);

this.ChkA24.set_Checked(bval);

}

private void sub_chkA(System.Windows.Forms.CheckBox v_ChekBox, String str_serialno)

{

int i;

if (this.Btn_delappoint.get_Enabled() == true)

this.Btn_delappoint.set_Enabled(false);

if (this.ChkBAll.get_Checked() == true)

{

this.ChkBAll.set_Checked(false);

this.list_chkappoint.get_Items().Clear();

}

if (v_ChekBox.get_Visible() == true)

{

if (v_ChekBox.get_Checked() == true)

{

if (this.Btn_deltask.get_Enabled() == false)

this.Btn_deltask.set_Enabled(true);

this.list_chktask.get_Items().Add(str_serialno);

if (v_ChekBox.get_Visible() == true)

{

if (this.list_chktask.get_Items().get_Count() == 0)

{

this.Btn_movetask.set_Enabled(false);

this.Btn_deltask.set_Enabled(false);

if (this.ChkAAll.get_Checked() == true)

this.ChkAAll.set_Checked(false);

}

else

{

this.Btn_movetask.set_Enabled(true);

this.Btn_deltask.set_Enabled(true);

}

}

return;

}

if (v_ChekBox.get_Checked() == false)

{

for (i = 0; i <= (this.list_chktask.get_Items().get_Count() - 1); i++)

{

if (this.list_chktask.get_Items().get_Item(i).ToString().Equals(str_serialno))

{

this.list_chktask.get_Items().Remove(str_serialno);

if (v_ChekBox.get_Visible() == true)

{

if (this.list_chktask.get_Items().get_Count() == 0)

{

this.Btn_movetask.set_Enabled(false);

this.Btn_deltask.set_Enabled(false);

if (this.ChkAAll.get_Checked() == true)

this.ChkAAll.set_Checked(false);

}

else

{

this.Btn_movetask.set_Enabled(true);

this.Btn_deltask.set_Enabled(true);

}

}

return;

}

}

}

}

}

private void ChkA1_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA1, this.StxA1.get_Text());

}

private void ChkA2_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA2, this.StxA2.get_Text());

}

private void ChkA3_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA3, this.StxA3.get_Text());

}

private void ChkA4_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA4, this.StxA4.get_Text());

}

private void ChkA5_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA5, this.StxA5.get_Text());

}

private void ChkA6_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA6, this.StxA6.get_Text());

}

private void ChkA7_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA7, this.StxA7.get_Text());

}

private void ChkA8_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA8, this.StxA8.get_Text());

}

private void ChkA9_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA9, this.StxA9.get_Text());

}

private void ChkA10_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA10, this.StxA10.get_Text());

}

private void ChkA11_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA11, this.StxA11.get_Text());

}

private void ChkA12_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA12, this.StxA12.get_Text());

}

private void ChkA13_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA13, this.StxA13.get_Text());

}

private void ChkA14_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA14, this.StxA14.get_Text());

}

private void ChkA15_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA15, this.StxA15.get_Text());

}

private void ChkA16_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA16, this.StxA16.get_Text());

}

private void ChkA17_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA17, this.StxA17.get_Text());

}

private void ChkA18_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA18, this.StxA18.get_Text());

}

private void ChkA19_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA19, this.StxA19.get_Text());

}

private void ChkA20_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA20, this.StxA20.get_Text());

}

private void ChkA21_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA21, this.StxA21.get_Text());

}

private void ChkA22_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA22, this.StxA22.get_Text());

}

private void ChkA23_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA23, this.StxA23.get_Text());

}

private void ChkA24_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkA(this.ChkA24, this.StxA24.get_Text());

}

// ****************** move task to appointement .... *********************

private void Btn_movetask_Click (Object sender, System.EventArgs e)

{

agenda_appoint Fagenda_appoint = new agenda_appoint();

// task_order, appoint_date

agenda_cl.appoint_type = "task_appoint";

serial_taskappoint = System.Convert.ToInt16(this.list_chktask.get_Items().get_Item(0));

sub_movetask("T", serial_taskappoint);

agenda_cl.agenda_desc = vdset1.get_Tables().get_Item("agenda").get_Rows().get_Item(0).get_Item("description").ToString();

Fagenda_appoint.Show();

}

private void sub_movetask(String v_entry_type, int v_serialno1)

{

vselect1 = new System.Data.OleDb.OleDbCommand("SELECT agendaid, description,
entry_type, serialno FROM agenda WHERE (((entry_type)='" + v_entry_type.Trim() + "') AND
((serialno)= " + v_serialno1 + " ))");

vda1 = new System.Data.OleDb.OleDbDataAdapter(vselect1);

vdset1 = new System.Data.DataSet();

vselect1.set_Connection(this.oleDbConnection1);

vdset1.set_EnforceConstraints(false);

try

{

this.oleDbConnection1.Open();

vda1.Fill(vdset1, "agenda");

}

catch (System.Exception fillException)

{

System.Windows.Forms.MessageBox.Show(fillException.get_Message());

}

vdset1.set_EnforceConstraints(true);

this.oleDbConnection1.Close();

}

//show agenda form after move (task - appointement)

private void aftermove_taskappoint()

{

String vondate_d;

String vondate_m;

String vondate_y;

if (work_VJnet.agenda_appoint.agenda_appoint_cl.appoint_flag == true)

{

current_date = agenda_cl.appoint_date.ToString("M/d/yyyy");

//test if it available to add new appointmement with this current date

if ((System.Convert.ToDateTime(current_date).get_Day() > 0) &&
(System.Convert.ToDateTime(current_date).get_Day() < 10))

vondate_d = "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day());

else

vondate_d = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day());

if ((System.Convert.ToDateTime(current_date).get_Month() > 0) &&
(System.Convert.ToDateTime(current_date).get_Month() < 10))

vondate_m = "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month());

else

vondate_m = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month());

vondate_y = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Year());

//new value - serialno field, agenda table

sub_serialno("A", vondate_d, vondate_m, vondate_y);

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() < 24)

{

//add new record

this.get_BindingContext().get_Item(objAgendadset,"agenda").EndCurrentEdit();

this.objAgendadset.get_agenda().get_Rows().Add(this.objAgendadset.get_agenda().NewRow());

//update agenda table, the appointment record to new

Sub_Update1("new_appointment", (this.objAgendadset.get_agenda().get_Count() - 1));

//delete task moved to appointment

sub_delmovetask();

//chkA.. - checkbox, checked

ChkA_Checked(false);

return;

}

}

}

private void sub_delmovetask()

{

int vvrc;

for (vvrc = 0; vvrc <= (this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().get_Count() - 1); vvrc++)

{

if ((this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).
get_Item("entry_type").ToString().Trim().Equals("T")) && (this.objAgendadset.
get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).
get_Item("serialno").ToString().Trim().Equals(System.Convert.ToString(serial_taskappoint))))

{

//agenda table, position

this.get_BindingContext().get_Item(objAgendadset, "agenda").set_Position(vvrc);

this.get_BindingContext().get_Item(objAgendadset, "agenda").RemoveAt(this.
get_BindingContext().get_Item(this.objAgendadset, "agenda").get_Position());

Sub_Update();

}

}

this.list_chktask.get_Items().Clear();

ChkA_Checked(false);

this.Btn_deltask.set_Enabled(false);

this.Btn_movetask.set_Enabled(false);

//load agenda table

sub_loadagenda();

load_value(current_date);

return;

}

// ****************** edit/modify appointement .... *********************

private void BtnB1_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB1.get_Text(), this.TxtC1.get_Text(), this.TxtB1.get_Text(), this.txid1.get_Text());

}

//show agenda appointement form, to edit ....

private void toedit_appoint(String v_order, String v_time, String v_descrip, String v_bookid)

{

agenda_appoint Fagenda_appoint = new agenda_appoint();

agenda_cl.appoint_type = "edit";

appoint_order = System.Convert.ToInt16(v_order);

work_VJnet.aganda_time.aganda_time_cl.appoint_time = v_time;

agenda_cl.appoint_date = System.Convert.ToDateTime(current_date);

agenda_cl.agenda_desc = v_descrip;

work_VJnet.agenda_appoint.agenda_appoint_cl.appoint_bookid = v_bookid;

Fagenda_appoint.Show();

}

//show agenda form after edit (appointement)

private void afteredit_appoint()

{

int vvrc;

if (work_VJnet.agenda_appoint.agenda_appoint_cl.appoint_flag == true)

{

//current_date = Format(agenda_cl.appoint_date, "M/d/yyyy")

if (this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().get_Count() > 0)

{

for (vvrc = 0; vvrc <= (this.objAgendadset.get_Tables().get_Item("agenda").
get_Rows().get_Count() - 1); vvrc++)

{

if ((this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).
get_Item("entry_type").ToString().Trim().Equals("A")) && (this.objAgendadset.
get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).
get_Item("serialno").ToString().Equals(System.Convert.ToString(appoint_order)) &&
(System.Convert.ToDateTime(this.objAgendadset.get_Tables().
get_Item("agenda").get_Rows().get_Item(vvrc).get_Item("ondate")).ToString("M/d/yyyy").
Equals(System.Convert.ToDateTime(current_date).ToString("M/d/yyyy")))))

{

//update agenda table, the task record to edit

Sub_Update1("edit_appointment", vvrc);

//load agenda table

sub_loadagenda();

load_value(current_date);

return;

}

}

}

}

}

private void BtnB2_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB2.get_Text(), this.TxtC2.get_Text(), this.TxtB2.get_Text(), this.txid2.get_Text());

}

private void BtnB3_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB3.get_Text(), this.TxtC3.get_Text(), this.TxtB3.get_Text(), this.txid3.get_Text());

}

private void BtnB4_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB4.get_Text(), this.TxtC4.get_Text(), this.TxtB4.get_Text(), this.txid4.get_Text());

}

private void BtnB5_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB5.get_Text(), this.TxtC5.get_Text(), this.TxtB5.get_Text(), this.txid5.get_Text());

}

private void BtnB6_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB6.get_Text(), this.TxtC6.get_Text(), this.TxtB6.get_Text(), this.txid6.get_Text());

}

private void BtnB7_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB7.get_Text(), this.TxtC7.get_Text(), this.TxtB7.get_Text(), this.txid7.get_Text());

}

private void BtnB8_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB8.get_Text(), this.TxtC8.get_Text(), this.TxtB8.get_Text(), this.txid8.get_Text());

}

private void BtnB9_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB9.get_Text(), this.TxtC9.get_Text(), this.TxtB9.get_Text(), this.txid9.get_Text());

}

private void BtnB10_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB10.get_Text(), this.TxtC10.get_Text(), this.TxtB10.get_Text(), this.txid10.get_Text());

}

private void BtnB11_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB11.get_Text(), this.TxtC11.get_Text(), this.TxtB11.get_Text(), this.txid11.get_Text());

}

private void BtnB12_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB12.get_Text(), this.TxtC12.get_Text(), this.TxtB12.get_Text(), this.txid12.get_Text());

}

private void BtnB13_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB13.get_Text(), this.TxtC13.get_Text(), this.TxtB13.get_Text(), this.txid13.get_Text());

}

private void BtnB14_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB14.get_Text(), this.TxtC14.get_Text(), this.TxtB14.get_Text(), this.txid14.get_Text());

}

private void BtnB15_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB15.get_Text(), this.TxtC15.get_Text(), this.TxtB15.get_Text(), this.txid15.get_Text());

}

private void BtnB16_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB16.get_Text(), this.TxtC16.get_Text(), this.TxtB16.get_Text(), this.txid16.get_Text());

}

private void BtnB17_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB17.get_Text(), this.TxtC17.get_Text(), this.TxtB17.get_Text(), this.txid17.get_Text());

}

private void BtnB18_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB18.get_Text(), this.TxtC18.get_Text(), this.TxtB18.get_Text(), this.txid18.get_Text());

}

private void BtnB19_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB19.get_Text(), this.TxtC19.get_Text(), this.TxtB19.get_Text(), this.txid19.get_Text());

}

private void BtnB20_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB20.get_Text(), this.TxtC20.get_Text(), this.TxtB20.get_Text(), this.txid20.get_Text());

}

private void BtnB21_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB21.get_Text(), this.TxtC21.get_Text(), this.TxtB21.get_Text(), this.txid21.get_Text());

}

private void BtnB22_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB22.get_Text(), this.TxtC22.get_Text(), this.TxtB22.get_Text(), this.txid22.get_Text());

}

private void BtnB23_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB23.get_Text(), this.TxtC23.get_Text(), this.TxtB23.get_Text(), this.txid23.get_Text());

}

private void BtnB24_Click (Object sender, System.EventArgs e)

{

toedit_appoint(this.StxB24.get_Text(), this.TxtC24.get_Text(), this.TxtB24.get_Text(), this.txid24.get_Text());

}

// ****************** new/add appointement .... *********************

//show agenda appointement form, to add/new ...

private void Btn_newappoint_Click (Object sender, System.EventArgs e)

{

agenda_appoint Fagenda_appoint = new agenda_appoint();

String vondate_d;

String vondate_m;

String vondate_y;

agenda_cl.appoint_full = false;

//test if it available to add new appointmement with this current date

if ((System.Convert.ToDateTime(current_date).get_Day() > 0) &&
(System.Convert.ToDateTime(current_date).get_Day() < 10))

vondate_d = "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day());

else

vondate_d = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day());

if ((System.Convert.ToDateTime(current_date).get_Month() > 0) &&
(System.Convert.ToDateTime(current_date).get_Month() < 10))

vondate_m = "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month());

else

vondate_m = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month()).ToString().Trim();

vondate_y = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Year());

//new value - serialno field, agenda table

sub_serialno("A", vondate_d, vondate_m, vondate_y);

load_serialno("A", vondate_d, vondate_m, vondate_y);

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() > 23)

{

//with this current date, add new appointmement not available

agenda_cl.appoint_full = true;

}

//new appointment

agenda_cl.appoint_type = "new";

agenda_cl.appoint_date = System.Convert.ToDateTime(current_date);

Fagenda_appoint.Show();

}

//show agenda form after new (appointement)

private void afternew_appoint()

{

String vondate_d;

String vondate_m;

String vondate_y;

if (work_VJnet.agenda_appoint.agenda_appoint_cl.appoint_flag == true)

{

current_date = agenda_cl.appoint_date.ToString("M/d/yyyy");

//test if it available to add new appointmement with this current date

if ((System.Convert.ToDateTime(current_date).get_Day() > 0) &&
(System.Convert.ToDateTime(current_date).get_Day() < 10))

vondate_d = "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day());

else

vondate_d = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day());

if ((System.Convert.ToDateTime(current_date).get_Month() > 0) &&
(System.Convert.ToDateTime(current_date).get_Month() < 10))

vondate_m = "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month());

else

vondate_m = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month());

vondate_y = System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Year());

//new value - serialno field, agenda table

sub_serialno("A", vondate_d, vondate_m, vondate_y);

if (vdset1.get_Tables().get_Item("agenda").get_Rows().get_Count() < 24)

{

//add new record

this.get_BindingContext().get_Item(objAgendadset,"agenda").EndCurrentEdit();

this.objAgendadset.get_agenda().get_Rows().Add(this.objAgendadset.get_agenda().NewRow());

//update agenda table, the appointment record to new

Sub_Update1("new_appointment", (this.objAgendadset.get_agenda().get_Count() - 1));

//load agenda table

sub_loadagenda();

load_value(current_date);

return;

}

}

}

// ****************** delete/remove appointement .... *********************

private void Btn_delappoint_Click (Object sender, System.EventArgs e)

{

//remove appointment

int vvrc;

int i;

vvrc = 0;

if (this.list_chkappoint.get_Items().get_Count() > 0)

{

for (i = 0; i <= (this.list_chkappoint.get_Items().get_Count() - 1); i++)

{

//load agenda table

sub_loadagenda();

load_value(current_date);

for (vvrc = 0; vvrc <= (this.objAgendadset.get_Tables().get_Item("agenda").
get_Rows().get_Count() - 1); vvrc++)

{

if ((this.objAgendadset.get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).
get_Item("entry_type").ToString().Trim().Equals("A")) && (this.objAgendadset.
get_Tables().get_Item("agenda").get_Rows().get_Item(vvrc).
get_Item("serialno").ToString().Trim().Equals(this.list_chkappoint.get_Items().
get_Item(i).ToString().Trim())) && (System.Convert.ToDateTime(this.objAgendadset.
get_Tables().get_Item("agenda").
get_Rows().get_Item(vvrc).get_Item("ondate")).ToString("M/d/yyyy").

Equals(System.Convert.ToDateTime(current_date).ToString("M/d/yyyy"))))

{

//agenda table, position

this.get_BindingContext().get_Item(objAgendadset, "agenda").set_Position(vvrc);

this.get_BindingContext().get_Item(objAgendadset, "agenda").RemoveAt(this.get_BindingContext().
get_Item(this
.objAgendadset, "agenda").get_Position());

Sub_Update();

}

}

}

}

this.list_chkappoint.get_Items().Clear();

ChkB_Checked(false);

this.Btn_delappoint.set_Enabled(false);

//load agenda table

sub_loadagenda();

load_value(current_date);

return;

}

private void ChkBAll_CheckedChanged (Object sender, System.EventArgs e)

{

if (this.ChkBAll.get_Checked() == true)

ChkB_Checked(true);

if (this.ChkBAll.get_Checked() == false)

ChkB_Checked(false);

}

private void ChkB_Checked(boolean bval)

{

this.ChkBAll.set_Checked(bval);

this.ChkB1.set_Checked(bval);

this.ChkB2.set_Checked(bval);

this.ChkB3.set_Checked(bval);

this.ChkB4.set_Checked(bval);

this.ChkB5.set_Checked(bval);

this.ChkB6.set_Checked(bval);

this.ChkB7.set_Checked(bval);

this.ChkB8.set_Checked(bval);

this.ChkB9.set_Checked(bval);

this.ChkB10.set_Checked(bval);

this.ChkB11.set_Checked(bval);

this.ChkB12.set_Checked(bval);

this.ChkB13.set_Checked(bval);

this.ChkB14.set_Checked(bval);

this.ChkB15.set_Checked(bval);

this.ChkB16.set_Checked(bval);

this.ChkB17.set_Checked(bval);

this.ChkB18.set_Checked(bval);

this.ChkB19.set_Checked(bval);

this.ChkB20.set_Checked(bval);

this.ChkB21.set_Checked(bval);

this.ChkB22.set_Checked(bval);

this.ChkB23.set_Checked(bval);

this.ChkB24.set_Checked(bval);

}

private void sub_chkB(System.Windows.Forms.CheckBox v_ChekBox, String str_serialno)

{

int i;

if (this.Btn_deltask.get_Enabled() == true)

this.Btn_deltask.set_Enabled(false);

if (this.ChkBAll.get_Checked() == true)

{

this.ChkAAll.set_Checked(false);

this.list_chktask.get_Items().Clear();

}

if (v_ChekBox.get_Visible() == true)

{

if (v_ChekBox.get_Checked() == true)

{

if (this.Btn_delappoint.get_Enabled() == false)

this.Btn_delappoint.set_Enabled(true);

this.list_chkappoint.get_Items().Add(str_serialno);

}

if (v_ChekBox.get_Checked() == false)

{

for (i = 0; i <= (this.list_chkappoint.get_Items().get_Count() - 1); i++)

{

if (this.list_chkappoint.get_Items().get_Item(i).ToString().Trim().Equals(str_serialno.Trim()))

{

this.list_chkappoint.get_Items().Remove(str_serialno);

if (this.list_chkappoint.get_Items().get_Count() == 0)

this.Btn_delappoint.set_Enabled(false);

return;

}

}

}

}

}

private void ChkB1_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB1, this.StxB1.get_Text());

}

private void ChkB2_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB2, this.StxB2.get_Text());

}

private void ChkB3_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB3, this.StxB3.get_Text());

}

private void ChkB4_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB4, this.StxB4.get_Text());

}

private void ChkB5_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB5, this.StxB5.get_Text());

}

private void ChkB6_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB6, this.StxB6.get_Text());

}

private void ChkB7_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB7, this.StxB7.get_Text());

}

private void ChkB8_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB8, this.StxB8.get_Text());

}

private void ChkB9_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB9, this.StxB9.get_Text());

}

private void ChkB10_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB10, this.StxB10.get_Text());

}

private void ChkB11_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB11, this.StxB11.get_Text());

}

private void ChkB12_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB12, this.StxB12.get_Text());

}

private void ChkB13_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB13, this.StxB13.get_Text());

}

private void ChkB14_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB14, this.StxB14.get_Text());

}

private void ChkB15_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB15, this.StxB15.get_Text());

}

private void ChkB16_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB16, this.StxB16.get_Text());

}

private void ChkB17_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB17, this.StxB17.get_Text());

}

private void ChkB18_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB18, this.StxB18.get_Text());

}

private void ChkB19_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB19, this.StxB19.get_Text());

}

private void ChkB20_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB20, this.StxB20.get_Text());

}

private void ChkB21_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB21, this.StxB21.get_Text());

}

private void ChkB22_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB22, this.StxB22.get_Text());

}

private void ChkB23_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB23, this.StxB23.get_Text());

}

private void ChkB24_CheckedChanged (Object sender, System.EventArgs e)

{

sub_chkB(this.ChkB24, this.StxB24.get_Text());

}

//******************* Activated Form ... ********************************

private void agenda_Activated (Object sender, System.EventArgs e)

{

//agenda_task, response

if (work_VJnet.agenda_task.agenda_task_cl.task_flag == true)

{

if (work_VJnet.agenda.agenda_cl.task_type.Trim().Equals("new"))

{

afternew_task();

work_VJnet.agenda.agenda_cl.task_type = "";

return;

}

if (work_VJnet.agenda.agenda_cl.task_type.Trim().Equals("edit"))

{

afteredit_task();

work_VJnet.agenda.agenda_cl.task_type = "";

return;

}

}

//agenda_appoint, response

if(work_VJnet.agenda_appoint.agenda_appoint_cl.appoint_flag == true)

{

if (agenda_cl.appoint_type.Trim().Equals("task_appoint"))

{

aftermove_taskappoint();

work_VJnet.agenda.agenda_cl.appoint_type = "";

return;

}

if (agenda_cl.appoint_type.Trim().Equals("new"))

{

afternew_appoint();

work_VJnet.agenda.agenda_cl.appoint_type = "";

return;

}

if (agenda_cl.appoint_type.Trim().Equals("edit"))

{

afteredit_appoint();

work_VJnet.agenda.agenda_cl.appoint_type = "";

return;

}

}

else

{

if (work_VJnet.agenda.agenda_cl.appoint_type == "task_appoint")

{

ChkA_Checked(false);

work_VJnet.agenda.agenda_cl.appoint_type = "";

return;

}

}

}

 

//******************************* update/ save ***************************

private void Sub_Update()

{

try

{

// Attempt to update the datasource.

this.UpdateDataSet();

}

catch (System.Exception eUpdate)

{

// Display error message, if any.

System.Windows.Forms.MessageBox.Show(eUpdate.get_Message());

}

}

public void UpdateDataSet () throws System.Exception

{

// Create a new dataset to hold the changes that have been made to the main dataset.

work_VJnet.Agendadset objDataSetChanges = new work_VJnet.Agendadset();

// Stop any current edits.

this.get_BindingContext().get_Item(objAgendadset,"agenda").EndCurrentEdit();

// Get the changes that have been made to the main dataset.

objDataSetChanges = ((work_VJnet.Agendadset)(objAgendadset.GetChanges()));

// Check to see if any changes have been made.

if ((objDataSetChanges != null))

{

try

{

// There are changes that need to be made, so attempt to update the datasource by

// calling the update method and passing the dataset and any parameters.

this.UpdateDataSource(objDataSetChanges);

objAgendadset.Merge(objDataSetChanges);

objAgendadset.AcceptChanges();

}

catch (System.Exception eUpdate)

{

// Add your error handling code here.

throw eUpdate;

}

// Add your code to check the returned dataset for any errors that may have been

// pushed into the row object's error.

}

}

public void UpdateDataSource (work_VJnet.Agendadset ChangedRows) throws System.Exception

{

try

{

// The data source only needs to be updated if there are changes pending.

if ((ChangedRows != null))

{

// Open the connection.

this.oleDbConnection1.Open();

// Attempt to update the data source.

oleDbDataAdapter1.Update(ChangedRows);

}

}

catch (System.Exception updateException)

{

// Add your error handling code here.

throw updateException;

}

finally

{

// Close the connection whether or not the exception was thrown.

this.oleDbConnection1.Close();

}

}

private void Sub_Update1(String v_type, int v_record)

{

try

{

// Attempt to update the datasource.

sub_updateDSet(v_type, v_record);

}

catch (System.Exception eUpdate)

{

// Display error message, if any.

System.Windows.Forms.MessageBox.Show(eUpdate.get_Message());

}

}

public void sub_updateDSet(String v_type, int v_record)

{

// Create a new dataset

work_VJnet.Agendadset objDataSetChanges = new work_VJnet.Agendadset();

//edit task

if (v_type.Trim().Equals("edit_task"))

{

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("description" , agenda_cl.agenda_desc.Trim());

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("taskprirority" , agenda_cl.task_prirority.Trim());

}

//new task

if (v_type.Trim().Equals("new_task"))

{

// this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("branch" , ;

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("datecreated" , System.Convert.ToDateTime(current_date));

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("description" , agenda_cl.agenda_desc.Trim());

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("entry_type" , "T");

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate" , System.Convert.ToDateTime(current_date));

if ((System.Convert.ToDateTime(current_date).get_Day() > 0) && (System.Convert.ToDateTime(current_date).get_Day() < 10))

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_d" , "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day()));

else

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_d" , System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day()));

if ((System.Convert.ToDateTime(current_date).get_Month() > 0) && (System.Convert.ToDateTime(current_date).get_Month() < 10))

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_m" , "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month()));

else

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_m" , System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month()));

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_y" , System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Year()));

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ontime" , "12:00 AM");

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("serialno" , System.Convert.ToString(new_serialno));

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("taskprirority" , agenda_cl.task_prirority.Trim());

}

//edit appointment

if (v_type.Trim().Equals("edit_appointment"))

{

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("description" , agenda_cl.agenda_desc.Trim());

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate" , System.Convert.ToDateTime(current_date));

if ((System.Convert.ToDateTime(current_date).get_Day() > 0) && (System.Convert.ToDateTime(current_date).get_Day() < 10))

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_d" , "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day()));

else

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_d" , System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day()));

if ((System.Convert.ToDateTime(current_date).get_Month() > 0) && (System.Convert.ToDateTime(current_date).get_Month() < 10))

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_m" , "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month()).ToString().Trim());

else

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_m" , System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month()).ToString().Trim());

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_y" , System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Year()));

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ontime" , work_VJnet.aganda_time.aganda_time_cl.appoint_time.Trim());

}

//new appointment

if (v_type.Trim().Equals("new_appointment"))

{

// this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("branch" , ;

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("datecreated" , System.Convert.ToDateTime(current_date));

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("description" , agenda_cl.agenda_desc.Trim());

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("entry_type" , "A");

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate" , System.Convert.ToDateTime(current_date));

if ((System.Convert.ToDateTime(current_date).get_Day() > 0) && (System.Convert.ToDateTime(current_date).get_Day() < 10))

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_d" , "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day()));

else

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_d" , System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Day()));

if ((System.Convert.ToDateTime(current_date).get_Month() > 0) && (System.Convert.ToDateTime(current_date).get_Month() < 10))

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_m" , "0" + System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month()).ToString().Trim());

else

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_m" , System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Month()));

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ondate_y" , System.Convert.ToString(System.Convert.ToDateTime(current_date).get_Year()));

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("ontime" , work_VJnet.aganda_time.aganda_time_cl.appoint_time.Trim());

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("serialno" , System.Convert.ToString(new_serialno));

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("taskprirority" , "");

this.objAgendadset.get_agenda().get_Rows().get_Item(v_record).set_Item("bookid" , System.Convert.ToString(System.Convert.ToInt16(work_VJnet.agenda_appoint.agenda_appoint_cl.appoint_bookid)));

}

// Stop any current edits.

this.get_BindingContext().get_Item(objAgendadset,"agenda").EndCurrentEdit();

// Get the changes that have been made to the main dataset.

objDataSetChanges = ((work_VJnet.Agendadset)(objAgendadset.GetChanges()));

// Check to see if any changes have been made.

if ((objDataSetChanges != null))

{

try

{

// calling the update method and passing the dataset

this.UpdateDataSource(objDataSetChanges);

objAgendadset.Merge(objDataSetChanges);

objAgendadset.AcceptChanges();

}

catch (System.Exception eUpdate)

{

// Add your error handling code here.

//0throw eUpdate;

}

}

}

private void btn_ok_Click (Object sender, System.EventArgs e)

{

this.Close();

}

 

}


 

   
  
 



 

      Return