EvaluatorWindow.EvaluatorWindow C# (CSharp) Method

EvaluatorWindow() public method

public EvaluatorWindow ( ServerEvaluator, eval ) : System
eval ServerEvaluator,
return System
    public EvaluatorWindow(ServerEvaluator eval)
    {
        //Setup (text, table, uniqueID);
        Glade.XML gladeXML;
        gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "evaluator_window.glade", "evaluator_window", "chronojump");
        gladeXML.Autoconnect(this);

        //put an icon to window
        UtilGtk.IconWindow(evaluator_window);

        fakeButtonAccept = new Gtk.Button();

        this.eval = eval;

        if(eval.UniqueID == -1)
            creating = true;

        //copy to see if there are changes
        evalBefore = new ServerEvaluator(eval);

        createComboContinents();
        createComboCountries();

        putNonStandardIcons();

        entry_cp_other.Sensitive = false;
    }