コード例 #1
0
ファイル: TestAdd.cs プロジェクト: ondister/Recog
        private void lst_answ_ItemActivate(object sender, EventArgs e)
        {
            ListView lb = (ListView)sender;

            ansedf.Dispose();
            ansedf = new AnwerEdit();


            ansedf.fx             = lb.Bottom;
            ansedf.fy             = 0;
            ansedf.IDA            = Convert.ToInt16(lb.FocusedItem.SubItems[1].Text);
            ansedf.Description    = lb.FocusedItem.SubItems[2].Text;
            ansedf.InterCellWidth = Convert.ToInt16(lb.FocusedItem.SubItems[3].Text);
            ansedf.CellWidth      = Convert.ToInt16(lb.FocusedItem.SubItems[4].Text);
            ansedf.CellHight      = Convert.ToInt16(lb.FocusedItem.SubItems[5].Text);


            ansedf.Show();
        }
コード例 #2
0
ファイル: TestAdd.cs プロジェクト: ondister/Recog
 private void TConstructor_Load(object sender, EventArgs e)
 {
     // pb = new pBaseEntities();
     ansedf = new AnwerEdit();
 }
コード例 #3
0
ファイル: TestAdd.cs プロジェクト: ondister/Recog
 private void TConstructor_Load(object sender, EventArgs e)
 {
     // pb = new pBaseEntities();
     ansedf = new AnwerEdit();
 }
コード例 #4
0
ファイル: TestAdd.cs プロジェクト: ondister/Recog
        private void lst_answ_ItemActivate(object sender, EventArgs e)
        {
            ListView lb = (ListView)sender;
            ansedf.Dispose();
            ansedf = new AnwerEdit();

            ansedf.fx = lb.Bottom;
            ansedf.fy = 0;
            ansedf.IDA = Convert.ToInt16(lb.FocusedItem.SubItems[1].Text);
            ansedf.Description = lb.FocusedItem.SubItems[2].Text;
            ansedf.InterCellWidth = Convert.ToInt16(lb.FocusedItem.SubItems[3].Text);
            ansedf.CellWidth = Convert.ToInt16(lb.FocusedItem.SubItems[4].Text);
            ansedf.CellHight = Convert.ToInt16(lb.FocusedItem.SubItems[5].Text);

            ansedf.Show();
        }