Ejemplo n.º 1
0
 private void openToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (openFileDialog.ShowDialog() == DialogResult.OK)
     {
         var mdiChild = new FormArchive
         {
             MdiParent   = this,
             ArchiveFile = new FileInfo(openFileDialog.FileName)
         };
         mdiChild.Show();
     }
 }
Ejemplo n.º 2
0
 private void openToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (openFileDialog.ShowDialog() == DialogResult.OK)
     {
         var mdiChild = new FormArchive
         {
             MdiParent = this,
             ArchiveFile = new FileInfo(openFileDialog.FileName)
         };
         mdiChild.Show();
     }
 }
Ejemplo n.º 3
0
        /// <summary>
        ///     Initializer.
        /// </summary>
        public FormParent()
        {
            InitializeComponent();
#if DEBUG
            var mdiChild = new FormArchive
            {
                MdiParent   = this,
                ArchiveFile = new FileInfo(@"D:\Organization\Games\Delta Force 2\Game\Df2.pff")
            };
            mdiChild.Show();
#endif
        }
Ejemplo n.º 4
0
        /// <summary>
        ///     Initializer.
        /// </summary>
        public FormParent()
        {
            InitializeComponent();
#if DEBUG
            var mdiChild = new FormArchive
            {
                MdiParent = this,
                ArchiveFile = new FileInfo(@"D:\Organization\Games\Delta Force 2\Game\Df2.pff")
            };
            mdiChild.Show();
#endif
        }