예제 #1
0
        //public SkaliranjeWindowViewModel skal { get; set; }

        //inicijalizacija objekata

        public SkaliranjeWindowViewModel()
        {
            putanja = Environment.CurrentDirectory.Substring(0, (Environment.CurrentDirectory.Length - 10)) + "\\Slika\\ssss.jpg";

            radioButtonClickCommand = new Commands.ParameterLessCommand(radioButtonClick);
            skalirajCommand         = new Commands.ParameterLessCommand(skalirajButtonCklick);

            Check          = new Skaliranje.SkaliranjeModels.RadioCheckSkaliranje();
            TxBxPopuna     = new Skaliranje.SkaliranjeModels.RadioButtonTextBoxPopuna();
            TxBxPopunaStat = new SkaliranjeModels.RadioButtonTextBoxPopuna();

            PrikazKoeficijenata     = new SkaliranjeModels.SkaliranjeKoeficijenti();
            PrikazKoeficijenataStat = new SkaliranjeModels.SkaliranjeKoeficijenti();
            visabilityStat          = new SkaliranjeModels.GridsVisability();
            visability = new SkaliranjeModels.GridsVisability();
            visability = visabilityStat;
            ZatvoriSkaliranjeCommand = new ParameterLessCommand(zatvoriSkaliranjeClick);
        }
예제 #2
0
        public void resetujSklairanje()
        {
            visabilityStat = new SkaliranjeModels.GridsVisability();
            visabilityStat.postaviVisability0();
            visability       = visabilityStat;
            Check.Check6     = false;
            CheckStat.Check6 = false;
            Check.Check7     = false;
            CheckStat.Check7 = false;
            Check.Check8     = false;
            CheckStat.Check8 = false;
            Check.Check9     = false;
            CheckStat.Check9 = false;



            TxBxPopuna     = new Skaliranje.SkaliranjeModels.RadioButtonTextBoxPopuna();
            TxBxPopunaStat = new SkaliranjeModels.RadioButtonTextBoxPopuna();

            PrikazKoeficijenata     = new SkaliranjeModels.SkaliranjeKoeficijenti();
            PrikazKoeficijenataStat = new SkaliranjeModels.SkaliranjeKoeficijenti();
        }