SetData() public method

public SetData ( Data data ) : void
data Data
return void
Example #1
0
    void OnROMChecksumsActionActivated(object sender, System.EventArgs e)
    {
        // sharing internal FileStream won't work, could use another one though
        if (!data.RomLoaded)
            return;

        // Use a Window (not Dialog) to allow working in main window with new window still open.
        // Also supports multiple monitors.
        var d = new ChecksumWindow ();
        d.SetData (data);
        d.Show ();
    }