Форум программистов, компьютерный форум, киберфорум
C++/CLI Windows Forms
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
0 / 0 / 0
Регистрация: 17.04.2014
Сообщений: 23

Калькулятор выводит не то, что должен выводить

17.04.2014, 23:32. Показов 559. Ответов 0
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Сделал калькулятор. но в нём есть недочеты. например при вводе примера 4.1+6 программа выводит на 10.1, А 10.009 и так далее, и при кодировании десятичных чисел в восьмеричные, числа типа 10.1 не переводяться, программа выводит ошибку. Помогите решить мне данные проблемы. вот код:

C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
#pragma once
 
 
namespace Calculator {
    using namespace System;
    using namespace System::ComponentModel;
    using namespace System::Collections;
    using namespace System::Windows::Forms;
    using namespace System::Data;
    using namespace System::Drawing;
 
    /// <summary>
    /// Сводка для Form1
    ///
    /// Внимание! При изменении имени этого класса необходимо также изменить
    ///          свойство имени файла ресурсов ("Resource File Name") для средства компиляции управляемого ресурса,
    ///          связанного со всеми файлами с расширением .resx, от которых зависит данный класс. В противном случае,
    ///          конструкторы не смогут правильно работать с локализованными
    ///          ресурсами, сопоставленными данной форме.
    /// </summary>
    public ref class Form1 : public System::Windows::Forms::Form
    {
    public:
        Form1(void)
        {
            InitializeComponent();
            //
            //TODO: добавьте код конструктора
            //
        }
 
    protected:
        /// <summary>
        /// Освободить все используемые ресурсы.
        /// </summary>
        ~Form1()
        {
            if (components)
            {
                delete components;
            }
        }
    private:
float arg1; // первый аргумент
int oper; // код операции
    private: System::Windows::Forms::TextBox^  ResultBox;
 
    protected: 
    private: System::Windows::Forms::Button^  button1;
    private: System::Windows::Forms::Button^  button2;
    private: System::Windows::Forms::Button^  button3;
    private: System::Windows::Forms::Button^  button4;
    private: System::Windows::Forms::Button^  button5;
    private: System::Windows::Forms::Button^  button6;
    private: System::Windows::Forms::Button^  button7;
    private: System::Windows::Forms::Button^  button8;
    private: System::Windows::Forms::Button^  button9;
    private: System::Windows::Forms::Button^  button10;
    private: System::Windows::Forms::Button^  button11;
    private: System::Windows::Forms::Button^  button12;
    private: System::Windows::Forms::Button^  button13;
    private: System::Windows::Forms::Button^  button14;
    private: System::Windows::Forms::Button^  button15;
    private: System::Windows::Forms::CheckBox^  checkBox1;
    private: System::Windows::Forms::MenuStrip^  menuStrip1;
    private: System::Windows::Forms::ToolStripMenuItem^  видToolStripMenuItem;
    private: System::Windows::Forms::ToolStripMenuItem^  правкаToolStripMenuItem;
    private: System::Windows::Forms::ToolStripMenuItem^  справкаToolStripMenuItem;
    private: System::Windows::Forms::Button^  button16;
    private: System::Windows::Forms::Button^  button17;
 
    private:
        /// <summary>
        /// Требуется переменная конструктора.
        /// </summary>
        System::ComponentModel::Container ^components;
 
#pragma region Windows Form Designer generated code
        /// <summary>
        /// Обязательный метод для поддержки конструктора - не изменяйте
        /// содержимое данного метода при помощи редактора кода.
        /// </summary>
        void InitializeComponent(void)
        {
            System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
            this->ResultBox = (gcnew System::Windows::Forms::TextBox());
            this->button1 = (gcnew System::Windows::Forms::Button());
            this->button2 = (gcnew System::Windows::Forms::Button());
            this->button3 = (gcnew System::Windows::Forms::Button());
            this->button4 = (gcnew System::Windows::Forms::Button());
            this->button5 = (gcnew System::Windows::Forms::Button());
            this->button6 = (gcnew System::Windows::Forms::Button());
            this->button7 = (gcnew System::Windows::Forms::Button());
            this->button8 = (gcnew System::Windows::Forms::Button());
            this->button9 = (gcnew System::Windows::Forms::Button());
            this->button10 = (gcnew System::Windows::Forms::Button());
            this->button11 = (gcnew System::Windows::Forms::Button());
            this->button12 = (gcnew System::Windows::Forms::Button());
            this->button13 = (gcnew System::Windows::Forms::Button());
            this->button14 = (gcnew System::Windows::Forms::Button());
            this->button15 = (gcnew System::Windows::Forms::Button());
            this->checkBox1 = (gcnew System::Windows::Forms::CheckBox());
            this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());
            this->видToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
            this->правкаToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
            this->справкаToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
            this->button16 = (gcnew System::Windows::Forms::Button());
            this->button17 = (gcnew System::Windows::Forms::Button());
            this->menuStrip1->SuspendLayout();
            this->SuspendLayout();
            // 
            // ResultBox
            // 
            this->ResultBox->Location = System::Drawing::Point(13, 29);
            this->ResultBox->Name = L"ResultBox";
            this->ResultBox->Size = System::Drawing::Size(202, 20);
            this->ResultBox->TabIndex = 0;
            this->ResultBox->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
            this->ResultBox->TextChanged += gcnew System::EventHandler(this, &Form1::textBox1_TextChanged);
            // 
            // button1
            // 
            this->button1->Location = System::Drawing::Point(13, 229);
            this->button1->Name = L"button1";
            this->button1->Size = System::Drawing::Size(44, 36);
            this->button1->TabIndex = 1;
            this->button1->Text = L"0";
            this->button1->UseVisualStyleBackColor = true;
            this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
            // 
            // button2
            // 
            this->button2->Location = System::Drawing::Point(13, 187);
            this->button2->Name = L"button2";
            this->button2->Size = System::Drawing::Size(44, 36);
            this->button2->TabIndex = 2;
            this->button2->Text = L"1";
            this->button2->UseVisualStyleBackColor = true;
            this->button2->Click += gcnew System::EventHandler(this, &Form1::button2_Click);
            // 
            // button3
            // 
            this->button3->Location = System::Drawing::Point(113, 229);
            this->button3->Name = L"button3";
            this->button3->Size = System::Drawing::Size(44, 36);
            this->button3->TabIndex = 3;
            this->button3->Text = L",";
            this->button3->UseVisualStyleBackColor = true;
            this->button3->Click += gcnew System::EventHandler(this, &Form1::button3_Click);
            // 
            // button4
            // 
            this->button4->Location = System::Drawing::Point(63, 187);
            this->button4->Name = L"button4";
            this->button4->Size = System::Drawing::Size(44, 36);
            this->button4->TabIndex = 4;
            this->button4->Text = L"2";
            this->button4->UseVisualStyleBackColor = true;
            this->button4->Click += gcnew System::EventHandler(this, &Form1::button4_Click);
            // 
            // button5
            // 
            this->button5->Location = System::Drawing::Point(113, 187);
            this->button5->Name = L"button5";
            this->button5->Size = System::Drawing::Size(44, 36);
            this->button5->TabIndex = 5;
            this->button5->Text = L"3";
            this->button5->UseVisualStyleBackColor = true;
            this->button5->Click += gcnew System::EventHandler(this, &Form1::button5_Click);
            // 
            // button6
            // 
            this->button6->Location = System::Drawing::Point(13, 145);
            this->button6->Name = L"button6";
            this->button6->Size = System::Drawing::Size(44, 36);
            this->button6->TabIndex = 6;
            this->button6->Text = L"4";
            this->button6->UseVisualStyleBackColor = true;
            this->button6->Click += gcnew System::EventHandler(this, &Form1::button6_Click);
            // 
            // button7
            // 
            this->button7->Location = System::Drawing::Point(63, 145);
            this->button7->Name = L"button7";
            this->button7->Size = System::Drawing::Size(44, 36);
            this->button7->TabIndex = 7;
            this->button7->Text = L"5";
            this->button7->UseVisualStyleBackColor = true;
            this->button7->Click += gcnew System::EventHandler(this, &Form1::button7_Click);
            // 
            // button8
            // 
            this->button8->Location = System::Drawing::Point(113, 145);
            this->button8->Name = L"button8";
            this->button8->Size = System::Drawing::Size(44, 36);
            this->button8->TabIndex = 8;
            this->button8->Text = L"6";
            this->button8->UseVisualStyleBackColor = true;
            this->button8->Click += gcnew System::EventHandler(this, &Form1::button8_Click);
            // 
            // button9
            // 
            this->button9->Location = System::Drawing::Point(12, 103);
            this->button9->Name = L"button9";
            this->button9->Size = System::Drawing::Size(44, 36);
            this->button9->TabIndex = 9;
            this->button9->Text = L"7";
            this->button9->UseVisualStyleBackColor = true;
            this->button9->Click += gcnew System::EventHandler(this, &Form1::button9_Click);
            // 
            // button10
            // 
            this->button10->Location = System::Drawing::Point(62, 103);
            this->button10->Name = L"button10";
            this->button10->Size = System::Drawing::Size(44, 36);
            this->button10->TabIndex = 10;
            this->button10->Text = L"8";
            this->button10->UseVisualStyleBackColor = true;
            this->button10->Click += gcnew System::EventHandler(this, &Form1::button10_Click);
            // 
            // button11
            // 
            this->button11->Location = System::Drawing::Point(112, 103);
            this->button11->Name = L"button11";
            this->button11->Size = System::Drawing::Size(44, 36);
            this->button11->TabIndex = 11;
            this->button11->Text = L"9";
            this->button11->UseVisualStyleBackColor = true;
            this->button11->Click += gcnew System::EventHandler(this, &Form1::button11_Click);
            // 
            // button12
            // 
            this->button12->Location = System::Drawing::Point(236, 145);
            this->button12->Name = L"button12";
            this->button12->Size = System::Drawing::Size(44, 120);
            this->button12->TabIndex = 12;
            this->button12->Text = L"=";
            this->button12->UseVisualStyleBackColor = true;
            this->button12->Click += gcnew System::EventHandler(this, &Form1::button12_Click);
            // 
            // button13
            // 
            this->button13->Location = System::Drawing::Point(186, 187);
            this->button13->Name = L"button13";
            this->button13->Size = System::Drawing::Size(44, 36);
            this->button13->TabIndex = 13;
            this->button13->Text = L"+";
            this->button13->UseVisualStyleBackColor = true;
            this->button13->Click += gcnew System::EventHandler(this, &Form1::button13_Click);
            // 
            // button14
            // 
            this->button14->Location = System::Drawing::Point(186, 229);
            this->button14->Name = L"button14";
            this->button14->Size = System::Drawing::Size(44, 36);
            this->button14->TabIndex = 14;
            this->button14->Text = L"-";
            this->button14->UseVisualStyleBackColor = true;
            this->button14->Click += gcnew System::EventHandler(this, &Form1::button14_Click);
            // 
            // button15
            // 
            this->button15->Location = System::Drawing::Point(236, 103);
            this->button15->Name = L"button15";
            this->button15->Size = System::Drawing::Size(44, 36);
            this->button15->TabIndex = 15;
            this->button15->Text = L"С";
            this->button15->UseVisualStyleBackColor = true;
            this->button15->Click += gcnew System::EventHandler(this, &Form1::button15_Click);
            // 
            // checkBox1
            // 
            this->checkBox1->AutoSize = true;
            this->checkBox1->Location = System::Drawing::Point(186, 66);
            this->checkBox1->Name = L"checkBox1";
            this->checkBox1->Size = System::Drawing::Size(134, 17);
            this->checkBox1->TabIndex = 16;
            this->checkBox1->Text = L"Восьмеричные числа";
            this->checkBox1->UseVisualStyleBackColor = true;
            this->checkBox1->CheckedChanged += gcnew System::EventHandler(this, &Form1::checkBox1_CheckedChanged);
            // 
            // menuStrip1
            // 
            this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(3) {this->видToolStripMenuItem, 
                this->правкаToolStripMenuItem, this->справкаToolStripMenuItem});
            this->menuStrip1->Location = System::Drawing::Point(0, 0);
            this->menuStrip1->Name = L"menuStrip1";
            this->menuStrip1->Size = System::Drawing::Size(325, 24);
            this->menuStrip1->TabIndex = 17;
            this->menuStrip1->Text = L"menuStrip1";
            // 
            // видToolStripMenuItem
            // 
            this->видToolStripMenuItem->Name = L"видToolStripMenuItem";
            this->видToolStripMenuItem->Size = System::Drawing::Size(39, 20);
            this->видToolStripMenuItem->Text = L"Вид";
            // 
            // правкаToolStripMenuItem
            // 
            this->правкаToolStripMenuItem->Name = L"правкаToolStripMenuItem";
            this->правкаToolStripMenuItem->Size = System::Drawing::Size(58, 20);
            this->правкаToolStripMenuItem->Text = L"Правка";
            // 
            // справкаToolStripMenuItem
            // 
            this->справкаToolStripMenuItem->Name = L"справкаToolStripMenuItem";
            this->справкаToolStripMenuItem->Size = System::Drawing::Size(64, 20);
            this->справкаToolStripMenuItem->Text = L"Справка";
            // 
            // button16
            // 
            this->button16->Location = System::Drawing::Point(186, 145);
            this->button16->Name = L"button16";
            this->button16->Size = System::Drawing::Size(44, 36);
            this->button16->TabIndex = 18;
            this->button16->Text = L"*";
            this->button16->UseVisualStyleBackColor = true;
            this->button16->Click += gcnew System::EventHandler(this, &Form1::button16_Click);
            // 
            // button17
            // 
            this->button17->Location = System::Drawing::Point(186, 103);
            this->button17->Name = L"button17";
            this->button17->Size = System::Drawing::Size(44, 36);
            this->button17->TabIndex = 19;
            this->button17->Text = L"/";
            this->button17->UseVisualStyleBackColor = true;
            this->button17->Click += gcnew System::EventHandler(this, &Form1::button17_Click);
            // 
            // Form1
            // 
            this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
            this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
            this->ClientSize = System::Drawing::Size(325, 286);
            this->Controls->Add(this->button17);
            this->Controls->Add(this->button16);
            this->Controls->Add(this->checkBox1);
            this->Controls->Add(this->button15);
            this->Controls->Add(this->button14);
            this->Controls->Add(this->button13);
            this->Controls->Add(this->button12);
            this->Controls->Add(this->button11);
            this->Controls->Add(this->button10);
            this->Controls->Add(this->button9);
            this->Controls->Add(this->button8);
            this->Controls->Add(this->button7);
            this->Controls->Add(this->button6);
            this->Controls->Add(this->button5);
            this->Controls->Add(this->button4);
            this->Controls->Add(this->button3);
            this->Controls->Add(this->button2);
            this->Controls->Add(this->button1);
            this->Controls->Add(this->ResultBox);
            this->Controls->Add(this->menuStrip1);
            this->Icon = (cli::safe_cast<System::Drawing::Icon^  >(resources->GetObject(L"$this.Icon")));
            this->MainMenuStrip = this->menuStrip1;
            this->MaximizeBox = false;
            this->MinimizeBox = false;
            this->Name = L"Form1";
            this->Text = L"Form1";
            this->menuStrip1->ResumeLayout(false);
            this->menuStrip1->PerformLayout();
            this->ResumeLayout(false);
            this->PerformLayout();
 
        }
#pragma endregion
    private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {
             ResultBox->Text = ResultBox->Text + ",";}
private: System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {
         ResultBox->Text = ResultBox->Text + "2";}
private: System::Void button11_Click(System::Object^  sender, System::EventArgs^  e) {
         ResultBox->Text = ResultBox->Text + "9";}
private: System::Void textBox1_TextChanged(System::Object^  sender, System::EventArgs^  e) {
         }
private: System::Void button15_Click(System::Object^  sender, System::EventArgs^  e) {
        ResultBox->Text = ""; }
private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
         ResultBox->Text = ResultBox->Text + "0";}
private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {
         ResultBox->Text = ResultBox->Text + "1";}
private: System::Void button5_Click(System::Object^  sender, System::EventArgs^  e) {
         ResultBox->Text = ResultBox->Text + "3";}
private: System::Void button6_Click(System::Object^  sender, System::EventArgs^  e) {
         ResultBox->Text = ResultBox->Text + "4";}
private: System::Void button7_Click(System::Object^  sender, System::EventArgs^  e) {
         ResultBox->Text = ResultBox->Text + "5";}
private: System::Void button8_Click(System::Object^  sender, System::EventArgs^  e) {
         ResultBox->Text = ResultBox->Text + "6";}
private: System::Void button9_Click(System::Object^  sender, System::EventArgs^  e) {
         ResultBox->Text = ResultBox->Text + "7";}
private: System::Void button10_Click(System::Object^  sender, System::EventArgs^  e) {
         ResultBox->Text = ResultBox->Text + "8";}
private: System::Void button13_Click(System::Object^  sender, System::EventArgs^  e) {
         // запоминаем в переменной значение первого аргумента
arg1 = System::Convert::ToDouble(ResultBox->Text);
// очищаем поле ввода/вывода
ResultBox->Text = "";
// запоминаем код операции
oper = 0;}
         private: System::Void checkBox1_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
        if (checkBox1->Checked==true)
             {
                int n = Convert::ToInt32(ResultBox->Text);
                 ResultBox->Text=Convert::ToString(n,8);
             }
            if (checkBox1->Checked==false)
             {
                int n = Convert::ToInt32(ResultBox->Text,8);
                ResultBox->Text=Convert::ToString(n);
 
}
}
 
private: System::Void button12_Click(System::Object^  sender, System::EventArgs^  e) {
        switch (oper)
{ case 0:
ResultBox->Text =
System::Convert::ToString(System::Convert::ToDouble(System::Convert::ToInt64((arg1+0.05+System::Convert::ToDouble(ResultBox->Text))*10))/10);
break;
case 1:
ResultBox->Text =
System::Convert::ToString(arg1 -
System::Convert::ToDouble(ResultBox->Text));
break;
case 2:
ResultBox->Text =
System::Convert::ToString(arg1 *
System::Convert::ToDouble(ResultBox->Text));
break;
case 3:
ResultBox->Text =
System::Convert::ToString(arg1 /System::Convert::ToDouble(ResultBox->Text)); break;
}
         }private: System::Void button14_Click(System::Object^  sender, System::EventArgs^  e) {
// запоминаем в переменной значение первого аргумента
arg1 = System::Convert::ToDouble(ResultBox->Text);
// очищаем поле ввода/вывода
ResultBox->Text = "";
// запоминаем код операции
oper = 1;}
private: System::Void button16_Click(System::Object^  sender, System::EventArgs^  e) {
         // запоминаем в переменной значение первого аргумента
arg1 = System::Convert::ToDouble(ResultBox->Text);
// очищаем поле ввода/вывода
ResultBox->Text = "";
// запоминаем код операции
oper = 2;}
private: System::Void button17_Click(System::Object^  sender, System::EventArgs^  e) {
         // запоминаем в переменной значение первого аргумента
arg1 = System::Convert::ToDouble(ResultBox->Text);
// очищаем поле ввода/вывода
ResultBox->Text = "";
// запоминаем код операции
oper = 3;}
};
0
IT_Exp
Эксперт
34794 / 4073 / 2104
Регистрация: 17.06.2006
Сообщений: 32,602
Блог
17.04.2014, 23:32
Ответы с готовыми решениями:

должен выводить список значений, но не выводит
procedure TForm1.btn1Click(Sender: TObject); var step,n,i,y,x:Real; begin i:=StrToFloat(edt1.text); n:=StrToFloat(edt3.text);...

Что должен выводить алгоритм Краскала?
Что должен выводить алгоритм Карскала?

Что должен выводить алгоритм при p=0?
сама задача- &quot;элементы матрицы, абсолютная величина которых больше заданного значения C, разделить на С.&quot; р-Счетчик элементов...

0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
BasicMan
Эксперт
29316 / 5623 / 2384
Регистрация: 17.02.2009
Сообщений: 30,364
Блог
17.04.2014, 23:32
Помогаю со студенческими работами здесь

Скрипт выводит не все, что должен
Помогите пожалуйста, я новичок и учу PHP по курсу (который кстати недавно скачал), и в этом курсе есть домашнее задание которое я никак...

У меня есть код на WinApi , который должен выводить "Hello world", но тут что то не так! помогте найти пожалуйста
#include &lt;windows.h&gt; HWND MainWindowHandle =0; bool InitWindowsApp(HINSTANCE instanceHandle, int show); int...

Процедура должна выводить сумму при вводе номера, но кроме суммы выводит еще что такого номера нет
procedure output; var nom:string; x:integer; begin reset(f); x:=0; writeln('Введите расчетный счет плательщика'); ...

Что должен уметь настоящий мужчина? Или каким он должен быть?
Девушки, вы часто задаетесь этим вопросом, и обычно ваши лозунги в данном направлении, мы мужская половина населения планеты - воспринимаем...

Помогите сделать задачу. ввести х с клавиатуры. Должен выводить у.
y=2x-7/10x+2, x&gt;=-1; sqrt(x+8), -10&lt;=x&lt;=-1; 3sin(0,5x), x&lt;=-10; Все три функция


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
1
Ответ Создать тему
Новые блоги и статьи
Очистка реквизитов документа при копировании
Maks 09.04.2026
Алгоритм из решения ниже применим как для типовых, так и для нетиповых документов на самых различных конфигурациях. Задача: при копировании документа очищать определенные реквизиты и табличную. . .
модель ЗдравоСохранения 8. Подготовка к разному выполнению заданий
anaschu 08.04.2026
https:/ / github. com/ shumilovas/ med2. git main ветка * содержимое блока дэлэй из старой модели теперь внутри зайца новой модели 8ATzM_2aurI
Блокировка документа от изменений, если он открыт у другого пользователя
Maks 08.04.2026
Алгоритм из решения ниже реализован на примере нетипового документа, разработанного в конфигурации КА2. Задача: запретить редактирование документа, если он открыт у другого пользователя. / / . . .
Система безопасности+живучести для сервера-слоя интернета (сети). Двойная привязка.
Hrethgir 08.04.2026
Далее были размышления о системе безопасности. Сообщения с наклонным текстом - мои. А как нам будет можно проверить, что ссылка наша, а не подделана хулиганами, которая выбросит на другую ветку и. . .
Модель ЗдрввоСохранения 7: больше работников, больше ресурсов.
anaschu 08.04.2026
работников и заданий может быть сколько угодно, но настроено всё так, что используется пока что только 20% kYBz3eJf3jQ
Дальние перспективы сервера - слоя сети с космологическим дизайном интефейса карты и логики.
Hrethgir 07.04.2026
Дальнейшее ближайшее планирование вывело к размышлениям над дальними перспективами. И вот тут может быть даже будут нужны оценки специалистов, так как в дальних перспективах всё может очень сильно. . .
Горе от ума
kumehtar 07.04.2026
Эта мне ментальная установка, что вот прямо сейчас, мол, мне для полного счастья не хватает (нужное вписать), и когда я этого достигну - тогда и полный кайф. Одна из самых сильных ловушек на пути. . . .
Использование значений реквизитов справочника в документе, с определенными условиями и правами
Maks 07.04.2026
1. Контроль срока действия договора Алгоритм из решения ниже реализован на примере нетипового документа "ЗаявкаНаРаботу", разработанного в конфигурации КА2. Задача: уведомлять пользователя, если. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru