コード例 #1
0
        private void btnnew_Click(object sender, EventArgs e)
        {
            SalesReturn frm = new SalesReturn();

            frm.MdiParent     = this.MdiParent;
            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.Show();
        }
コード例 #2
0
        private void LVDayBook_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            String str = LVDayBook.Items[LVDayBook.FocusedItem.Index].SubItems[0].Text;

            SalesReturn bd = new SalesReturn(this);

            bd.updatemode(str, LVDayBook.Items[LVDayBook.FocusedItem.Index].SubItems[0].Text, 1);
            bd.Show();
        }