Example #1
0
 private void NewFile_Click(object sender, EventArgs e)
 {
     var newFile = new DockDocument("New document", Icons.document_16xLG);
     DockPanel.AddContent(newFile);
 }
Example #2
0
        private void NewFile_Click(object sender, EventArgs e)
        {
            var newFile = new DockDocument("New document", Icons.document_16xLG);

            DockPanel.AddContent(newFile);
        }
Example #3
0
        private void NewFile_Click(object sender, EventArgs e)
        {
            var newFile = new DockDocument("New document", null);

            this.DockPanel.AddContent(newFile);
        }