EditEventWindow.initializeValues C# (CSharp) Method

initializeValues() protected method

protected initializeValues ( ) : void
return void
    protected virtual void initializeValues()
    {
        typeOfTest = Constants.TestTypes.JUMP;
        showType = true;
        showRunStart = false;
        showTv = true;
        showTc = true;
        showFall = true;
        showDistance = true;
        distanceCanBeDecimal = true;
        showTime = true;
        showSpeed = true;
        showWeight = true;
        showLimited = true;
        showAngle = true;
        showMistakes = false;

        label_simulated.Hide();
    }

Usage Example

Exemplo n.º 1
0
    static public EditEventWindow Show(Gtk.Window parent, Event myEvent, int pDN)
    //run win have also metersSecondsPreferred
    {
        if (EditEventWindowBox == null)
        {
            EditEventWindowBox = new EditEventWindow(parent);
        }

        EditEventWindowBox.pDN = pDN;

        EditEventWindowBox.initializeValues();

        EditEventWindowBox.fillDialog(myEvent);

        EditEventWindowBox.edit_event.Show();

        return(EditEventWindowBox);
    }