SessionLoadWindow.DisableImportToCurrentSession C# (CSharp) Method

DisableImportToCurrentSession() public method

public DisableImportToCurrentSession ( ) : void
return void
    public void DisableImportToCurrentSession()
    {
        radio_import_new_session.Active = true;
        radio_import_current_session.Sensitive = false;
    }

Usage Example

Ejemplo n.º 1
0
    private void on_button_encoder_import_chronojump_session(object o, EventArgs args)
    {
        sessionLoadWin = SessionLoadWindow.Show (app1, SessionLoadWindow.WindowType.IMPORT_SESSION);

        if (currentSession == null) {
            sessionLoadWin.DisableImportToCurrentSession ();
        }

        sessionLoadWin.Button_accept.Clicked += new EventHandler(on_load_session_accepted_to_import);
    }