Beispiel #1
0
 private void barButtonItem11_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     DevExpress.XtraBars.Docking2010.Views.BaseDocument doc = documentManager1.GetDocument(iPointForm);
     if (doc == null)
     {
         iPointForm = new iPointData();
     }
     iPointForm.MdiParent = this;
     //iPointForm.FormBorderStyle = FormBorderStyle.None;
     // iPointForm.WindowState = FormWindowState.Maximized;
     documentManager1.View.AddDocument(iPointForm);
     iPointForm.Show();
 }
Beispiel #2
0
 private void barButtonItem6_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     //  if (!documentManager1.IsDocumentSelectorVisible)
     //      iSendForm = new iSendData();
     DevExpress.XtraBars.Docking2010.Views.BaseDocument doc = documentManager1.GetDocument(iSendForm);
     if (doc == null)
     {
         iSendForm = new iSendData();
     }
     iSendForm.MdiParent = this;
     //iSendForm.FormBorderStyle = FormBorderStyle.None;
     // iSendForm.WindowState = FormWindowState.Maximized;
     documentManager1.View.AddDocument(iSendForm);
     iSendForm.Show();
 }
 private void AddDocument()
 {
     DevExpress.XtraBars.Docking2010.Views.BaseDocument document = tabbedView1.AddDocument(new WordProcessingForm());
     document.Caption = string.Format("Word Processing Doc # {0}", tabbedView1.Documents.Count);
 }