Example #1
0
        public MainWindow()
        {
            InitializeComponent();

            DataContext = this;

            properties_obj_           = new TexturePropertyTypes();
            properties_obj_.Stops     = 0;
            properties_obj_.Zoom      = "1 x";
            properties.SelectedObject = properties_obj_;

            save.IsEnabled       = false;
            save_as.IsEnabled    = false;
            r_channel.IsEnabled  = false;
            g_channel.IsEnabled  = false;
            b_channel.IsEnabled  = false;
            a_channel.IsEnabled  = false;
            properties.IsEnabled = false;

            Uri iconUri = new Uri("pack://application:,,,/Images/klayge_logo.ico", UriKind.RelativeOrAbsolute);

            this.Icon = BitmapFrame.Create(iconUri);
        }
Example #2
0
        public MainWindow()
        {
            InitializeComponent();

            DataContext = this;

            properties_obj_ = new TexturePropertyTypes();
            properties_obj_.Stops = 0;
            properties_obj_.Zoom = "1 x";
            properties.SelectedObject = properties_obj_;

            save.IsEnabled = false;
            save_as.IsEnabled = false;
            r_channel.IsEnabled = false;
            g_channel.IsEnabled = false;
            b_channel.IsEnabled = false;
            a_channel.IsEnabled = false;
            properties.IsEnabled = false;

            Uri iconUri = new Uri("pack://application:,,,/Images/klayge_logo.ico", UriKind.RelativeOrAbsolute);
            this.Icon = BitmapFrame.Create(iconUri);
        }