LoadResource() public method

public LoadResource ( string path ) : void
path string
return void
示例#1
0
        private void OnOpen(object sender, EventArgs e)
        {
            if (this.openResourceDialog.ShowDialog(this) != DialogResult.OK)
            {
                return;
            }

            foreach (var path in this.openResourceDialog.FileNames)
            {
                var editor = new ResourceViewer(this);
                editor.LoadResource(path);
                editor.Show();
            }
        }
示例#2
0
        private void OnOpen(object sender, EventArgs e)
        {
            if (this.openResourceDialog.ShowDialog(this) != DialogResult.OK)
            {
                return;
            }

            foreach (var path in this.openResourceDialog.FileNames)
            {
                var editor = new ResourceViewer(this);
                editor.LoadResource(path);
                editor.Show();
            }
        }