Example #1
0
        public LayerPropertiesDialog()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.Icon = Utility.ImageToIcon(PdnResources.GetImage("Icons.MenuLayersLayerPropertiesIcon.png"), Color.FromArgb(192, 192, 192));

            this.Text = PdnResources.GetString("LayerPropertiesDialog.Text");
            this.visibleCheckBox.Text = PdnResources.GetString("LayerPropertiesDialog.VisibleCheckBox.Text");
            this.nameLabel.Text       = PdnResources.GetString("LayerPropertiesDialog.NameLabel.Text");
            this.generalHeader.Text   = PdnResources.GetString("LayerPropertiesDialog.GeneralHeader.Text");
            this.cancelButton.Text    = PdnResources.GetString("Form.CancelButton.Text");
            this.okButton.Text        = PdnResources.GetString("Form.OkButton.Text");
        }
Example #2
0
 protected override Image Load()
 {
     return(PdnResources.GetImage(this.name));
 }