示例#1
0
        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmTemplate frm = new frmTemplate();

            //frm.ShowDialog();
            frm.Execute(m_lFrom);
            PopulateGrid();
        }
示例#2
0
        private void barButtonItem19_ItemClick(object sender, ItemClickEventArgs e)
        {
            CommFun.DW1.Text = "Template";
            radPanel1.Controls.Clear();
            frmTemplate frmTemp = new frmTemplate()
            {
                TopLevel = false, FormBorderStyle = Alias.FormBorderStyle.None, Dock = DockStyle.Fill
            };

            radPanel1.Controls.Add(frmTemp);
            frmTemp.Show();
        }