예제 #1
0
        public pCreate()
        {
            InitializeComponent();
            string test = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);

            fileTb.Text = test;
            pcreate     = this;
        }
예제 #2
0
        //opens new project menu and set its theme to the mainwindow theme
        private void newProj_Click(object sender, RoutedEventArgs e)
        {
            var newWin = new pCreate();

            newWin.ShowDialog();

            newWin.set(Theme.curTheme);
        }