private void Design_for_Form_Questions()
        {
            BackgroundImage = Design.Background;

            Design.Design_for_button(button_create);
            Design.Design_for_button(button_back);
            Design.Design_for_button(button_next);
            Design.Design_for_button(button_left);
            Design.Design_for_button(button_right);

            button_add_answer.BackgroundImage    = Design.Background_button_add;
            button_remove_answer.BackgroundImage = Design.Background_button_remove;

            Design.Design_for_label(CoQ_label);
            Design.Design_for_label(CA_label);
            Design.Design_for_label(Q_label);

            Design.Design_for_textbox(CoQ_textbox);


            Q_label.Font         = new Font("Arial", 24F);
            CoQ_textbox.Location = new Point(CoQ_label.Location.X + 15 + CoQ_label.Width, CoQ_label.Location.Y);
            button_create.Width  = CoQ_textbox.Location.X + CoQ_textbox.Width - CoQ_label.Location.X;
            Hide_O();
        }
        private void Design_for_Form_Scales()
        {
            BackgroundImage = Design.Background;

            Design.Design_for_button(button_create);
            Design.Design_for_button(button_back);
            Design.Design_for_button(button_next);
            Design.Design_for_button(button_left);
            Design.Design_for_button(button_right);

            Design.Design_for_label(CoScale_label);
            Design.Design_for_label(Scale_label);

            Design.Design_for_label(if_label);
            Design.Design_for_label(name_Scale_label);
            Design.Design_for_label(description_label);

            Design.Design_for_textbox(CoScale_textbox);
            Design.Design_for_textbox(if_textBox);
            Design.Design_for_textbox(name_Scale_textBox);
            Design.Design_for_textbox(description_textBox);

            Scale_label.Font         = new Font("Arial", 24F);
            CoScale_textbox.Location = new Point(CoScale_label.Location.X + 15 + CoScale_label.Width, CoScale_label.Location.Y);
            button_create.Width      = CoScale_textbox.Location.X + CoScale_textbox.Width - CoScale_label.Location.X;
            Hide_Scale();
        }
Exemple #3
0
        private void Design_for_Form_Fuzzy_sets()
        {
            BackgroundImage = Design.Background;

            Design.Design_for_button(button_create);
            Design.Design_for_button(button_back);
            Design.Design_for_button(button_next);
            Design.Design_for_button(button_left);
            Design.Design_for_button(button_right);
            Design.Design_for_button(button_Show);

            Design.Design_for_label(CoFuzzy_sets_label);
            Design.Design_for_label(Fuzzy_sets_label);
            Design.Design_for_label(C_Function_label);
            Design.Design_for_label(label_left_line);
            Design.Design_for_label(label_right_line);
            Design.Design_for_label(label_Fuzzy_set_name);

            button_add_function.BackgroundImage    = Design.Background_button_add;
            button_remove_function.BackgroundImage = Design.Background_button_remove;

            Design.Design_for_textbox(CoFuzzy_sets_textBox);
            Design.Design_for_textbox(textBox_fuzzy_set_name);

            Fuzzy_sets_label.Font         = new Font("Arial", 24F);
            CoFuzzy_sets_textBox.Location = new Point(CoFuzzy_sets_label.Location.X + 15 + CoFuzzy_sets_label.Width, CoFuzzy_sets_label.Location.Y);
            button_create.Width           = CoFuzzy_sets_textBox.Location.X + CoFuzzy_sets_textBox.Width - CoFuzzy_sets_label.Location.X;
            Hide_O();
        }
        private void Create_Scale(Test TEST)
        {
            Scale_label.Text = $"{Convert.ToString(Scale_number + 1)} / {Convert.ToString(TEST._Scales.Count)}";

            Design.Design_for_textbox(name_Scale_textBox);
            Design.Design_for_textbox(description_textBox);

            if_textBox.Text          = TEST._Scales[Scale_number].If_scale;
            name_Scale_textBox.Text  = TEST._Scales[Scale_number].Name_scale;
            description_textBox.Text = TEST._Scales[Scale_number].Manifestation;

            Resize();
            Show_Scale();
        }