public ContentEditor()
        {
            InitializeComponent();

            // Take up 60% of the screen vertically and horizontally.
            Height = (System.Windows.SystemParameters.PrimaryScreenHeight * 0.6);
            Width  = (System.Windows.SystemParameters.PrimaryScreenWidth * 0.6);

            ifi = (IgnoreFileInfo)App.Current.Properties["IgnoreFile"];

            // Set the editor's starting text to the default ignored Unreal files and folders.
            Editor.Text = ifi.Text;
        }
 public MainWindow()
 {
     InitializeComponent();
     ifi = (IgnoreFileInfo)App.Current.Properties["IgnoreFile"];
 }
Beispiel #3
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            Properties["IgnoreFile"] = new IgnoreFileInfo(p4ignoreinstaller.Properties.Resources.DefaultIgnoreFile);
        }