示例#1
0
        private void grnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GrnView itemView = new GrnView();

            itemView.MdiParent = this;
            itemView.Show();
        }
示例#2
0
        private void SaveAsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GrnView itemView = new GrnView();

            itemView.MdiParent = this;
            itemView.Show();
            //SaveFileDialog saveFileDialog = new SaveFileDialog();
            //saveFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
            //saveFileDialog.Filter = "Text Files (*.txt)|*.txt|All Files (*.*)|*.*";
            //if (saveFileDialog.ShowDialog(this) == DialogResult.OK)
            //{
            //    string FileName = saveFileDialog.FileName;
            //}
        }