Files
2025-10-09 09:57:24 +09:00

3820 lines
154 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using System.Windows.Forms.Layout;
using AForge.Imaging.Filters;
using VideoReader.Properties;
namespace VideoReader;
public class Form1 : Form
{
private class Win32
{
[DllImport("kernel32.dll")]
public static extern bool AllocConsole();
[DllImport("kernel32.dll")]
public static extern bool FreeConsole();
}
private Form2 RealTimeForm;
private int batt;
private string guid = Guid.NewGuid().ToString();
public static ConcurrentQueue<double> t_Frame = new ConcurrentQueue<double>();
public static ConcurrentQueue<string> forListing = new ConcurrentQueue<string>();
private bool stepping = true;
private int playstepping;
private long numberCurr;
private long numberOld;
private long startFrame;
private InOutSocket socket;
private static ConcurrentDictionary<uint, byte[]> video = new ConcurrentDictionary<uint, byte[]>();
private DateTime start = DateTime.Now;
private DateTime timeFrame = DateTime.Now;
private string SerialNumberPhone = "";
private string PhoneSerialNumber = "";
private Decoder decode;
private Size img_size = new Size(0, 0);
private DateTime start_status = DateTime.Now;
private DateTime clear_status = DateTime.Now;
private object syncOS = new object();
private DateTime time_for_speek = DateTime.Now;
private long list_add_time = DateTime.Now.Ticks;
private bool setAutomate;
private List<string> listCamResol = new List<string>();
private static string hard = "";
private static readonly string[] extResol = new string[98]
{
"kirin980:4:176:144", "kirin980:4:208:144", "kirin980:4:352:288", "kirin980:4:736:412", "kirin980:4:720:720", "kirin980:4:1440:720", "kirin980:4:1456:1456", "kirin980:4:1440:1080", "kirin980:4:1456:1456", "kirin980:4:1440:1080",
"kirin980:4:3840:2160", "kirin980:4:2448:2448", "kirin980:4:2448:2448", "kirin980:4:3840:2160", "kirin980:4:3264:2448", "kirin980:3:176:144", "kirin980:3:208:144", "kirin980:3:352:288", "kirin980:3:400:400", "kirin980:3:480:360",
"kirin980:3:544:408", "kirin980:3:736:412", "kirin980:3:720:540", "kirin980:3:720:720", "kirin980:3:1248:1080", "kirin980:3:1440:720", "kirin980:3:1680:720", "kirin980:3:1456:1456", "kirin980:3:1440:1080", "kirin980:3:2336:1080",
"kirin980:3:2592:1952", "kirin980:3:2592:1952", "kirin980:3:2448:2448", "kirin980:3:3264:2448", "kirin980:3:3280:2448", "kirin980:3:2736:2736", "kirin980:3:3648:2736", "kirin980:3:3840:3840", "kirin980:3:5120:2368", "kirin980:3:5120:2448",
"kirin980:3:5120:3840", "kirin980:2:176:144", "kirin980:2:208:144", "kirin980:2:352:288", "kirin980:2:400:400", "kirin980:2:480:360", "kirin980:2:544:408", "kirin980:2:736:412", "kirin980:2:720:540", "kirin980:2:720:720",
"kirin980:2:1440:720", "kirin980:2:1456:1456", "kirin980:2:1440:1080", "kirin980:2:1552:720", "kirin980:2:1456:1456", "kirin980:2:1440:1080", "kirin980:2:2592:1952", "kirin980:2:2448:2448", "kirin980:2:2736:2736", "kirin980:2:3264:2448",
"kirin980:2:3280:2448", "kirin980:2:3648:2736", "kirin980:2:3840:2160", "kirin980:1:176:144", "kirin980:1:208:144", "kirin980:1:352:288", "kirin980:1:720:720", "kirin980:1:1440:720", "kirin980:1:1440:1080", "kirin980:1:1552:720",
"kirin980:1:2336:1080", "kirin980:1:2160:1080", "kirin980:1:3264:2448", "kirin980:0:3648:2736", "kirin980:0:176:144", "kirin980:0:208:144", "kirin980:0:352:288", "kirin980:0:400:400", "kirin980:0:480:360", "kirin980:0:544:408",
"kirin980:0:736:412", "kirin980:0:720:540", "kirin980:0:720:720", "kirin980:0:1440:720", "kirin980:0:1680:720", "kirin980:0:1456:1456", "kirin980:0:1440:1080", "kirin980:0:1552:720", "kirin980:0:2592:1952", "kirin980:0:2592:1952",
"kirin980:0:2448:2448", "kirin980:0:2736:2736", "kirin980:0:3008:2256", "kirin980:0:3840:2160", "kirin980:0:3120:2340", "kirin980:0:3264:2448", "kirin980:0:2336:1080", "kirin980:0:3280:2448"
};
private DateTime update = DateTime.Now;
private Point MousePosition = new Point(0, 0);
private bool test;
private ConcurrentQueue<int> inp_byte = new ConcurrentQueue<int>();
private ConcurrentQueue<int> out_byte = new ConcurrentQueue<int>();
private DateTime start_test;
private DateTime thisDate;
private DateTime buildDate;
private IContainer components;
private ContextMenuStrip contextMenuStrip1;
private Timer timer1;
private ListBox listBox1;
private UCPictureBox FrontVideo;
private TabControl tabControl1;
private TabPage tabPage1;
private TabPage tabPage2;
private WebBrowser webBrowser1;
private Panel panel4;
private Label label5;
private Panel panel5;
private Panel panel6;
private TabPage tabPage3;
private PictureBox pictureBox5;
private Button button1;
private LinkLabel linkLabel1;
private Button button2;
private Label label7;
private SplitContainer splitContainer1;
private FlowLayoutPanel panel7;
private TableLayoutPanel tableLayoutPanel1;
private PictureBox pContrast;
private PictureBox pBright;
public ComboBox BitRateBox;
private TrackBar Exposure;
private TrackBar Zoom;
private TrackBar Focuse;
private TrackBar Contrast;
private TrackBar Brightness;
private Panel panel3;
private ComboBox comboBox1;
private Panel panel_chenal;
private MaskedTextBox chenal;
private Label label1;
private CheckBox checkBox_saveVideo;
private TableLayoutPanel tableLayoutPanel2;
private Button button4;
private Button button5;
private Button button3;
private Button button6;
private Label lSTime;
private Label label2;
private Label lDuration;
private Label label4;
private Label lFocus;
private Label lISO;
private Label label3;
private Label label6;
private Label lAperture;
private Label label10;
private TableLayoutPanel tableLayoutPanel3;
private TrackBar ISO;
private Label labelISO;
private Button button7;
private TrackBar FPS;
private Label labelExp;
private Label labelFPS;
private ListBox listBox3;
private ComboBox comboBox2;
private Button button8;
private Label IBitRateV;
private Label label8;
private Label label9;
private Label IBitRateI;
private Label IBitRateO;
private Label IByteRateO;
private Label IByteRateI;
private Label label13;
private Label IByteRateV;
private Label label12;
private PictureBox huawei;
private Label label15;
private Button button9;
private PictureBox samsung;
private Panel panel1;
private Panel panel8;
private Panel panel9;
private Label label18;
private Label label17;
private Label label16;
private Panel panel2;
private Panel panel10;
private Label waitServer;
private Label waitPhone;
private Label serialNumber;
private Label label19;
private Label IFPSV;
private PictureBox asus;
private Timer SaveXML;
private TableLayoutPanel tableLayoutPanel4;
private Label label21;
private Label label22;
private Label label23;
private Label label24;
private Label label25;
private Label label26;
private Label label27;
private Label label28;
private Label label29;
private Label l1;
private Label l2;
private Label l3;
private Label l4;
private Label l5;
private Label l6;
private Label l7;
private Label l8;
private Label l9;
private TrackBar trackBar1;
private Label label30;
private Panel panel_output;
private TableLayoutPanel tableLayoutPanel7;
private Label label11;
private Label label14;
private Label label34;
private Panel panel_recived;
private TableLayoutPanel tableLayoutPanel6;
private Panel panel_send;
private TableLayoutPanel tableLayoutPanel5;
private Panel panel11;
private void ShowVideo(Bitmap img)
{
_ = FrontVideo.Image;
if (img == null)
{
img = decode.GetImg(numberCurr);
if (img == null)
{
return;
}
}
if (Brightness.Value != 0)
{
new BrightnessCorrection(Brightness.Value).ApplyInPlace(img);
}
if (Contrast.Value != 0)
{
new ContrastCorrection(Contrast.Value).ApplyInPlace(img);
}
if (img_size.Width != ((Image)img).Width || img_size.Height != ((Image)img).Height)
{
img_size.Width = ((Image)img).Width;
img_size.Height = ((Image)img).Height;
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)this).Text = $"{Settings.Default.Chenal} {((Image)img).Width}x{((Image)img).Height}";
});
}
new LevelsLinear().ApplyInPlace(img);
((Control)FrontVideo).Invoke((Delegate)(Action)delegate
{
FrontVideo.Image = (Image)(object)img;
((Control)FrontVideo).Refresh();
});
}
private void Show2Video(Bitmap img)
{
if (decode == null)
{
return;
}
if (numberCurr < decode.min)
{
numberCurr = decode.min;
}
if (numberCurr > decode.max)
{
numberCurr = decode.max;
}
if (numberOld != numberCurr)
{
numberOld = numberCurr;
ShowVideo(img);
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)label19).Text = decode.count.ToString();
});
}
}
private void timer1_Tick(object sender, EventArgs e)
{
if (RealTimeForm != null && ((Control)RealTimeForm).Visible)
{
RealTimeForm.ShowVideo(decode.GetImg(decode.max), Brightness.Value, Contrast.Value);
}
if ((DateTime.Now - clear_status).TotalSeconds > 10.0)
{
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IBitRateV).Text = "";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IByteRateV).Text = "";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IBitRateI).Text = "";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IByteRateI).Text = "";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IBitRateO).Text = "";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IByteRateO).Text = "";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)serialNumber).Text = "";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)waitPhone).Text = "";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)waitPhone).BackColor = Color.Black;
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)waitServer).Text = "";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)waitServer).BackColor = Color.Black;
});
clear_status = DateTime.Now;
}
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IBitRateI).Text = $"{socket.bitratein * 8,15:### ### ### ###}";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IByteRateI).Text = $"{socket.bitratein:### ### ### ###}";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IBitRateO).Text = $"{socket.bitrateout * 8,15:### ### ### ###}";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IByteRateO).Text = $"{socket.bitrateout:### ### ### ###}";
});
string result = "";
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)label17).Text = decode.min.ToString();
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)label16).Text = numberCurr.ToString();
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)label18).Text = decode.max.ToString();
});
while (forListing.TryDequeue(out result))
{
result = $"{DateTime.Now} {result}";
listBox1.Items.Add((object)result);
((ListControl)listBox1).SelectedIndex = listBox1.Items.Count - 1;
}
if ((DateTime.Now - start_status).TotalMilliseconds > 500.0)
{
WriteCommand("status", DateTime.Now.Ticks + "=" + guid);
start_status = DateTime.Now;
}
if (!SerialNumberPhone.Equals(PhoneSerialNumber))
{
WriteCommand("GetCameraInfo", "");
((Control)this).Invoke((Delegate)(Action)delegate
{
Thread.Sleep(700);
SerialNumber_DoubleClick(null, null);
});
string[] spar = SerialNumberPhone.Split(new char[1] { '|' });
if (spar.Length != 0)
{
((Control)this).Invoke((Delegate)(Action)delegate
{
if (spar[1].ToLower().Equals("samsung"))
{
((Control)samsung).Visible = true;
((Control)huawei).Visible = false;
}
else if (spar[1].ToLower().Equals("huawei"))
{
((Control)samsung).Visible = false;
((Control)huawei).Visible = true;
}
else
{
((Control)samsung).Visible = false;
((Control)huawei).Visible = false;
}
listBox3.Items.Clear();
listBox3.Items.Add((object)("serial number: \t" + spar[0]));
listBox3.Items.Add((object)("bremd: \t\t" + spar[1]));
listBox3.Items.Add((object)("model: \t\t" + spar[3]));
listBox3.Items.Add((object)("hardware: \t\t" + spar[4]));
hard = spar[4];
listBox3.Items.Add((object)("version: \t\t" + spar[2]));
comboBox2.Items.Clear();
string text = ((Control)comboBox1).Text;
comboBox1.Items.Clear();
comboBox1.Items.AddRange(new object[3] { "1920 x 1080 x 30", "1280 x 720 x 120", "1280 x 720 x 240" });
((Control)comboBox1).Text = text;
((Control)comboBox2).Visible = false;
});
}
PhoneSerialNumber = SerialNumberPhone;
StartReStart();
((Control)this).Invoke((Delegate)(Action)delegate
{
Thread.Sleep(1000);
SerialNumber_DoubleClick(null, null);
});
}
if (decode != null)
{
if (stepping)
{
numberCurr = decode.max;
Show2Video(null);
}
else
{
numberCurr += playstepping;
Show2Video(null);
}
}
}
public void ListBoxAdd(string str)
{
forListing.Enqueue(str);
}
private byte[] XmlOut(string str, string param)
{
if (!str.Equals("status"))
{
ListBoxAdd($"{DateTime.Now:HH:mm:ss:fff}: [{str}]{param}");
}
byte[] bytes = Encoding.ASCII.GetBytes("=" + str + "=" + param);
bytes[0] = 1;
return bytes;
}
public void Write(byte[] buf)
{
if (socket != null)
{
socket.write(buf, (byte)(Settings.Default.Chenal + 100));
}
}
public void Read(double tick)
{
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)waitServer).Text = $"{tick:#0.0000}";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)waitServer).BackColor = getColorWait(tick);
});
}
private Color getColorWait(double d)
{
Color result = Color.Lime;
if (d > 10000.0)
{
result = Color.Crimson;
}
else if (d > 7000.0)
{
result = Color.Red;
}
else if (d > 5000.0)
{
result = Color.OrangeRed;
}
else if (d > 3000.0)
{
result = Color.Tomato;
}
else if (d > 2500.0)
{
result = Color.DarkOrange;
}
else if (d > 2000.0)
{
result = Color.Orange;
}
else if (d > 1500.0)
{
result = Color.Gold;
}
else if (d > 1000.0)
{
result = Color.Yellow;
}
else if (d > 500.0)
{
result = Color.GreenYellow;
}
return result;
}
public int Read(byte[] buf)
{
if (buf[0] == 0)
{
using SHA1CryptoServiceProvider sHA1CryptoServiceProvider = new SHA1CryptoServiceProvider();
ListBoxAdd(string.Format("{0}:{1}", buf.Length.ToString(), BitConverter.ToString(sHA1CryptoServiceProvider.ComputeHash(buf)).Replace("-", "")));
Console.WriteLine("2 {0}:{1}", buf.Length, BitConverter.ToString(buf, 0, 20));
}
else if (buf[0] == 1)
{
string[] array = Encoding.ASCII.GetString(buf.Skip(1).ToArray()).Split(new char[1] { '=' });
if (array[0].Equals("result"))
{
ListBoxAdd(Encoding.ASCII.GetString(buf.Skip(1).ToArray()));
}
if (array[0].Equals("result"))
{
string[] array2 = array[1].Split(new string[1] { "fps:" }, StringSplitOptions.None);
if (array2.Length > 1 && int.TryParse(array2[1].Trim(), out var result))
{
Program.FrameRate = result;
ListBoxAdd("(" + Program.FrameRate + " fps)");
}
}
if (array[0].Equals("serial"))
{
SerialNumberPhone = array[1];
}
else if (array[0].Equals("battery"))
{
int.TryParse(array[2], out batt);
SetBatt();
}
else if (array[0].Equals("result_params"))
{
ListBoxAdd(array[1]);
}
else if (array[0].Equals("error"))
{
ListBoxAdd(array[1]);
list_add_time = DateTime.Now.Ticks;
if (array.Length == 2)
{
File.AppendAllText($"{Directory.GetCurrentDirectory()}\\{DateTime.Now:yyMMdd}.err", array[1]);
}
else if (array.Length > 2)
{
File.AppendAllText($"{Directory.GetCurrentDirectory()}\\{DateTime.Now:yyMMdd}t.err", $"{DateTime.Now:HH:mm:ss:fff} {Encoding.ASCII.GetString(buf.Skip(1).ToArray())}\n");
File.AppendAllText($"{Directory.GetCurrentDirectory()}\\{DateTime.Now:yyMMdd}.err", $"{DateTime.Now:HH:mm:ss:fff}({array[2]}) {array[1]}");
}
Thread.Sleep(10);
}
else if (array[0].Equals("status"))
{
SerialNumberPhone = array[3];
if (!long.TryParse(array[1], out var result2))
{
result2 = 0L;
}
long num = DateTime.Now.Ticks - result2;
if (array.Length > 2 && array[2].Equals(guid))
{
if (int.TryParse(array[4], out var i) && i > 0)
{
i += ISO.LargeChange;
if (ISO.Minimum != i)
{
((Control)ISO).Invoke((Delegate)(Action)delegate
{
ISO.Minimum = i + ISO.SmallChange;
});
}
}
if (int.TryParse(array[5], out i) && i > 0)
{
i += ISO.LargeChange;
if (ISO.Maximum != i)
{
((Control)ISO).Invoke((Delegate)(Action)delegate
{
ISO.Maximum = i;
});
}
}
if (int.TryParse(array[6], out i) && i > 0)
{
i += FPS.LargeChange;
if (((Control)FPS).Visible && FPS.Maximum != i)
{
setAutomate = true;
((Control)FPS).Invoke((Delegate)(Action)delegate
{
FPS.Maximum = i;
});
setAutomate = false;
}
}
double dst = num / 10000;
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)waitPhone).Text = $"{dst,12:0.0000}";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)waitPhone).BackColor = getColorWait(dst);
});
}
}
}
else if (buf[0] == 3)
{
decode.AddNNFrame(buf.Skip(1).ToArray());
}
else if (buf[0] == 4)
{
decode.AddFrameArray(buf.Skip(1).ToArray());
}
else if (buf[0] == 5)
{
Write(buf);
}
else if (buf[0] == 6)
{
Write(buf.Take(10).ToArray());
ListBoxAdd(BitConverter.ToString(buf.Take(10).ToArray()));
}
else if (buf[0] == 77)
{
if ((DateTime.Now - update).Milliseconds > 300)
{
string[] par = Encoding.ASCII.GetString(buf.Skip(1).ToArray()).Split(new char[1] { ';' });
((Control)tableLayoutPanel1).Invoke((Delegate)(Action)delegate
{
((Control)lISO).Text = par[2];
((Control)lDuration).Text = par[3];
((Control)lAperture).Text = par[4];
if (double.TryParse(par[5].Replace('.', ','), out var result5))
{
((Control)lFocus).Text = $"{((result5 == 0.0) ? 0.0 : (1.0 / result5)):#.000}m";
}
((Control)lSTime).Text = $"1/{((int.Parse(par[6]) != 0) ? (1000000000 / int.Parse(par[6])) : 0)}";
});
update = DateTime.Now;
}
}
else if (buf[0] == 7)
{
listCamResol.Clear();
using (MemoryStream memoryStream = new MemoryStream())
{
using MemoryStream stream = new MemoryStream(buf.Skip(1).ToArray());
using (GZipStream gZipStream = new GZipStream(stream, CompressionMode.Decompress))
{
gZipStream.CopyTo(memoryStream);
}
string[] array3 = Encoding.ASCII.GetString(memoryStream.ToArray()).Replace('x', ':').Replace(";", ":30:30;")
.Split(new char[1] { ';' });
List<string> list = new List<string>();
int result3 = 0;
int result4 = 0;
string[] array4 = array3;
foreach (string text in array4)
{
try
{
string[] array5 = text.Split(new char[1] { ':' });
int.TryParse(array5[1], out result3);
int.TryParse(array5[2], out result4);
algorithmEvklid(result3, result4);
if (!extResol.Contains(hard + ":" + array5[0] + ":" + array5[1] + ":" + array5[2]))
{
list.Add(text);
}
}
catch (Exception)
{
}
}
listCamResol.AddRange(list);
}
foreach (string zn in listCamResol)
{
if (!comboBox2.Items.Contains((object)zn.Split(new char[1] { ':' })[0]))
{
((Control)this).Invoke((Delegate)(Action)delegate
{
comboBox2.Items.Add((object)zn.Split(new char[1] { ':' })[0]);
});
}
}
if (comboBox2.Items.Count > 0)
{
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)comboBox2).Visible = true;
comboBox1.Items.Clear();
((Control)comboBox2).Text = "";
((Control)comboBox1).Text = "";
});
}
}
else if (buf[0] == 8)
{
int byterate = (int)Math.Round((double)BitConverter.ToInt32(buf.Reverse().ToArray(), 4) / ((double)BitConverter.ToInt32(buf.Reverse().ToArray(), 0) / 1000.0));
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IBitRateV).Text = $"{byterate * 8,15:### ### ### ###}";
});
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)IByteRateV).Text = $"{byterate:### ### ### ###}";
});
}
return buf.Length;
}
public static int algorithmEvklid(int a, int b)
{
int result = 0;
while (b != 0 && a != 0)
{
if (a > b)
{
a %= b;
}
else
{
b %= a;
}
result = a + b;
}
return result;
}
private void SetBatt()
{
((Control)label5).Invoke((Delegate)(Action)delegate
{
((Control)label5).Text = $"{batt}%";
});
((Control)label5).Invoke((Delegate)(Action)delegate
{
((Control)label5).ForeColor = Color.Black;
});
Color col = Color.DarkGreen;
Color colt = Color.White;
if (batt < 5)
{
col = Color.DarkRed;
colt = Color.White;
}
else if (batt < 10)
{
col = Color.Red;
colt = Color.Black;
}
else if (batt < 20)
{
col = Color.OrangeRed;
colt = Color.Black;
}
else if (batt < 30)
{
col = Color.Yellow;
colt = Color.Black;
}
else if (batt < 50)
{
col = Color.GreenYellow;
colt = Color.Black;
}
else if (batt < 65)
{
col = Color.YellowGreen;
colt = Color.Black;
}
else if (batt < 75)
{
col = Color.Green;
colt = Color.White;
}
((Control)label5).Invoke((Delegate)(Action)delegate
{
((Control)label5).BackColor = col;
});
((Control)panel5).Invoke((Delegate)(Action)delegate
{
((Control)panel5).BackColor = col;
});
((Control)label5).Invoke((Delegate)(Action)delegate
{
((Control)label5).ForeColor = colt;
});
((Control)panel6).Invoke((Delegate)(Action)delegate
{
((Control)panel6).BackColor = Color.Black;
});
((Control)panel6).Invoke((Delegate)(Action)delegate
{
((Control)panel6).Width = ((Control)panel5).Width - (int)((double)((Control)panel5).Width / 100.0 * (double)batt);
});
}
private void WriteCommand(string str, string param)
{
Write(XmlOut(str, param));
}
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000f: Invalid comparison between Unknown and I4
//IL_0013: Unknown result type (might be due to invalid IL or missing references)
//IL_001a: Invalid comparison between Unknown and I4
//IL_0029: Unknown result type (might be due to invalid IL or missing references)
//IL_0030: Invalid comparison between Unknown and I4
//IL_003f: Unknown result type (might be due to invalid IL or missing references)
//IL_0046: Invalid comparison between Unknown and I4
//IL_00ab: Unknown result type (might be due to invalid IL or missing references)
//IL_00b2: Invalid comparison between Unknown and I4
//IL_0129: Unknown result type (might be due to invalid IL or missing references)
//IL_0130: Invalid comparison between Unknown and I4
//IL_0170: Unknown result type (might be due to invalid IL or missing references)
//IL_0177: Invalid comparison between Unknown and I4
//IL_01b7: Unknown result type (might be due to invalid IL or missing references)
//IL_01be: Invalid comparison between Unknown and I4
//IL_05cd: Unknown result type (might be due to invalid IL or missing references)
//IL_05d4: Invalid comparison between Unknown and I4
//IL_01dd: Unknown result type (might be due to invalid IL or missing references)
//IL_01e7: Invalid comparison between Unknown and I4
//IL_0600: Unknown result type (might be due to invalid IL or missing references)
//IL_0607: Invalid comparison between Unknown and I4
//IL_0213: Unknown result type (might be due to invalid IL or missing references)
//IL_021d: Invalid comparison between Unknown and I4
//IL_01ea: Unknown result type (might be due to invalid IL or missing references)
//IL_01f4: Invalid comparison between Unknown and I4
//IL_065f: Unknown result type (might be due to invalid IL or missing references)
//IL_0665: Invalid comparison between Unknown and I4
//IL_0249: Unknown result type (might be due to invalid IL or missing references)
//IL_0253: Invalid comparison between Unknown and I4
//IL_0220: Unknown result type (might be due to invalid IL or missing references)
//IL_022a: Invalid comparison between Unknown and I4
//IL_0689: Unknown result type (might be due to invalid IL or missing references)
//IL_0690: Invalid comparison between Unknown and I4
//IL_027f: Unknown result type (might be due to invalid IL or missing references)
//IL_0289: Invalid comparison between Unknown and I4
//IL_0256: Unknown result type (might be due to invalid IL or missing references)
//IL_0260: Invalid comparison between Unknown and I4
//IL_02b5: Unknown result type (might be due to invalid IL or missing references)
//IL_02bf: Invalid comparison between Unknown and I4
//IL_028c: Unknown result type (might be due to invalid IL or missing references)
//IL_0296: Invalid comparison between Unknown and I4
//IL_0638: Unknown result type (might be due to invalid IL or missing references)
//IL_0642: Invalid comparison between Unknown and I4
//IL_0303: Unknown result type (might be due to invalid IL or missing references)
//IL_030d: Invalid comparison between Unknown and I4
//IL_0351: Unknown result type (might be due to invalid IL or missing references)
//IL_035b: Invalid comparison between Unknown and I4
//IL_0384: Unknown result type (might be due to invalid IL or missing references)
//IL_038e: Invalid comparison between Unknown and I4
//IL_035e: Unknown result type (might be due to invalid IL or missing references)
//IL_0365: Invalid comparison between Unknown and I4
//IL_03b7: Unknown result type (might be due to invalid IL or missing references)
//IL_03c1: Invalid comparison between Unknown and I4
//IL_0391: Unknown result type (might be due to invalid IL or missing references)
//IL_0398: Invalid comparison between Unknown and I4
//IL_03e9: Unknown result type (might be due to invalid IL or missing references)
//IL_03f3: Invalid comparison between Unknown and I4
//IL_03c4: Unknown result type (might be due to invalid IL or missing references)
//IL_03cb: Invalid comparison between Unknown and I4
//IL_041b: Unknown result type (might be due to invalid IL or missing references)
//IL_0425: Invalid comparison between Unknown and I4
//IL_03f6: Unknown result type (might be due to invalid IL or missing references)
//IL_03fd: Invalid comparison between Unknown and I4
//IL_044d: Unknown result type (might be due to invalid IL or missing references)
//IL_0457: Invalid comparison between Unknown and I4
//IL_0428: Unknown result type (might be due to invalid IL or missing references)
//IL_042f: Invalid comparison between Unknown and I4
//IL_047f: Unknown result type (might be due to invalid IL or missing references)
//IL_0489: Invalid comparison between Unknown and I4
//IL_045a: Unknown result type (might be due to invalid IL or missing references)
//IL_0461: Invalid comparison between Unknown and I4
//IL_04b1: Unknown result type (might be due to invalid IL or missing references)
//IL_04bb: Invalid comparison between Unknown and I4
//IL_048c: Unknown result type (might be due to invalid IL or missing references)
//IL_0493: Invalid comparison between Unknown and I4
//IL_04e3: Unknown result type (might be due to invalid IL or missing references)
//IL_04ed: Invalid comparison between Unknown and I4
//IL_04be: Unknown result type (might be due to invalid IL or missing references)
//IL_04c5: Invalid comparison between Unknown and I4
//IL_0515: Unknown result type (might be due to invalid IL or missing references)
//IL_051f: Invalid comparison between Unknown and I4
//IL_04f0: Unknown result type (might be due to invalid IL or missing references)
//IL_04f7: Invalid comparison between Unknown and I4
//IL_0547: Unknown result type (might be due to invalid IL or missing references)
//IL_054e: Invalid comparison between Unknown and I4
//IL_0522: Unknown result type (might be due to invalid IL or missing references)
//IL_0529: Invalid comparison between Unknown and I4
//IL_0569: Unknown result type (might be due to invalid IL or missing references)
//IL_0570: Invalid comparison between Unknown and I4
//IL_058b: Unknown result type (might be due to invalid IL or missing references)
//IL_0592: Invalid comparison between Unknown and I4
//IL_05ad: Unknown result type (might be due to invalid IL or missing references)
//IL_05b4: Invalid comparison between Unknown and I4
e.Handled = false;
if ((int)e.KeyCode == 27)
{
return;
}
if ((int)e.KeyCode == 49)
{
FrontVideo.Zoom(zoom: true);
}
if ((int)e.KeyCode == 50)
{
FrontVideo.Zoom(zoom: false);
}
if ((int)e.KeyCode == 70 && MousePosition.X != 0 && MousePosition.Y != 0)
{
Point point = FrontVideo.rePoint(MousePosition);
string str = "AF";
string param = $"{point.X},{point.Y},10,10";
WriteCommand(str, param);
}
else if ((int)e.KeyCode == 118)
{
if (RealTimeForm == null || ((Control)RealTimeForm).IsDisposed)
{
RealTimeForm = new Form2();
}
RealTimeForm.RealTime.Rotate = FrontVideo.Rotate;
RealTimeForm.RealTime.Flip = FrontVideo.Flip;
((Control)RealTimeForm).Visible = !((Control)RealTimeForm).Visible;
}
else if ((int)e.KeyCode == 48)
{
if (Focuse.Maximum > Focuse.Value)
{
TrackBar focuse = Focuse;
focuse.Value += Focuse.LargeChange;
}
}
else if ((int)e.KeyCode == 57)
{
if (Focuse.Minimum < Focuse.Value)
{
TrackBar focuse2 = Focuse;
focuse2.Value -= Focuse.LargeChange;
}
}
else if ((int)e.KeyCode == 9)
{
WriteCommand("WhileBlack", "0");
e.Handled = true;
}
else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 189)
{
WriteCommand("ApertureMinus", "0");
e.Handled = true;
}
else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 187)
{
WriteCommand("AperturePlus", "0");
e.Handled = true;
}
else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 189)
{
WriteCommand("BrightMinus", "0");
e.Handled = true;
}
else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 187)
{
WriteCommand("BrightPlus", "0");
e.Handled = true;
}
else if ((int)e.KeyCode == 187)
{
if (Zoom.Maximum > Zoom.Value)
{
TrackBar zoom = Zoom;
zoom.Value += Zoom.LargeChange;
}
e.Handled = true;
}
else if ((int)e.KeyCode == 189)
{
if (Zoom.Minimum < Zoom.Value)
{
TrackBar zoom2 = Zoom;
zoom2.Value -= Zoom.LargeChange;
}
e.Handled = true;
}
else if ((int)e.Modifiers == 262144 && (int)e.KeyCode == 37)
{
numberCurr -= 120L;
e.Handled = true;
}
else if ((int)e.Modifiers == 262144 && (int)e.KeyCode == 39)
{
numberCurr += 120L;
e.Handled = true;
}
else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 37)
{
numberCurr -= 4L;
e.Handled = true;
}
else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 39)
{
numberCurr += 4L;
e.Handled = true;
}
else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 40)
{
numberCurr -= 3L;
e.Handled = true;
}
else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 38)
{
numberCurr += 3L;
e.Handled = true;
}
else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 37)
{
numberCurr -= 3L;
e.Handled = true;
}
else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 39)
{
numberCurr += 3L;
e.Handled = true;
}
else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 40)
{
numberCurr -= 2L;
e.Handled = true;
}
else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 38)
{
numberCurr += 2L;
e.Handled = true;
}
else if ((int)e.KeyCode == 37)
{
numberCurr--;
e.Handled = true;
}
else if ((int)e.KeyCode == 39)
{
numberCurr++;
e.Handled = true;
}
else if ((int)e.KeyCode == 38)
{
numberCurr += 5L;
e.Handled = true;
}
else if ((int)e.KeyCode == 40)
{
numberCurr -= 5L;
e.Handled = true;
}
if ((int)e.KeyCode == 13)
{
stepping = !stepping;
playstepping = 0;
startFrame = numberCurr;
e.Handled = true;
}
if ((int)e.KeyCode == 32)
{
stepping = false;
if (playstepping == 0)
{
playstepping = ((Program.FrameRate == 240) ? 20 : ((Program.FrameRate == 120) ? 10 : 2)) * (((int)e.Modifiers != 65536) ? 1 : (-1));
}
else
{
playstepping = 0;
}
e.Handled = true;
}
if ((int)e.KeyCode == 8)
{
stepping = false;
playstepping = 0;
numberCurr = startFrame;
e.Handled = true;
}
if ((int)e.KeyCode == 112)
{
((Control)webBrowser1).Visible = !((Control)webBrowser1).Visible;
}
if (!stepping)
{
if (((Control)FrontVideo).BackColor != Color.MidnightBlue)
{
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)FrontVideo).BackColor = Color.MidnightBlue;
((Control)splitContainer1).BackColor = SystemColors.ActiveCaption;
});
}
}
else if (((Control)FrontVideo).BackColor != SystemColors.Control)
{
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)FrontVideo).BackColor = Color.Black;
((Control)splitContainer1).BackColor = SystemColors.Control;
});
}
}
private void повернутьToolStripMenuItem_Click(object sender, EventArgs e)
{
if (FrontVideo.Rotate == 0)
{
FrontVideo.Rotate = 90;
}
else if (FrontVideo.Rotate == 90)
{
FrontVideo.Rotate = 180;
}
else if (FrontVideo.Rotate == 180)
{
FrontVideo.Rotate = 270;
}
else if (FrontVideo.Rotate == 270)
{
FrontVideo.Rotate = 0;
}
((Control)FrontVideo).Refresh();
if (RealTimeForm != null)
{
RealTimeForm.RealTime.Rotate = FrontVideo.Rotate;
((Control)RealTimeForm.RealTime).Refresh();
}
}
private void повернутьПротивЧасовойToolStripMenuItem_Click(object sender, EventArgs e)
{
if (FrontVideo.Rotate == 0)
{
FrontVideo.Rotate = 270;
}
else if (FrontVideo.Rotate == 270)
{
FrontVideo.Rotate = 180;
}
else if (FrontVideo.Rotate == 180)
{
FrontVideo.Rotate = 90;
}
else if (FrontVideo.Rotate == 90)
{
FrontVideo.Rotate = 0;
}
((Control)FrontVideo).Refresh();
if (RealTimeForm != null)
{
RealTimeForm.RealTime.Rotate = FrontVideo.Rotate;
((Control)RealTimeForm.RealTime).Refresh();
}
}
private void стопToolStripMenuItem_Click(object sender, EventArgs e)
{
WriteCommand("stop", "");
Thread.Sleep(1000);
}
private void стартToolStripMenuItem_Click(object sender, EventArgs e)
{
//IL_02a5: Unknown result type (might be due to invalid IL or missing references)
((Control)chenal).Text = "44";
if (byte.TryParse(((Control)chenal).Text, out var result) && result > 0 && result < 100)
{
Settings.Default.Chenal = result;
Settings.Default.BitRate = ((Control)BitRateBox).Text;
((SettingsBase)Settings.Default).Save();
стопToolStripMenuItem_Click(sender, e);
stepping = true;
string param = ((Control)BitRateBox).Text.Replace("k", "000").Replace("M", "000000");
WriteCommand("BitRate", param);
((Control)labelFPS).Visible = true;
((Control)FPS).Visible = true;
if (((Control)comboBox2).Visible)
{
string[] array = ((Control)comboBox1).Text.Split(new char[1] { 'x' });
if (array[0].Trim().Length != 0 && array[1].Trim().Length != 0)
{
try
{
FrontVideo.SizeImage = new Size(int.Parse(array[0]), int.Parse(array[1]));
WriteCommand("start", string.Format("{0};{1};{2};{3};30;30", ((Control)BitRateBox).Text.ToLower().Replace("k", "000").Replace("m", "000000"), ((Control)comboBox2).Text, array[0], array[1]));
((Control)labelFPS).Visible = false;
((Control)FPS).Visible = false;
}
catch (Exception)
{
ListBoxAdd("Error resolution.");
}
}
else
{
ListBoxAdd("Error resolution.");
}
}
else if (((ListControl)comboBox1).SelectedIndex == 0)
{
WriteCommand("start", "");
FrontVideo.SizeImage = new Size(1920, 1080);
}
else if (((ListControl)comboBox1).SelectedIndex == 1)
{
WriteCommand("startHI", "");
FrontVideo.SizeImage = new Size(1280, 720);
}
else if (((ListControl)comboBox1).SelectedIndex == 2)
{
WriteCommand("startH2", "");
FrontVideo.SizeImage = new Size(1280, 720);
}
if (decode != null)
{
decode.Init();
}
listBox1.Items.Clear();
}
else
{
MessageBox.Show("Ошибка канала");
}
}
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
}
private void pictureBox2_MouseClick(object sender, MouseEventArgs e)
{
//IL_0013: Unknown result type (might be due to invalid IL or missing references)
//IL_001d: Invalid comparison between Unknown and I4
try
{
Point point = FrontVideo.rePoint(e.Location);
if ((int)e.Button == 1048576)
{
string str = "ZoomPlus";
string param = $"{point.X},{point.Y}";
WriteCommand(str, param);
}
ListBoxAdd($"{e.X}:{e.Y} ({e.Location.X}:{e.Location.Y}) {point.X}:{point.Y}");
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
Console.WriteLine(ex.StackTrace);
}
}
private void StartReStart()
{
Thread.Sleep(300);
if (socket != null)
{
socket.opened = false;
}
Thread.Sleep(100);
if (decode != null)
{
decode.Close();
}
decode = new Decoder();
socket = new InOutSocket(this);
}
private void label5_DoubleClick(object sender, EventArgs e)
{
Brightness.Value = 0;
ShowVideo(null);
}
private void Контраст_DoubleClick(object sender, EventArgs e)
{
Contrast.Value = 0;
ShowVideo(null);
}
private void ValueChanged(object sender, EventArgs e)
{
ShowVideo(null);
}
private void pictureBox2_MouseDown(object sender, MouseEventArgs e)
{
//IL_000f: Unknown result type (might be due to invalid IL or missing references)
ListBoxAdd($"B:{e.Button};L:{e.Location};X:{e.X};Y:{e.Y};real:{FrontVideo.rePoint(e.Location)})");
}
private void listBox1_DoubleClick(object sender, EventArgs e)
{
((Control)listBox1).Visible = false;
}
private void menuStrip1_DoubleClick(object sender, EventArgs e)
{
((Control)listBox1).Visible = true;
}
private void pictureBox2_MouseClick_1(object sender, MouseEventArgs e)
{
//IL_0013: Unknown result type (might be due to invalid IL or missing references)
//IL_001d: Invalid comparison between Unknown and I4
//IL_0052: Unknown result type (might be due to invalid IL or missing references)
//IL_005c: Invalid comparison between Unknown and I4
Point point = FrontVideo.rePoint(e.Location);
if ((int)e.Button == 4194304)
{
string str = "AF";
string param = $"{point.X},{point.Y},20,20";
WriteCommand(str, param);
}
else if ((int)e.Button == 2097152)
{
WriteCommand("ZoomMinus", $"{point.X},{point.Y}");
}
}
private void Focus_ValueChanged(object sender, EventArgs e)
{
int num = Focuse.Maximum - Focuse.LargeChange - Focuse.Value + 1;
string param = num.ToString();
WriteCommand("Focus", param);
((Control)label1).Text = string.Format("Focus {0} m", (num == 0) ? "∞" : decimal.Round(1m / ((decimal)num / 100m), 3).ToString());
}
private void Zoom_ValueChanged(object sender, EventArgs e)
{
WriteCommand("Zoom", (Zoom.Value * 10).ToString());
}
private void pictureBox2_MouseMove(object sender, MouseEventArgs e)
{
MousePosition = e.Location;
}
private void pictureBox2_MouseLeave(object sender, EventArgs e)
{
MousePosition.X = 0;
MousePosition.Y = 0;
}
private void Exposure_ValueChanged(object sender, EventArgs e)
{
//IL_0001: Unknown result type (might be due to invalid IL or missing references)
//IL_000c: Unknown result type (might be due to invalid IL or missing references)
int num = (((TrackBar)sender).Value - ((TrackBar)sender).SmallChange) * 10;
((Control)labelExp).Text = $"Exp:1/{num}";
WriteCommand("Exposure", $"{num}");
}
private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
Thread thread = new Thread((ThreadStart)delegate
{
//IL_0015: Unknown result type (might be due to invalid IL or missing references)
Clipboard.SetImage(((Control)pictureBox5).BackgroundImage);
MessageBox.Show("QR-code скопирован.");
});
thread.SetApartmentState(ApartmentState.STA);
thread.Start();
}
private void button2_Click(object sender, EventArgs e)
{
Thread thread = new Thread((ThreadStart)delegate
{
//IL_0015: Unknown result type (might be due to invalid IL or missing references)
Clipboard.SetText(((Control)linkLabel1).Text);
MessageBox.Show("Ссылка скопирована.");
});
thread.SetApartmentState(ApartmentState.STA);
thread.Start();
}
private void panel6_Enter(object sender, EventArgs e)
{
((Control)FrontVideo).Select();
}
private void checkBox_saveVideo_Click(object sender, EventArgs e)
{
if (decode != null)
{
decode.save_video = checkBox_saveVideo.Checked;
}
}
private void panel6_DoubleClick(object sender, EventArgs e)
{
((Control)this).Invoke((Delegate)(Action)delegate
{
((Control)panel6).Width = ((Control)panel5).Width;
});
((Control)chenal).Text = "44";
StartReStart();
}
private void pictureBox1_DoubleClick(object sender, EventArgs e)
{
Brightness.Value = 0;
}
private void pictureBox4_DoubleClick(object sender, EventArgs e)
{
Contrast.Value = 0;
}
private void _Enter(object sender, EventArgs e)
{
((Control)BitRateBox).Focus();
}
private void Label2_Click(object sender, EventArgs e)
{
}
private void LDuration_Click(object sender, EventArgs e)
{
}
private void ISO_ValueChanged(object sender, EventArgs e)
{
//IL_0001: Unknown result type (might be due to invalid IL or missing references)
//IL_0007: Expected O, but got Unknown
TrackBar val = (TrackBar)sender;
int num = (val.Value - val.SmallChange) * 10;
((Control)labelISO).Text = $"ISO[{num}]";
WriteCommand("SetISO", $"{num}");
}
private void Button7_Click(object sender, EventArgs e)
{
StartReStart();
}
[DllImport("user32.dll", CharSet = CharSet.Auto)]
internal static extern IntPtr GetFocus();
private string GetFocuse()
{
string result = "";
try
{
Control val = null;
IntPtr focus = GetFocus();
if (focus != IntPtr.Zero)
{
val = Control.FromHandle(focus);
}
result = ((val.Name.ToString().Length != 0) ? val.Name.ToString() : val.Parent.Parent.Name.ToString());
}
catch (Exception)
{
}
return result;
}
private void ComboBox2_SelectedIndexChanged(object sender, EventArgs e)
{
comboBox1.Items.Clear();
foreach (string item in listCamResol)
{
if (item.Split(new char[1] { ':' })[0].Equals(((Control)comboBox2).Text))
{
comboBox1.Items.Add((object)(item.Split(new char[1] { ':' })[1] + "x" + item.Split(new char[1] { ':' })[2]));
}
}
}
private void ListBox3_DoubleClick(object sender, EventArgs e)
{
SerialNumberPhone = "";
listBox3.Items.Clear();
}
private void SerialNumber_DoubleClick(object sender, EventArgs e)
{
WriteCommand("GetCameraInfo", "");
}
private void Button8_Click(object sender, EventArgs e)
{
if (FrontVideo.Flip == 0)
{
FrontVideo.Flip = 1;
}
else
{
FrontVideo.Flip = 0;
}
if (RealTimeForm != null)
{
RealTimeForm.RealTime.Flip = FrontVideo.Flip;
}
((Control)button8).Text = ((FrontVideo.Flip == 1) ? "e" : "");
}
private void SplitContainer1_Panel2_DoubleClick(object sender, EventArgs e)
{
WriteCommand("Test", "1");
}
private void pictureBox1_Click(object sender, EventArgs e)
{
}
private void FrontVideo_KeyDown(object sender, KeyEventArgs e)
{
//IL_0002: Unknown result type (might be due to invalid IL or missing references)
//IL_0007: Unknown result type (might be due to invalid IL or missing references)
((Control)this).Text = ((object)e.KeyCode/*cast due to .constrained prefix*/).ToString();
}
private void FPS_ValueChanged(TrackBar sender, EventArgs e)
{
if (!setAutomate)
{
int num = (sender.Value - sender.SmallChange) * 10;
((Control)labelFPS).Text = $"FPS[{num}]";
WriteCommand("SetFPS", $"{num}");
}
}
private void Form1_Shown(object sender, EventArgs e)
{
if ((thisDate - buildDate).TotalDays > 30.0)
{
((Form)this).Close();
}
tabControl1.TabPages.Remove(tabControl1.TabPages[1]);
}
private void setColor(ControlCollection cont)
{
//IL_000f: Unknown result type (might be due to invalid IL or missing references)
//IL_0015: Expected O, but got Unknown
foreach (Control item in (ArrangedElementCollection)cont)
{
Control val = item;
if (((ArrangedElementCollection)val.Controls).Count > 0)
{
setColor(val.Controls);
}
val.BackColor = Color.Black;
val.ForeColor = Color.White;
}
}
public Form1()
{
//IL_0209: Unknown result type (might be due to invalid IL or missing references)
//IL_0213: Expected O, but got Unknown
_ = Debugger.IsAttached;
InitializeComponent();
((Control)waitPhone).ForeColor = Color.Black;
((Control)waitServer).ForeColor = Color.Black;
((Control)BitRateBox).Text = Settings.Default.BitRate.ToString();
((Control)this).Text = "44 " + ((Control)this).Text;
((Control)chenal).Text = Settings.Default.Chenal.ToString();
if (Program.Arg.Contains("console"))
{
Win32.AllocConsole();
}
Version version = Assembly.GetExecutingAssembly().GetName().Version;
buildDate = new DateTime(2000, 1, 1).AddDays(version.Build).AddSeconds(version.Revision * 2);
buildDate = buildDate.AddDays(30.0);
thisDate = DateTime.Now.AddDays(-30.0);
Program.log_file = DateTime.Now.Ticks.ToString();
((Form)this).KeyPreview = true;
((Control)this).KeyDown += new KeyEventHandler(Form1_KeyDown);
StartReStart();
_ = Directory.GetCurrentDirectory() + "\\help.html";
}
protected override void Dispose(bool disposing)
{
if (disposing && components != null)
{
components.Dispose();
}
((Form)this).Dispose(disposing);
}
private void InitializeComponent()
{
//IL_0022: Unknown result type (might be due to invalid IL or missing references)
//IL_002c: Expected O, but got Unknown
//IL_0033: Unknown result type (might be due to invalid IL or missing references)
//IL_003d: Expected O, but got Unknown
//IL_003e: Unknown result type (might be due to invalid IL or missing references)
//IL_0048: Expected O, but got Unknown
//IL_0049: Unknown result type (might be due to invalid IL or missing references)
//IL_0053: Expected O, but got Unknown
//IL_0054: Unknown result type (might be due to invalid IL or missing references)
//IL_005e: Expected O, but got Unknown
//IL_005f: Unknown result type (might be due to invalid IL or missing references)
//IL_0069: Expected O, but got Unknown
//IL_006a: Unknown result type (might be due to invalid IL or missing references)
//IL_0074: Expected O, but got Unknown
//IL_0075: Unknown result type (might be due to invalid IL or missing references)
//IL_007f: Expected O, but got Unknown
//IL_0080: Unknown result type (might be due to invalid IL or missing references)
//IL_008a: Expected O, but got Unknown
//IL_008b: Unknown result type (might be due to invalid IL or missing references)
//IL_0095: Expected O, but got Unknown
//IL_0096: Unknown result type (might be due to invalid IL or missing references)
//IL_00a0: Expected O, but got Unknown
//IL_00a1: Unknown result type (might be due to invalid IL or missing references)
//IL_00ab: Expected O, but got Unknown
//IL_00ac: Unknown result type (might be due to invalid IL or missing references)
//IL_00b6: Expected O, but got Unknown
//IL_00b7: Unknown result type (might be due to invalid IL or missing references)
//IL_00c1: Expected O, but got Unknown
//IL_00c2: Unknown result type (might be due to invalid IL or missing references)
//IL_00cc: Expected O, but got Unknown
//IL_00cd: Unknown result type (might be due to invalid IL or missing references)
//IL_00d7: Expected O, but got Unknown
//IL_00e3: Unknown result type (might be due to invalid IL or missing references)
//IL_00ed: Expected O, but got Unknown
//IL_00ee: Unknown result type (might be due to invalid IL or missing references)
//IL_00f8: Expected O, but got Unknown
//IL_00f9: Unknown result type (might be due to invalid IL or missing references)
//IL_0103: Expected O, but got Unknown
//IL_0104: Unknown result type (might be due to invalid IL or missing references)
//IL_010e: Expected O, but got Unknown
//IL_010f: Unknown result type (might be due to invalid IL or missing references)
//IL_0119: Expected O, but got Unknown
//IL_011a: Unknown result type (might be due to invalid IL or missing references)
//IL_0124: Expected O, but got Unknown
//IL_0125: Unknown result type (might be due to invalid IL or missing references)
//IL_012f: Expected O, but got Unknown
//IL_0130: Unknown result type (might be due to invalid IL or missing references)
//IL_013a: Expected O, but got Unknown
//IL_013b: Unknown result type (might be due to invalid IL or missing references)
//IL_0145: Expected O, but got Unknown
//IL_0146: Unknown result type (might be due to invalid IL or missing references)
//IL_0150: Expected O, but got Unknown
//IL_0151: Unknown result type (might be due to invalid IL or missing references)
//IL_015b: Expected O, but got Unknown
//IL_015c: Unknown result type (might be due to invalid IL or missing references)
//IL_0166: Expected O, but got Unknown
//IL_0167: Unknown result type (might be due to invalid IL or missing references)
//IL_0171: Expected O, but got Unknown
//IL_0172: Unknown result type (might be due to invalid IL or missing references)
//IL_017c: Expected O, but got Unknown
//IL_017d: Unknown result type (might be due to invalid IL or missing references)
//IL_0187: Expected O, but got Unknown
//IL_0188: Unknown result type (might be due to invalid IL or missing references)
//IL_0192: Expected O, but got Unknown
//IL_0193: Unknown result type (might be due to invalid IL or missing references)
//IL_019d: Expected O, but got Unknown
//IL_019e: Unknown result type (might be due to invalid IL or missing references)
//IL_01a8: Expected O, but got Unknown
//IL_01a9: Unknown result type (might be due to invalid IL or missing references)
//IL_01b3: Expected O, but got Unknown
//IL_01b4: Unknown result type (might be due to invalid IL or missing references)
//IL_01be: Expected O, but got Unknown
//IL_01bf: Unknown result type (might be due to invalid IL or missing references)
//IL_01c9: Expected O, but got Unknown
//IL_01ca: Unknown result type (might be due to invalid IL or missing references)
//IL_01d4: Expected O, but got Unknown
//IL_01d5: Unknown result type (might be due to invalid IL or missing references)
//IL_01df: Expected O, but got Unknown
//IL_01e0: Unknown result type (might be due to invalid IL or missing references)
//IL_01ea: Expected O, but got Unknown
//IL_01eb: Unknown result type (might be due to invalid IL or missing references)
//IL_01f5: Expected O, but got Unknown
//IL_01f6: Unknown result type (might be due to invalid IL or missing references)
//IL_0200: Expected O, but got Unknown
//IL_0201: Unknown result type (might be due to invalid IL or missing references)
//IL_020b: Expected O, but got Unknown
//IL_020c: Unknown result type (might be due to invalid IL or missing references)
//IL_0216: Expected O, but got Unknown
//IL_0217: Unknown result type (might be due to invalid IL or missing references)
//IL_0221: Expected O, but got Unknown
//IL_0222: Unknown result type (might be due to invalid IL or missing references)
//IL_022c: Expected O, but got Unknown
//IL_022d: Unknown result type (might be due to invalid IL or missing references)
//IL_0237: Expected O, but got Unknown
//IL_0238: Unknown result type (might be due to invalid IL or missing references)
//IL_0242: Expected O, but got Unknown
//IL_0243: Unknown result type (might be due to invalid IL or missing references)
//IL_024d: Expected O, but got Unknown
//IL_024e: Unknown result type (might be due to invalid IL or missing references)
//IL_0258: Expected O, but got Unknown
//IL_0259: Unknown result type (might be due to invalid IL or missing references)
//IL_0263: Expected O, but got Unknown
//IL_0264: Unknown result type (might be due to invalid IL or missing references)
//IL_026e: Expected O, but got Unknown
//IL_026f: Unknown result type (might be due to invalid IL or missing references)
//IL_0279: Expected O, but got Unknown
//IL_027a: Unknown result type (might be due to invalid IL or missing references)
//IL_0284: Expected O, but got Unknown
//IL_0285: Unknown result type (might be due to invalid IL or missing references)
//IL_028f: Expected O, but got Unknown
//IL_0290: Unknown result type (might be due to invalid IL or missing references)
//IL_029a: Expected O, but got Unknown
//IL_029b: Unknown result type (might be due to invalid IL or missing references)
//IL_02a5: Expected O, but got Unknown
//IL_02a6: Unknown result type (might be due to invalid IL or missing references)
//IL_02b0: Expected O, but got Unknown
//IL_02b1: Unknown result type (might be due to invalid IL or missing references)
//IL_02bb: Expected O, but got Unknown
//IL_02bc: Unknown result type (might be due to invalid IL or missing references)
//IL_02c6: Expected O, but got Unknown
//IL_02c7: Unknown result type (might be due to invalid IL or missing references)
//IL_02d1: Expected O, but got Unknown
//IL_02d2: Unknown result type (might be due to invalid IL or missing references)
//IL_02dc: Expected O, but got Unknown
//IL_02dd: Unknown result type (might be due to invalid IL or missing references)
//IL_02e7: Expected O, but got Unknown
//IL_02e8: Unknown result type (might be due to invalid IL or missing references)
//IL_02f2: Expected O, but got Unknown
//IL_02f3: Unknown result type (might be due to invalid IL or missing references)
//IL_02fd: Expected O, but got Unknown
//IL_02fe: Unknown result type (might be due to invalid IL or missing references)
//IL_0308: Expected O, but got Unknown
//IL_0309: Unknown result type (might be due to invalid IL or missing references)
//IL_0313: Expected O, but got Unknown
//IL_0314: Unknown result type (might be due to invalid IL or missing references)
//IL_031e: Expected O, but got Unknown
//IL_031f: Unknown result type (might be due to invalid IL or missing references)
//IL_0329: Expected O, but got Unknown
//IL_032a: Unknown result type (might be due to invalid IL or missing references)
//IL_0334: Expected O, but got Unknown
//IL_0335: Unknown result type (might be due to invalid IL or missing references)
//IL_033f: Expected O, but got Unknown
//IL_0340: Unknown result type (might be due to invalid IL or missing references)
//IL_034a: Expected O, but got Unknown
//IL_034b: Unknown result type (might be due to invalid IL or missing references)
//IL_0355: Expected O, but got Unknown
//IL_0356: Unknown result type (might be due to invalid IL or missing references)
//IL_0360: Expected O, but got Unknown
//IL_0361: Unknown result type (might be due to invalid IL or missing references)
//IL_036b: Expected O, but got Unknown
//IL_036c: Unknown result type (might be due to invalid IL or missing references)
//IL_0376: Expected O, but got Unknown
//IL_0377: Unknown result type (might be due to invalid IL or missing references)
//IL_0381: Expected O, but got Unknown
//IL_0382: Unknown result type (might be due to invalid IL or missing references)
//IL_038c: Expected O, but got Unknown
//IL_038d: Unknown result type (might be due to invalid IL or missing references)
//IL_0397: Expected O, but got Unknown
//IL_0398: Unknown result type (might be due to invalid IL or missing references)
//IL_03a2: Expected O, but got Unknown
//IL_03a3: Unknown result type (might be due to invalid IL or missing references)
//IL_03ad: Expected O, but got Unknown
//IL_03ae: Unknown result type (might be due to invalid IL or missing references)
//IL_03b8: Expected O, but got Unknown
//IL_03b9: Unknown result type (might be due to invalid IL or missing references)
//IL_03c3: Expected O, but got Unknown
//IL_03c4: Unknown result type (might be due to invalid IL or missing references)
//IL_03ce: Expected O, but got Unknown
//IL_03cf: Unknown result type (might be due to invalid IL or missing references)
//IL_03d9: Expected O, but got Unknown
//IL_03da: Unknown result type (might be due to invalid IL or missing references)
//IL_03e4: Expected O, but got Unknown
//IL_03e5: Unknown result type (might be due to invalid IL or missing references)
//IL_03ef: Expected O, but got Unknown
//IL_03f0: Unknown result type (might be due to invalid IL or missing references)
//IL_03fa: Expected O, but got Unknown
//IL_03fb: Unknown result type (might be due to invalid IL or missing references)
//IL_0405: Expected O, but got Unknown
//IL_0406: Unknown result type (might be due to invalid IL or missing references)
//IL_0410: Expected O, but got Unknown
//IL_0411: Unknown result type (might be due to invalid IL or missing references)
//IL_041b: Expected O, but got Unknown
//IL_041c: Unknown result type (might be due to invalid IL or missing references)
//IL_0426: Expected O, but got Unknown
//IL_0427: Unknown result type (might be due to invalid IL or missing references)
//IL_0431: Expected O, but got Unknown
//IL_0432: Unknown result type (might be due to invalid IL or missing references)
//IL_043c: Expected O, but got Unknown
//IL_043d: Unknown result type (might be due to invalid IL or missing references)
//IL_0447: Expected O, but got Unknown
//IL_0448: Unknown result type (might be due to invalid IL or missing references)
//IL_0452: Expected O, but got Unknown
//IL_0453: Unknown result type (might be due to invalid IL or missing references)
//IL_045d: Expected O, but got Unknown
//IL_045e: Unknown result type (might be due to invalid IL or missing references)
//IL_0468: Expected O, but got Unknown
//IL_0469: Unknown result type (might be due to invalid IL or missing references)
//IL_0473: Expected O, but got Unknown
//IL_0474: Unknown result type (might be due to invalid IL or missing references)
//IL_047e: Expected O, but got Unknown
//IL_047f: Unknown result type (might be due to invalid IL or missing references)
//IL_0489: Expected O, but got Unknown
//IL_048a: Unknown result type (might be due to invalid IL or missing references)
//IL_0494: Expected O, but got Unknown
//IL_0495: Unknown result type (might be due to invalid IL or missing references)
//IL_049f: Expected O, but got Unknown
//IL_04a0: Unknown result type (might be due to invalid IL or missing references)
//IL_04aa: Expected O, but got Unknown
//IL_04ab: Unknown result type (might be due to invalid IL or missing references)
//IL_04b5: Expected O, but got Unknown
//IL_04b6: Unknown result type (might be due to invalid IL or missing references)
//IL_04c0: Expected O, but got Unknown
//IL_04c1: Unknown result type (might be due to invalid IL or missing references)
//IL_04cb: Expected O, but got Unknown
//IL_04cc: Unknown result type (might be due to invalid IL or missing references)
//IL_04d6: Expected O, but got Unknown
//IL_04d7: Unknown result type (might be due to invalid IL or missing references)
//IL_04e1: Expected O, but got Unknown
//IL_04e2: Unknown result type (might be due to invalid IL or missing references)
//IL_04ec: Expected O, but got Unknown
//IL_04ed: Unknown result type (might be due to invalid IL or missing references)
//IL_04f7: Expected O, but got Unknown
//IL_04f8: Unknown result type (might be due to invalid IL or missing references)
//IL_0502: Expected O, but got Unknown
//IL_0503: Unknown result type (might be due to invalid IL or missing references)
//IL_050d: Expected O, but got Unknown
//IL_050e: Unknown result type (might be due to invalid IL or missing references)
//IL_0518: Expected O, but got Unknown
//IL_0519: Unknown result type (might be due to invalid IL or missing references)
//IL_0523: Expected O, but got Unknown
//IL_0524: Unknown result type (might be due to invalid IL or missing references)
//IL_052e: Expected O, but got Unknown
//IL_0535: Unknown result type (might be due to invalid IL or missing references)
//IL_053f: Expected O, but got Unknown
//IL_07a4: Unknown result type (might be due to invalid IL or missing references)
//IL_07ae: Expected O, but got Unknown
//IL_092d: Unknown result type (might be due to invalid IL or missing references)
//IL_09b8: Unknown result type (might be due to invalid IL or missing references)
//IL_0a85: Unknown result type (might be due to invalid IL or missing references)
//IL_0cf7: Unknown result type (might be due to invalid IL or missing references)
//IL_0d9a: Unknown result type (might be due to invalid IL or missing references)
//IL_0e27: Unknown result type (might be due to invalid IL or missing references)
//IL_0ec1: Unknown result type (might be due to invalid IL or missing references)
//IL_0ecb: Expected O, but got Unknown
//IL_0eeb: Unknown result type (might be due to invalid IL or missing references)
//IL_0f86: Unknown result type (might be due to invalid IL or missing references)
//IL_117e: Unknown result type (might be due to invalid IL or missing references)
//IL_1214: Unknown result type (might be due to invalid IL or missing references)
//IL_121e: Expected O, but got Unknown
//IL_122b: Unknown result type (might be due to invalid IL or missing references)
//IL_1235: Expected O, but got Unknown
//IL_1242: Unknown result type (might be due to invalid IL or missing references)
//IL_124c: Expected O, but got Unknown
//IL_1259: Unknown result type (might be due to invalid IL or missing references)
//IL_1263: Expected O, but got Unknown
//IL_1287: Unknown result type (might be due to invalid IL or missing references)
//IL_1291: Expected O, but got Unknown
//IL_12ff: Unknown result type (might be due to invalid IL or missing references)
//IL_13ab: Unknown result type (might be due to invalid IL or missing references)
//IL_1418: Unknown result type (might be due to invalid IL or missing references)
//IL_1422: Expected O, but got Unknown
//IL_143f: Unknown result type (might be due to invalid IL or missing references)
//IL_14bb: Unknown result type (might be due to invalid IL or missing references)
//IL_14c5: Expected O, but got Unknown
//IL_14e1: Unknown result type (might be due to invalid IL or missing references)
//IL_1558: Unknown result type (might be due to invalid IL or missing references)
//IL_1562: Expected O, but got Unknown
//IL_157f: Unknown result type (might be due to invalid IL or missing references)
//IL_1633: Unknown result type (might be due to invalid IL or missing references)
//IL_1688: Unknown result type (might be due to invalid IL or missing references)
//IL_1692: Expected O, but got Unknown
//IL_16af: Unknown result type (might be due to invalid IL or missing references)
//IL_174a: Unknown result type (might be due to invalid IL or missing references)
//IL_17b6: Unknown result type (might be due to invalid IL or missing references)
//IL_17c0: Expected O, but got Unknown
//IL_17dd: Unknown result type (might be due to invalid IL or missing references)
//IL_1852: Unknown result type (might be due to invalid IL or missing references)
//IL_185c: Expected O, but got Unknown
//IL_1878: Unknown result type (might be due to invalid IL or missing references)
//IL_18e1: Unknown result type (might be due to invalid IL or missing references)
//IL_18eb: Expected O, but got Unknown
//IL_1907: Unknown result type (might be due to invalid IL or missing references)
//IL_19c2: Unknown result type (might be due to invalid IL or missing references)
//IL_1a1e: Unknown result type (might be due to invalid IL or missing references)
//IL_1a28: Expected O, but got Unknown
//IL_1a51: Unknown result type (might be due to invalid IL or missing references)
//IL_1ace: Unknown result type (might be due to invalid IL or missing references)
//IL_1ad8: Expected O, but got Unknown
//IL_1b01: Unknown result type (might be due to invalid IL or missing references)
//IL_1b95: Unknown result type (might be due to invalid IL or missing references)
//IL_1b9f: Expected O, but got Unknown
//IL_1bc8: Unknown result type (might be due to invalid IL or missing references)
//IL_1c75: Unknown result type (might be due to invalid IL or missing references)
//IL_1ccf: Unknown result type (might be due to invalid IL or missing references)
//IL_1cd9: Expected O, but got Unknown
//IL_1ceb: Unknown result type (might be due to invalid IL or missing references)
//IL_1cf5: Expected O, but got Unknown
//IL_1d96: Unknown result type (might be due to invalid IL or missing references)
//IL_1dcd: Unknown result type (might be due to invalid IL or missing references)
//IL_1dd7: Expected O, but got Unknown
//IL_1de9: Unknown result type (might be due to invalid IL or missing references)
//IL_1df3: Expected O, but got Unknown
//IL_1e05: Unknown result type (might be due to invalid IL or missing references)
//IL_1e0f: Expected O, but got Unknown
//IL_1e63: Unknown result type (might be due to invalid IL or missing references)
//IL_1e6d: Expected O, but got Unknown
//IL_1e8a: Unknown result type (might be due to invalid IL or missing references)
//IL_1f15: Unknown result type (might be due to invalid IL or missing references)
//IL_1f1f: Expected O, but got Unknown
//IL_1f40: Unknown result type (might be due to invalid IL or missing references)
//IL_1fbb: Unknown result type (might be due to invalid IL or missing references)
//IL_1fc5: Expected O, but got Unknown
//IL_1fe2: Unknown result type (might be due to invalid IL or missing references)
//IL_207f: Unknown result type (might be due to invalid IL or missing references)
//IL_2089: Expected O, but got Unknown
//IL_20a5: Unknown result type (might be due to invalid IL or missing references)
//IL_2130: Unknown result type (might be due to invalid IL or missing references)
//IL_213a: Expected O, but got Unknown
//IL_215b: Unknown result type (might be due to invalid IL or missing references)
//IL_21f4: Unknown result type (might be due to invalid IL or missing references)
//IL_224f: Unknown result type (might be due to invalid IL or missing references)
//IL_2259: Expected O, but got Unknown
//IL_226b: Unknown result type (might be due to invalid IL or missing references)
//IL_2275: Expected O, but got Unknown
//IL_2316: Unknown result type (might be due to invalid IL or missing references)
//IL_234d: Unknown result type (might be due to invalid IL or missing references)
//IL_2357: Expected O, but got Unknown
//IL_2369: Unknown result type (might be due to invalid IL or missing references)
//IL_2373: Expected O, but got Unknown
//IL_2385: Unknown result type (might be due to invalid IL or missing references)
//IL_238f: Expected O, but got Unknown
//IL_23e3: Unknown result type (might be due to invalid IL or missing references)
//IL_23ed: Expected O, but got Unknown
//IL_240a: Unknown result type (might be due to invalid IL or missing references)
//IL_2495: Unknown result type (might be due to invalid IL or missing references)
//IL_249f: Expected O, but got Unknown
//IL_24c0: Unknown result type (might be due to invalid IL or missing references)
//IL_253b: Unknown result type (might be due to invalid IL or missing references)
//IL_2545: Expected O, but got Unknown
//IL_2566: Unknown result type (might be due to invalid IL or missing references)
//IL_25e1: Unknown result type (might be due to invalid IL or missing references)
//IL_25eb: Expected O, but got Unknown
//IL_2608: Unknown result type (might be due to invalid IL or missing references)
//IL_26a5: Unknown result type (might be due to invalid IL or missing references)
//IL_26af: Expected O, but got Unknown
//IL_26cb: Unknown result type (might be due to invalid IL or missing references)
//IL_2774: Unknown result type (might be due to invalid IL or missing references)
//IL_27cf: Unknown result type (might be due to invalid IL or missing references)
//IL_27d9: Expected O, but got Unknown
//IL_27eb: Unknown result type (might be due to invalid IL or missing references)
//IL_27f5: Expected O, but got Unknown
//IL_2896: Unknown result type (might be due to invalid IL or missing references)
//IL_28cd: Unknown result type (might be due to invalid IL or missing references)
//IL_28d7: Expected O, but got Unknown
//IL_28e9: Unknown result type (might be due to invalid IL or missing references)
//IL_28f3: Expected O, but got Unknown
//IL_2905: Unknown result type (might be due to invalid IL or missing references)
//IL_290f: Expected O, but got Unknown
//IL_2963: Unknown result type (might be due to invalid IL or missing references)
//IL_296d: Expected O, but got Unknown
//IL_298a: Unknown result type (might be due to invalid IL or missing references)
//IL_2a15: Unknown result type (might be due to invalid IL or missing references)
//IL_2a1f: Expected O, but got Unknown
//IL_2a40: Unknown result type (might be due to invalid IL or missing references)
//IL_2abb: Unknown result type (might be due to invalid IL or missing references)
//IL_2ac5: Expected O, but got Unknown
//IL_2ae2: Unknown result type (might be due to invalid IL or missing references)
//IL_2b6d: Unknown result type (might be due to invalid IL or missing references)
//IL_2b77: Expected O, but got Unknown
//IL_2b98: Unknown result type (might be due to invalid IL or missing references)
//IL_2c25: Unknown result type (might be due to invalid IL or missing references)
//IL_2c2f: Expected O, but got Unknown
//IL_2c4b: Unknown result type (might be due to invalid IL or missing references)
//IL_2ce8: Unknown result type (might be due to invalid IL or missing references)
//IL_2d56: Unknown result type (might be due to invalid IL or missing references)
//IL_2d60: Expected O, but got Unknown
//IL_2d72: Unknown result type (might be due to invalid IL or missing references)
//IL_2d7c: Expected O, but got Unknown
//IL_2e95: Unknown result type (might be due to invalid IL or missing references)
//IL_2ecc: Unknown result type (might be due to invalid IL or missing references)
//IL_2ed6: Expected O, but got Unknown
//IL_2ee8: Unknown result type (might be due to invalid IL or missing references)
//IL_2ef2: Expected O, but got Unknown
//IL_2f04: Unknown result type (might be due to invalid IL or missing references)
//IL_2f0e: Expected O, but got Unknown
//IL_2f20: Unknown result type (might be due to invalid IL or missing references)
//IL_2f2a: Expected O, but got Unknown
//IL_2f3c: Unknown result type (might be due to invalid IL or missing references)
//IL_2f46: Expected O, but got Unknown
//IL_2f58: Unknown result type (might be due to invalid IL or missing references)
//IL_2f62: Expected O, but got Unknown
//IL_2f74: Unknown result type (might be due to invalid IL or missing references)
//IL_2f7e: Expected O, but got Unknown
//IL_2f90: Unknown result type (might be due to invalid IL or missing references)
//IL_2f9a: Expected O, but got Unknown
//IL_2fac: Unknown result type (might be due to invalid IL or missing references)
//IL_2fb6: Expected O, but got Unknown
//IL_2fc8: Unknown result type (might be due to invalid IL or missing references)
//IL_2fd2: Expected O, but got Unknown
//IL_2fe4: Unknown result type (might be due to invalid IL or missing references)
//IL_2fee: Expected O, but got Unknown
//IL_3000: Unknown result type (might be due to invalid IL or missing references)
//IL_300a: Expected O, but got Unknown
//IL_301c: Unknown result type (might be due to invalid IL or missing references)
//IL_3026: Expected O, but got Unknown
//IL_3038: Unknown result type (might be due to invalid IL or missing references)
//IL_3042: Expected O, but got Unknown
//IL_3054: Unknown result type (might be due to invalid IL or missing references)
//IL_305e: Expected O, but got Unknown
//IL_30b6: Unknown result type (might be due to invalid IL or missing references)
//IL_30c0: Expected O, but got Unknown
//IL_30dd: Unknown result type (might be due to invalid IL or missing references)
//IL_3168: Unknown result type (might be due to invalid IL or missing references)
//IL_3172: Expected O, but got Unknown
//IL_3193: Unknown result type (might be due to invalid IL or missing references)
//IL_320e: Unknown result type (might be due to invalid IL or missing references)
//IL_3218: Expected O, but got Unknown
//IL_3235: Unknown result type (might be due to invalid IL or missing references)
//IL_32c0: Unknown result type (might be due to invalid IL or missing references)
//IL_32ca: Expected O, but got Unknown
//IL_32eb: Unknown result type (might be due to invalid IL or missing references)
//IL_3366: Unknown result type (might be due to invalid IL or missing references)
//IL_3370: Expected O, but got Unknown
//IL_338d: Unknown result type (might be due to invalid IL or missing references)
//IL_3418: Unknown result type (might be due to invalid IL or missing references)
//IL_3422: Expected O, but got Unknown
//IL_3443: Unknown result type (might be due to invalid IL or missing references)
//IL_34d5: Unknown result type (might be due to invalid IL or missing references)
//IL_34df: Expected O, but got Unknown
//IL_3500: Unknown result type (might be due to invalid IL or missing references)
//IL_357b: Unknown result type (might be due to invalid IL or missing references)
//IL_3585: Expected O, but got Unknown
//IL_35a2: Unknown result type (might be due to invalid IL or missing references)
//IL_3644: Unknown result type (might be due to invalid IL or missing references)
//IL_364e: Expected O, but got Unknown
//IL_366a: Unknown result type (might be due to invalid IL or missing references)
//IL_36f5: Unknown result type (might be due to invalid IL or missing references)
//IL_36ff: Expected O, but got Unknown
//IL_371f: Unknown result type (might be due to invalid IL or missing references)
//IL_3788: Unknown result type (might be due to invalid IL or missing references)
//IL_3792: Expected O, but got Unknown
//IL_37a4: Unknown result type (might be due to invalid IL or missing references)
//IL_37ae: Expected O, but got Unknown
//IL_37c0: Unknown result type (might be due to invalid IL or missing references)
//IL_37ca: Expected O, but got Unknown
//IL_37dc: Unknown result type (might be due to invalid IL or missing references)
//IL_37e6: Expected O, but got Unknown
//IL_37f8: Unknown result type (might be due to invalid IL or missing references)
//IL_3802: Expected O, but got Unknown
//IL_3814: Unknown result type (might be due to invalid IL or missing references)
//IL_381e: Expected O, but got Unknown
//IL_3830: Unknown result type (might be due to invalid IL or missing references)
//IL_383a: Expected O, but got Unknown
//IL_384c: Unknown result type (might be due to invalid IL or missing references)
//IL_3856: Expected O, but got Unknown
//IL_3868: Unknown result type (might be due to invalid IL or missing references)
//IL_3872: Expected O, but got Unknown
//IL_3a4f: Unknown result type (might be due to invalid IL or missing references)
//IL_3a86: Unknown result type (might be due to invalid IL or missing references)
//IL_3a90: Expected O, but got Unknown
//IL_3aa2: Unknown result type (might be due to invalid IL or missing references)
//IL_3aac: Expected O, but got Unknown
//IL_3b11: Unknown result type (might be due to invalid IL or missing references)
//IL_3b9d: Unknown result type (might be due to invalid IL or missing references)
//IL_3c2c: Unknown result type (might be due to invalid IL or missing references)
//IL_3cbb: Unknown result type (might be due to invalid IL or missing references)
//IL_3d4a: Unknown result type (might be due to invalid IL or missing references)
//IL_3dd9: Unknown result type (might be due to invalid IL or missing references)
//IL_3e68: Unknown result type (might be due to invalid IL or missing references)
//IL_3ef7: Unknown result type (might be due to invalid IL or missing references)
//IL_3f86: Unknown result type (might be due to invalid IL or missing references)
//IL_3ffa: Unknown result type (might be due to invalid IL or missing references)
//IL_4070: Unknown result type (might be due to invalid IL or missing references)
//IL_40e9: Unknown result type (might be due to invalid IL or missing references)
//IL_4162: Unknown result type (might be due to invalid IL or missing references)
//IL_41db: Unknown result type (might be due to invalid IL or missing references)
//IL_4254: Unknown result type (might be due to invalid IL or missing references)
//IL_42cd: Unknown result type (might be due to invalid IL or missing references)
//IL_4346: Unknown result type (might be due to invalid IL or missing references)
//IL_43bf: Unknown result type (might be due to invalid IL or missing references)
//IL_4456: Unknown result type (might be due to invalid IL or missing references)
//IL_4460: Expected O, but got Unknown
//IL_4499: Unknown result type (might be due to invalid IL or missing references)
//IL_4532: Unknown result type (might be due to invalid IL or missing references)
//IL_453c: Expected O, but got Unknown
//IL_454e: Unknown result type (might be due to invalid IL or missing references)
//IL_4558: Expected O, but got Unknown
//IL_4734: Unknown result type (might be due to invalid IL or missing references)
//IL_476c: Unknown result type (might be due to invalid IL or missing references)
//IL_4776: Expected O, but got Unknown
//IL_4788: Unknown result type (might be due to invalid IL or missing references)
//IL_4792: Expected O, but got Unknown
//IL_47a4: Unknown result type (might be due to invalid IL or missing references)
//IL_47ae: Expected O, but got Unknown
//IL_47c0: Unknown result type (might be due to invalid IL or missing references)
//IL_47ca: Expected O, but got Unknown
//IL_47dc: Unknown result type (might be due to invalid IL or missing references)
//IL_47e6: Expected O, but got Unknown
//IL_47f8: Unknown result type (might be due to invalid IL or missing references)
//IL_4802: Expected O, but got Unknown
//IL_4814: Unknown result type (might be due to invalid IL or missing references)
//IL_481e: Expected O, but got Unknown
//IL_4830: Unknown result type (might be due to invalid IL or missing references)
//IL_483a: Expected O, but got Unknown
//IL_484c: Unknown result type (might be due to invalid IL or missing references)
//IL_4856: Expected O, but got Unknown
//IL_4868: Unknown result type (might be due to invalid IL or missing references)
//IL_4872: Expected O, but got Unknown
//IL_4884: Unknown result type (might be due to invalid IL or missing references)
//IL_488e: Expected O, but got Unknown
//IL_48e5: Unknown result type (might be due to invalid IL or missing references)
//IL_48ef: Expected O, but got Unknown
//IL_490f: Unknown result type (might be due to invalid IL or missing references)
//IL_49a6: Unknown result type (might be due to invalid IL or missing references)
//IL_4a3a: Unknown result type (might be due to invalid IL or missing references)
//IL_4a44: Expected O, but got Unknown
//IL_4a64: Unknown result type (might be due to invalid IL or missing references)
//IL_4aef: Unknown result type (might be due to invalid IL or missing references)
//IL_4af9: Expected O, but got Unknown
//IL_4b19: Unknown result type (might be due to invalid IL or missing references)
//IL_4bb1: Unknown result type (might be due to invalid IL or missing references)
//IL_4c5e: Unknown result type (might be due to invalid IL or missing references)
//IL_4c68: Expected O, but got Unknown
//IL_4c88: Unknown result type (might be due to invalid IL or missing references)
//IL_4cf4: Unknown result type (might be due to invalid IL or missing references)
//IL_4cfe: Expected O, but got Unknown
//IL_4d33: Unknown result type (might be due to invalid IL or missing references)
//IL_4da5: Unknown result type (might be due to invalid IL or missing references)
//IL_4daf: Expected O, but got Unknown
//IL_4de3: Unknown result type (might be due to invalid IL or missing references)
//IL_4fe9: Unknown result type (might be due to invalid IL or missing references)
//IL_5063: Unknown result type (might be due to invalid IL or missing references)
//IL_511c: Unknown result type (might be due to invalid IL or missing references)
//IL_51ab: Unknown result type (might be due to invalid IL or missing references)
//IL_5255: Unknown result type (might be due to invalid IL or missing references)
//IL_52f5: Unknown result type (might be due to invalid IL or missing references)
//IL_53db: Unknown result type (might be due to invalid IL or missing references)
//IL_54a4: Unknown result type (might be due to invalid IL or missing references)
//IL_558d: Unknown result type (might be due to invalid IL or missing references)
//IL_55f3: Unknown result type (might be due to invalid IL or missing references)
//IL_56c4: Unknown result type (might be due to invalid IL or missing references)
//IL_572b: Unknown result type (might be due to invalid IL or missing references)
//IL_57c1: Unknown result type (might be due to invalid IL or missing references)
//IL_5864: Unknown result type (might be due to invalid IL or missing references)
//IL_586e: Expected O, but got Unknown
//IL_588b: Unknown result type (might be due to invalid IL or missing references)
//IL_590a: Unknown result type (might be due to invalid IL or missing references)
//IL_5971: Unknown result type (might be due to invalid IL or missing references)
//IL_597b: Expected O, but got Unknown
//IL_598d: Unknown result type (might be due to invalid IL or missing references)
//IL_5997: Expected O, but got Unknown
//IL_59a9: Unknown result type (might be due to invalid IL or missing references)
//IL_59b3: Expected O, but got Unknown
//IL_59c5: Unknown result type (might be due to invalid IL or missing references)
//IL_59cf: Expected O, but got Unknown
//IL_59e1: Unknown result type (might be due to invalid IL or missing references)
//IL_59eb: Expected O, but got Unknown
//IL_59fd: Unknown result type (might be due to invalid IL or missing references)
//IL_5a07: Expected O, but got Unknown
//IL_5ac0: Unknown result type (might be due to invalid IL or missing references)
//IL_5af7: Unknown result type (might be due to invalid IL or missing references)
//IL_5b01: Expected O, but got Unknown
//IL_5b5f: Unknown result type (might be due to invalid IL or missing references)
//IL_5b69: Expected O, but got Unknown
//IL_5b8c: Unknown result type (might be due to invalid IL or missing references)
//IL_5b96: Expected O, but got Unknown
//IL_5bb6: Unknown result type (might be due to invalid IL or missing references)
//IL_5c70: Unknown result type (might be due to invalid IL or missing references)
//IL_5c7a: Expected O, but got Unknown
//IL_5ca3: Unknown result type (might be due to invalid IL or missing references)
//IL_5d4d: Unknown result type (might be due to invalid IL or missing references)
//IL_5d57: Expected O, but got Unknown
//IL_5d7f: Unknown result type (might be due to invalid IL or missing references)
//IL_5e29: Unknown result type (might be due to invalid IL or missing references)
//IL_5e33: Expected O, but got Unknown
//IL_5e5f: Unknown result type (might be due to invalid IL or missing references)
//IL_5f09: Unknown result type (might be due to invalid IL or missing references)
//IL_5f13: Expected O, but got Unknown
//IL_5f3f: Unknown result type (might be due to invalid IL or missing references)
//IL_5fe9: Unknown result type (might be due to invalid IL or missing references)
//IL_5ff3: Expected O, but got Unknown
//IL_601f: Unknown result type (might be due to invalid IL or missing references)
//IL_6161: Unknown result type (might be due to invalid IL or missing references)
//IL_616b: Expected O, but got Unknown
//IL_6170: Unknown result type (might be due to invalid IL or missing references)
components = new Container();
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Form1));
contextMenuStrip1 = new ContextMenuStrip(components);
timer1 = new Timer(components);
listBox1 = new ListBox();
tabControl1 = new TabControl();
tabPage1 = new TabPage();
tabPage2 = new TabPage();
tabPage3 = new TabPage();
linkLabel1 = new LinkLabel();
button2 = new Button();
button1 = new Button();
pictureBox5 = new PictureBox();
panel4 = new Panel();
panel5 = new Panel();
panel6 = new Panel();
label5 = new Label();
splitContainer1 = new SplitContainer();
FrontVideo = new UCPictureBox();
panel1 = new Panel();
panel10 = new Panel();
waitServer = new Label();
waitPhone = new Label();
serialNumber = new Label();
panel8 = new Panel();
label19 = new Label();
panel9 = new Panel();
label18 = new Label();
label17 = new Label();
label16 = new Label();
panel2 = new Panel();
asus = new PictureBox();
huawei = new PictureBox();
samsung = new PictureBox();
panel_output = new Panel();
tableLayoutPanel7 = new TableLayoutPanel();
label11 = new Label();
IByteRateO = new Label();
label14 = new Label();
label34 = new Label();
IBitRateO = new Label();
panel_recived = new Panel();
tableLayoutPanel6 = new TableLayoutPanel();
label9 = new Label();
IBitRateI = new Label();
IByteRateI = new Label();
label13 = new Label();
label30 = new Label();
panel_send = new Panel();
tableLayoutPanel5 = new TableLayoutPanel();
label8 = new Label();
IBitRateV = new Label();
label12 = new Label();
IByteRateV = new Label();
IFPSV = new Label();
panel11 = new Panel();
tableLayoutPanel3 = new TableLayoutPanel();
label10 = new Label();
lAperture = new Label();
label6 = new Label();
lSTime = new Label();
label3 = new Label();
lDuration = new Label();
lISO = new Label();
label2 = new Label();
label4 = new Label();
lFocus = new Label();
tableLayoutPanel4 = new TableLayoutPanel();
label21 = new Label();
label22 = new Label();
label23 = new Label();
label24 = new Label();
label25 = new Label();
label26 = new Label();
label27 = new Label();
label28 = new Label();
label29 = new Label();
l1 = new Label();
l2 = new Label();
l3 = new Label();
l4 = new Label();
l5 = new Label();
l6 = new Label();
l7 = new Label();
l8 = new Label();
l9 = new Label();
listBox3 = new ListBox();
tableLayoutPanel1 = new TableLayoutPanel();
label15 = new Label();
FPS = new TrackBar();
labelExp = new Label();
labelFPS = new Label();
ISO = new TrackBar();
labelISO = new Label();
pContrast = new PictureBox();
pBright = new PictureBox();
BitRateBox = new ComboBox();
Exposure = new TrackBar();
Zoom = new TrackBar();
Focuse = new TrackBar();
Contrast = new TrackBar();
Brightness = new TrackBar();
panel3 = new Panel();
comboBox2 = new ComboBox();
comboBox1 = new ComboBox();
checkBox_saveVideo = new CheckBox();
panel_chenal = new Panel();
button9 = new Button();
chenal = new MaskedTextBox();
label1 = new Label();
trackBar1 = new TrackBar();
tableLayoutPanel2 = new TableLayoutPanel();
button8 = new Button();
button5 = new Button();
button6 = new Button();
button4 = new Button();
button3 = new Button();
button7 = new Button();
panel7 = new FlowLayoutPanel();
SaveXML = new Timer(components);
((Control)tabControl1).SuspendLayout();
((Control)tabPage2).SuspendLayout();
((Control)tabPage3).SuspendLayout();
((ISupportInitialize)pictureBox5).BeginInit();
((Control)panel4).SuspendLayout();
((Control)panel5).SuspendLayout();
((ISupportInitialize)splitContainer1).BeginInit();
((Control)splitContainer1.Panel1).SuspendLayout();
((Control)splitContainer1.Panel2).SuspendLayout();
((Control)splitContainer1).SuspendLayout();
((Control)panel1).SuspendLayout();
((Control)panel10).SuspendLayout();
((Control)panel8).SuspendLayout();
((Control)panel9).SuspendLayout();
((Control)panel2).SuspendLayout();
((ISupportInitialize)asus).BeginInit();
((ISupportInitialize)huawei).BeginInit();
((ISupportInitialize)samsung).BeginInit();
((Control)panel_output).SuspendLayout();
((Control)tableLayoutPanel7).SuspendLayout();
((Control)panel_recived).SuspendLayout();
((Control)tableLayoutPanel6).SuspendLayout();
((Control)panel_send).SuspendLayout();
((Control)tableLayoutPanel5).SuspendLayout();
((Control)panel11).SuspendLayout();
((Control)tableLayoutPanel3).SuspendLayout();
((Control)tableLayoutPanel4).SuspendLayout();
((Control)tableLayoutPanel1).SuspendLayout();
((ISupportInitialize)FPS).BeginInit();
((ISupportInitialize)ISO).BeginInit();
((ISupportInitialize)pContrast).BeginInit();
((ISupportInitialize)pBright).BeginInit();
((ISupportInitialize)Exposure).BeginInit();
((ISupportInitialize)Zoom).BeginInit();
((ISupportInitialize)Focuse).BeginInit();
((ISupportInitialize)Contrast).BeginInit();
((ISupportInitialize)Brightness).BeginInit();
((Control)panel3).SuspendLayout();
((Control)panel_chenal).SuspendLayout();
((ISupportInitialize)trackBar1).BeginInit();
((Control)tableLayoutPanel2).SuspendLayout();
((Control)this).SuspendLayout();
((ToolStrip)contextMenuStrip1).ImageScalingSize = new Size(24, 24);
((Control)contextMenuStrip1).Name = "contextMenuStrip1";
((Control)contextMenuStrip1).Size = new Size(61, 4);
timer1.Enabled = true;
timer1.Interval = 20;
timer1.Tick += timer1_Tick;
listBox1.BorderStyle = (BorderStyle)1;
((Control)listBox1).Dock = (DockStyle)5;
((Control)listBox1).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)0, (GraphicsUnit)3, (byte)0);
((ListControl)listBox1).FormattingEnabled = true;
listBox1.ItemHeight = 25;
((Control)listBox1).Location = new Point(3, 3);
((Control)listBox1).Name = "listBox1";
((Control)listBox1).Size = new Size(1323, 703);
((Control)listBox1).TabIndex = 0;
((Control)listBox1).DoubleClick += listBox1_DoubleClick;
tabControl1.Alignment = (TabAlignment)3;
((Control)tabControl1).Controls.Add((Control)(object)tabPage1);
((Control)tabControl1).Controls.Add((Control)(object)tabPage2);
((Control)tabControl1).Controls.Add((Control)(object)tabPage3);
((Control)tabControl1).Dock = (DockStyle)5;
((Control)tabControl1).Location = new Point(0, 0);
tabControl1.Multiline = true;
((Control)tabControl1).Name = "tabControl1";
tabControl1.SelectedIndex = 0;
((Control)tabControl1).Size = new Size(1367, 717);
((Control)tabControl1).TabIndex = 9;
((Control)tabControl1).Visible = false;
tabControl1.SelectedIndexChanged += tabControl1_SelectedIndexChanged;
tabPage1.Location = new Point(4, 4);
((Control)tabPage1).Name = "tabPage1";
((Control)tabPage1).Padding = new Padding(3);
((Control)tabPage1).Size = new Size(1329, 709);
tabPage1.TabIndex = 0;
((Control)tabPage1).Text = "stream";
tabPage1.UseVisualStyleBackColor = true;
((Control)tabPage2).Controls.Add((Control)(object)listBox1);
tabPage2.Location = new Point(4, 4);
((Control)tabPage2).Name = "tabPage2";
((Control)tabPage2).Padding = new Padding(3);
((Control)tabPage2).Size = new Size(1329, 709);
tabPage2.TabIndex = 1;
((Control)tabPage2).Text = "Log";
tabPage2.UseVisualStyleBackColor = true;
((Control)tabPage3).Controls.Add((Control)(object)linkLabel1);
((Control)tabPage3).Controls.Add((Control)(object)button2);
((Control)tabPage3).Controls.Add((Control)(object)button1);
((Control)tabPage3).Controls.Add((Control)(object)pictureBox5);
tabPage3.Location = new Point(4, 4);
((Control)tabPage3).Name = "tabPage3";
((Control)tabPage3).Padding = new Padding(3);
((Control)tabPage3).Size = new Size(1329, 709);
tabPage3.TabIndex = 2;
((Control)tabPage3).Text = "QR";
tabPage3.UseVisualStyleBackColor = true;
((Control)linkLabel1).AutoSize = true;
((Control)linkLabel1).Location = new Point(226, 8);
((Control)linkLabel1).Name = "linkLabel1";
((Control)linkLabel1).Size = new Size(0, 25);
((Control)linkLabel1).TabIndex = 3;
((Control)button2).Location = new Point(145, 3);
((Control)button2).Name = "button2";
((Control)button2).Size = new Size(75, 23);
((Control)button2).TabIndex = 2;
((Control)button2).Text = "Clone";
((ButtonBase)button2).UseVisualStyleBackColor = true;
((Control)button2).Visible = false;
((Control)button2).Click += button2_Click;
((Control)button1).Location = new Point(3, 3);
((Control)button1).Name = "button1";
((Control)button1).Size = new Size(136, 23);
((Control)button1).TabIndex = 1;
((Control)button1).Text = "Copy QR";
((ButtonBase)button1).UseVisualStyleBackColor = true;
((Control)button1).Visible = false;
((Control)button1).Click += button1_Click;
((Control)pictureBox5).BackgroundImageLayout = (ImageLayout)2;
((Control)pictureBox5).Dock = (DockStyle)5;
((Control)pictureBox5).Location = new Point(3, 3);
((Control)pictureBox5).Name = "pictureBox5";
((Control)pictureBox5).Size = new Size(1323, 703);
pictureBox5.TabIndex = 0;
pictureBox5.TabStop = false;
panel4.BorderStyle = (BorderStyle)1;
((Control)panel4).Controls.Add((Control)(object)panel5);
((Control)panel4).Controls.Add((Control)(object)label5);
((Control)panel4).Dock = (DockStyle)1;
((Control)panel4).Location = new Point(0, 0);
((Control)panel4).Margin = new Padding(5, 6, 5, 6);
((Control)panel4).Name = "panel4";
((Control)panel4).Size = new Size(2733, 37);
((Control)panel4).TabIndex = 11;
((Control)panel4).Enter += panel6_Enter;
((Control)panel5).BackColor = Color.Transparent;
((Control)panel5).Controls.Add((Control)(object)panel6);
((Control)panel5).Dock = (DockStyle)5;
((Control)panel5).Location = new Point(0, 0);
((Control)panel5).Margin = new Padding(5, 6, 5, 6);
((Control)panel5).Name = "panel5";
((Control)panel5).Size = new Size(2695, 35);
((Control)panel5).TabIndex = 12;
((Control)panel5).Enter += panel6_Enter;
((Control)panel6).BackColor = Color.Transparent;
((Control)panel6).Dock = (DockStyle)3;
((Control)panel6).Location = new Point(0, 0);
((Control)panel6).Margin = new Padding(5, 6, 5, 6);
((Control)panel6).Name = "panel6";
((Control)panel6).Size = new Size(1884, 35);
((Control)panel6).TabIndex = 0;
((Control)panel6).DoubleClick += panel6_DoubleClick;
((Control)panel6).Enter += panel6_Enter;
((Control)label5).AutoSize = true;
((Control)label5).Dock = (DockStyle)4;
((Control)label5).Font = new Font("Microsoft Sans Serif", 12f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)label5).Location = new Point(2695, 0);
((Control)label5).Margin = new Padding(5, 0, 5, 0);
((Control)label5).Name = "label5";
((Control)label5).Size = new Size(36, 29);
((Control)label5).TabIndex = 11;
((Control)label5).Text = "%";
((Control)label5).Enter += panel6_Enter;
((Control)splitContainer1).BackColor = SystemColors.Control;
splitContainer1.Dock = (DockStyle)5;
((Control)splitContainer1).Location = new Point(0, 37);
((Control)splitContainer1).Margin = new Padding(5, 6, 5, 6);
((Control)splitContainer1).Name = "splitContainer1";
((Control)splitContainer1.Panel1).Controls.Add((Control)(object)FrontVideo);
((Control)splitContainer1.Panel2).BackColor = Color.Transparent;
((Control)splitContainer1.Panel2).Controls.Add((Control)(object)panel1);
((Control)splitContainer1.Panel2).Controls.Add((Control)(object)panel_output);
((Control)splitContainer1.Panel2).Controls.Add((Control)(object)panel_recived);
((Control)splitContainer1.Panel2).Controls.Add((Control)(object)panel_send);
((Control)splitContainer1.Panel2).Controls.Add((Control)(object)panel11);
((Control)splitContainer1.Panel2).Controls.Add((Control)(object)tableLayoutPanel4);
((Control)splitContainer1.Panel2).Controls.Add((Control)(object)listBox3);
((Control)splitContainer1.Panel2).Controls.Add((Control)(object)tableLayoutPanel1);
((Control)splitContainer1.Panel2).Controls.Add((Control)(object)tableLayoutPanel2);
((Control)splitContainer1.Panel2).DoubleClick += SplitContainer1_Panel2_DoubleClick;
((Control)splitContainer1).Size = new Size(2733, 1342);
splitContainer1.SplitterDistance = 2062;
splitContainer1.SplitterWidth = 8;
((Control)splitContainer1).TabIndex = 13;
((Control)FrontVideo).BackColor = SystemColors.Control;
((Control)FrontVideo).BackgroundImageLayout = (ImageLayout)0;
((Control)FrontVideo).Dock = (DockStyle)5;
FrontVideo.Flip = 0;
FrontVideo.Image = null;
((Control)FrontVideo).Location = new Point(0, 0);
((Control)FrontVideo).Margin = new Padding(5, 6, 5, 6);
((Control)FrontVideo).Name = "FrontVideo";
FrontVideo.Rotate = 0;
((Control)FrontVideo).Size = new Size(2062, 1342);
FrontVideo.SizeImage = new Size(1280, 720);
((Control)FrontVideo).TabIndex = 4;
((Control)FrontVideo).TabStop = false;
((Control)FrontVideo).Enter += _Enter;
((Control)FrontVideo).KeyDown += new KeyEventHandler(FrontVideo_KeyDown);
((Control)FrontVideo).MouseClick += new MouseEventHandler(pictureBox2_MouseClick_1);
((Control)FrontVideo).MouseDoubleClick += new MouseEventHandler(pictureBox2_MouseClick);
((Control)FrontVideo).MouseDown += new MouseEventHandler(pictureBox2_MouseDown);
((Control)FrontVideo).MouseLeave += pictureBox2_MouseLeave;
((Control)FrontVideo).MouseMove += new MouseEventHandler(pictureBox2_MouseMove);
((Control)panel1).Controls.Add((Control)(object)panel10);
((Control)panel1).Controls.Add((Control)(object)panel8);
((Control)panel1).Controls.Add((Control)(object)panel2);
((Control)panel1).Dock = (DockStyle)2;
((Control)panel1).Location = new Point(0, 1172);
((Control)panel1).Margin = new Padding(5, 6, 5, 6);
((Control)panel1).Name = "panel1";
((Control)panel1).Size = new Size(663, 98);
((Control)panel1).TabIndex = 13;
((Control)panel10).Controls.Add((Control)(object)waitServer);
((Control)panel10).Controls.Add((Control)(object)waitPhone);
((Control)panel10).Controls.Add((Control)(object)serialNumber);
((Control)panel10).Dock = (DockStyle)3;
((Control)panel10).Location = new Point(180, 0);
((Control)panel10).Margin = new Padding(5, 6, 5, 6);
((Control)panel10).Name = "panel10";
((Control)panel10).Size = new Size(172, 98);
((Control)panel10).TabIndex = 15;
waitServer.BorderStyle = (BorderStyle)2;
((Control)waitServer).Dock = (DockStyle)2;
((Control)waitServer).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)waitServer).Location = new Point(0, 60);
((Control)waitServer).Margin = new Padding(5, 0, 5, 0);
((Control)waitServer).Name = "waitServer";
((Control)waitServer).Size = new Size(172, 38);
((Control)waitServer).TabIndex = 1;
waitServer.TextAlign = (ContentAlignment)1024;
waitPhone.BorderStyle = (BorderStyle)2;
((Control)waitPhone).Dock = (DockStyle)1;
((Control)waitPhone).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)waitPhone).Location = new Point(0, 0);
((Control)waitPhone).Margin = new Padding(5, 0, 5, 0);
((Control)waitPhone).Name = "waitPhone";
((Control)waitPhone).Size = new Size(172, 38);
((Control)waitPhone).TabIndex = 0;
waitPhone.TextAlign = (ContentAlignment)4;
((Control)waitPhone).Click += waitPhone_Click;
((Control)serialNumber).Font = new Font("Microsoft Sans Serif", 6f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)serialNumber).Location = new Point(8, 40);
((Control)serialNumber).Margin = new Padding(5, 0, 5, 0);
((Control)serialNumber).Name = "serialNumber";
((Control)serialNumber).Size = new Size(232, 18);
((Control)serialNumber).TabIndex = 2;
serialNumber.TextAlign = (ContentAlignment)32;
((Control)panel8).Controls.Add((Control)(object)label19);
((Control)panel8).Controls.Add((Control)(object)panel9);
((Control)panel8).Controls.Add((Control)(object)label16);
((Control)panel8).Dock = (DockStyle)3;
((Control)panel8).Location = new Point(0, 0);
((Control)panel8).Margin = new Padding(5, 6, 5, 6);
((Control)panel8).Name = "panel8";
((Control)panel8).Size = new Size(180, 98);
((Control)panel8).TabIndex = 14;
((Control)label19).Font = new Font("Microsoft Sans Serif", 6f, (FontStyle)6, (GraphicsUnit)3, (byte)204);
((Control)label19).Location = new Point(88, 2);
((Control)label19).Margin = new Padding(5, 0, 5, 0);
((Control)label19).Name = "label19";
((Control)label19).Size = new Size(91, 25);
((Control)label19).TabIndex = 2;
label19.TextAlign = (ContentAlignment)4;
((Control)panel9).Controls.Add((Control)(object)label18);
((Control)panel9).Controls.Add((Control)(object)label17);
((Control)panel9).Dock = (DockStyle)2;
((Control)panel9).Location = new Point(0, 73);
((Control)panel9).Margin = new Padding(5, 6, 5, 6);
((Control)panel9).Name = "panel9";
((Control)panel9).Size = new Size(180, 25);
((Control)panel9).TabIndex = 1;
label18.BorderStyle = (BorderStyle)2;
((Control)label18).Dock = (DockStyle)5;
((Control)label18).Font = new Font("Microsoft Sans Serif", 6f, (FontStyle)2, (GraphicsUnit)3, (byte)204);
((Control)label18).Location = new Point(91, 0);
((Control)label18).Margin = new Padding(5, 0, 5, 0);
((Control)label18).Name = "label18";
((Control)label18).Size = new Size(89, 25);
((Control)label18).TabIndex = 1;
label18.TextAlign = (ContentAlignment)4;
label17.BorderStyle = (BorderStyle)2;
((Control)label17).Dock = (DockStyle)3;
((Control)label17).Font = new Font("Microsoft Sans Serif", 6f, (FontStyle)2, (GraphicsUnit)3, (byte)204);
((Control)label17).Location = new Point(0, 0);
((Control)label17).Margin = new Padding(5, 0, 5, 0);
((Control)label17).Name = "label17";
((Control)label17).Size = new Size(91, 25);
((Control)label17).TabIndex = 0;
label16.BorderStyle = (BorderStyle)2;
((Control)label16).Dock = (DockStyle)1;
((Control)label16).Font = new Font("Microsoft Sans Serif", 12f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)label16).Location = new Point(0, 0);
((Control)label16).Margin = new Padding(5, 0, 5, 0);
((Control)label16).Name = "label16";
((Control)label16).Size = new Size(180, 72);
((Control)label16).TabIndex = 0;
label16.TextAlign = (ContentAlignment)512;
((Control)panel2).Controls.Add((Control)(object)asus);
((Control)panel2).Controls.Add((Control)(object)huawei);
((Control)panel2).Controls.Add((Control)(object)samsung);
((Control)panel2).Dock = (DockStyle)4;
((Control)panel2).Location = new Point(450, 0);
((Control)panel2).Margin = new Padding(5, 6, 5, 6);
((Control)panel2).Name = "panel2";
((Control)panel2).Size = new Size(213, 98);
((Control)panel2).TabIndex = 13;
((Control)asus).Anchor = (AnchorStyles)10;
((Control)asus).BackgroundImage = (Image)componentResourceManager.GetObject("asus.BackgroundImage");
((Control)asus).BackgroundImageLayout = (ImageLayout)4;
((Control)asus).Location = new Point(5, 10);
((Control)asus).Margin = new Padding(5, 6, 5, 6);
((Control)asus).Name = "asus";
((Control)asus).Size = new Size(100, 40);
asus.SizeMode = (PictureBoxSizeMode)2;
asus.TabIndex = 13;
asus.TabStop = false;
((Control)asus).Visible = false;
((Control)huawei).Anchor = (AnchorStyles)10;
((Control)huawei).BackgroundImage = (Image)componentResourceManager.GetObject("huawei.BackgroundImage");
((Control)huawei).BackgroundImageLayout = (ImageLayout)4;
((Control)huawei).Location = new Point(44, 0);
((Control)huawei).Margin = new Padding(5, 6, 5, 6);
((Control)huawei).Name = "huawei";
((Control)huawei).Size = new Size(60, 50);
huawei.SizeMode = (PictureBoxSizeMode)2;
huawei.TabIndex = 11;
huawei.TabStop = false;
((Control)huawei).Visible = false;
((Control)huawei).Click += pictureBox1_Click;
((Control)samsung).Anchor = (AnchorStyles)10;
((Control)samsung).BackgroundImage = (Image)componentResourceManager.GetObject("samsung.BackgroundImage");
((Control)samsung).BackgroundImageLayout = (ImageLayout)4;
((Control)samsung).Location = new Point(5, 21);
((Control)samsung).Margin = new Padding(5, 6, 5, 6);
((Control)samsung).Name = "samsung";
((Control)samsung).Size = new Size(100, 40);
samsung.SizeMode = (PictureBoxSizeMode)2;
samsung.TabIndex = 12;
samsung.TabStop = false;
((Control)samsung).Visible = false;
panel_output.BorderStyle = (BorderStyle)1;
((Control)panel_output).Controls.Add((Control)(object)tableLayoutPanel7);
((Control)panel_output).Dock = (DockStyle)1;
((Control)panel_output).Location = new Point(0, 1047);
((Control)panel_output).Margin = new Padding(5, 6, 5, 6);
((Control)panel_output).Name = "panel_output";
((Control)panel_output).Size = new Size(663, 127);
((Control)panel_output).TabIndex = 8;
tableLayoutPanel7.ColumnCount = 2;
tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle((SizeType)2, 33.45838f));
tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle((SizeType)2, 66.54162f));
tableLayoutPanel7.Controls.Add((Control)(object)label11, 0, 1);
tableLayoutPanel7.Controls.Add((Control)(object)IByteRateO, 1, 2);
tableLayoutPanel7.Controls.Add((Control)(object)label14, 0, 2);
tableLayoutPanel7.Controls.Add((Control)(object)label34, 0, 0);
tableLayoutPanel7.Controls.Add((Control)(object)IBitRateO, 1, 1);
((Control)tableLayoutPanel7).Dock = (DockStyle)5;
((Control)tableLayoutPanel7).Location = new Point(0, 0);
((Control)tableLayoutPanel7).Margin = new Padding(5, 6, 5, 6);
((Control)tableLayoutPanel7).Name = "tableLayoutPanel7";
tableLayoutPanel7.RowCount = 3;
tableLayoutPanel7.RowStyles.Add(new RowStyle((SizeType)2, 33.33333f));
tableLayoutPanel7.RowStyles.Add(new RowStyle((SizeType)2, 33.33333f));
tableLayoutPanel7.RowStyles.Add(new RowStyle((SizeType)2, 33.33333f));
((Control)tableLayoutPanel7).Size = new Size(661, 125);
((Control)tableLayoutPanel7).TabIndex = 7;
((Control)label11).Anchor = (AnchorStyles)15;
((Control)label11).AutoSize = true;
((Control)label11).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)label11).Location = new Point(5, 41);
((Control)label11).Margin = new Padding(5, 0, 5, 0);
((Control)label11).Name = "label11";
((Control)label11).Size = new Size(211, 41);
((Control)label11).TabIndex = 58;
((Control)label11).Text = "Bit rate";
label11.TextAlign = (ContentAlignment)64;
((Control)IByteRateO).Anchor = (AnchorStyles)15;
((Control)IByteRateO).AutoSize = true;
((Control)IByteRateO).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)IByteRateO).Location = new Point(226, 82);
((Control)IByteRateO).Margin = new Padding(5, 0, 5, 0);
((Control)IByteRateO).Name = "IByteRateO";
((Control)IByteRateO).Size = new Size(430, 43);
((Control)IByteRateO).TabIndex = 69;
IByteRateO.TextAlign = (ContentAlignment)64;
((Control)label14).Anchor = (AnchorStyles)15;
((Control)label14).AutoSize = true;
((Control)label14).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)label14).Location = new Point(5, 82);
((Control)label14).Margin = new Padding(5, 0, 5, 0);
((Control)label14).Name = "label14";
((Control)label14).Size = new Size(211, 43);
((Control)label14).TabIndex = 64;
((Control)label14).Text = "Byte rate";
label14.TextAlign = (ContentAlignment)64;
((Control)label34).Anchor = (AnchorStyles)15;
((Control)label34).AutoSize = true;
tableLayoutPanel7.SetColumnSpan((Control)(object)label34, 2);
((Control)label34).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)label34).Location = new Point(5, 0);
((Control)label34).Margin = new Padding(5, 0, 5, 0);
((Control)label34).Name = "label34";
((Control)label34).Size = new Size(651, 41);
((Control)label34).TabIndex = 71;
((Control)label34).Text = "Output";
label34.TextAlign = (ContentAlignment)32;
((Control)IBitRateO).Anchor = (AnchorStyles)15;
((Control)IBitRateO).AutoSize = true;
((Control)IBitRateO).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)IBitRateO).Location = new Point(226, 41);
((Control)IBitRateO).Margin = new Padding(5, 0, 5, 0);
((Control)IBitRateO).Name = "IBitRateO";
((Control)IBitRateO).Size = new Size(430, 41);
((Control)IBitRateO).TabIndex = 63;
IBitRateO.TextAlign = (ContentAlignment)64;
panel_recived.BorderStyle = (BorderStyle)1;
((Control)panel_recived).Controls.Add((Control)(object)tableLayoutPanel6);
((Control)panel_recived).Dock = (DockStyle)1;
((Control)panel_recived).Location = new Point(0, 920);
((Control)panel_recived).Margin = new Padding(5, 6, 5, 6);
((Control)panel_recived).Name = "panel_recived";
((Control)panel_recived).Size = new Size(663, 127);
((Control)panel_recived).TabIndex = 17;
tableLayoutPanel6.ColumnCount = 2;
tableLayoutPanel6.ColumnStyles.Add(new ColumnStyle((SizeType)2, 33.45838f));
tableLayoutPanel6.ColumnStyles.Add(new ColumnStyle((SizeType)2, 66.54162f));
tableLayoutPanel6.Controls.Add((Control)(object)label9, 0, 1);
tableLayoutPanel6.Controls.Add((Control)(object)IBitRateI, 1, 1);
tableLayoutPanel6.Controls.Add((Control)(object)IByteRateI, 1, 2);
tableLayoutPanel6.Controls.Add((Control)(object)label13, 0, 2);
tableLayoutPanel6.Controls.Add((Control)(object)label30, 0, 0);
((Control)tableLayoutPanel6).Dock = (DockStyle)5;
((Control)tableLayoutPanel6).Location = new Point(0, 0);
((Control)tableLayoutPanel6).Margin = new Padding(5, 6, 5, 6);
((Control)tableLayoutPanel6).Name = "tableLayoutPanel6";
tableLayoutPanel6.RowCount = 3;
tableLayoutPanel6.RowStyles.Add(new RowStyle((SizeType)2, 33.33333f));
tableLayoutPanel6.RowStyles.Add(new RowStyle((SizeType)2, 33.33333f));
tableLayoutPanel6.RowStyles.Add(new RowStyle((SizeType)2, 33.33333f));
((Control)tableLayoutPanel6).Size = new Size(661, 125);
((Control)tableLayoutPanel6).TabIndex = 6;
((Control)label9).Anchor = (AnchorStyles)15;
((Control)label9).AutoSize = true;
((Control)label9).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)label9).Location = new Point(5, 41);
((Control)label9).Margin = new Padding(5, 0, 5, 0);
((Control)label9).Name = "label9";
((Control)label9).Size = new Size(211, 41);
((Control)label9).TabIndex = 60;
((Control)label9).Text = "Bit rate";
label9.TextAlign = (ContentAlignment)64;
((Control)IBitRateI).Anchor = (AnchorStyles)15;
((Control)IBitRateI).AutoSize = true;
((Control)IBitRateI).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)IBitRateI).Location = new Point(226, 41);
((Control)IBitRateI).Margin = new Padding(5, 0, 5, 0);
((Control)IBitRateI).Name = "IBitRateI";
((Control)IBitRateI).Size = new Size(430, 41);
((Control)IBitRateI).TabIndex = 62;
IBitRateI.TextAlign = (ContentAlignment)64;
((Control)IByteRateI).Anchor = (AnchorStyles)15;
((Control)IByteRateI).AutoSize = true;
((Control)IByteRateI).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)IByteRateI).Location = new Point(226, 82);
((Control)IByteRateI).Margin = new Padding(5, 0, 5, 0);
((Control)IByteRateI).Name = "IByteRateI";
((Control)IByteRateI).Size = new Size(430, 43);
((Control)IByteRateI).TabIndex = 67;
IByteRateI.TextAlign = (ContentAlignment)64;
((Control)label13).Anchor = (AnchorStyles)15;
((Control)label13).AutoSize = true;
((Control)label13).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)label13).Location = new Point(5, 82);
((Control)label13).Margin = new Padding(5, 0, 5, 0);
((Control)label13).Name = "label13";
((Control)label13).Size = new Size(211, 43);
((Control)label13).TabIndex = 66;
((Control)label13).Text = "Byte rate";
label13.TextAlign = (ContentAlignment)64;
((Control)label30).Anchor = (AnchorStyles)15;
((Control)label30).AutoSize = true;
tableLayoutPanel6.SetColumnSpan((Control)(object)label30, 2);
((Control)label30).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)label30).Location = new Point(5, 0);
((Control)label30).Margin = new Padding(5, 0, 5, 0);
((Control)label30).Name = "label30";
((Control)label30).Size = new Size(651, 41);
((Control)label30).TabIndex = 73;
((Control)label30).Text = "Received";
label30.TextAlign = (ContentAlignment)32;
panel_send.BorderStyle = (BorderStyle)1;
((Control)panel_send).Controls.Add((Control)(object)tableLayoutPanel5);
((Control)panel_send).Dock = (DockStyle)1;
((Control)panel_send).Location = new Point(0, 793);
((Control)panel_send).Margin = new Padding(5, 6, 5, 6);
((Control)panel_send).Name = "panel_send";
((Control)panel_send).Size = new Size(663, 127);
((Control)panel_send).TabIndex = 16;
tableLayoutPanel5.ColumnCount = 2;
tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle((SizeType)2, 33.45838f));
tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle((SizeType)2, 66.54162f));
tableLayoutPanel5.Controls.Add((Control)(object)label8, 0, 1);
tableLayoutPanel5.Controls.Add((Control)(object)IBitRateV, 1, 1);
tableLayoutPanel5.Controls.Add((Control)(object)label12, 0, 2);
tableLayoutPanel5.Controls.Add((Control)(object)IByteRateV, 1, 2);
tableLayoutPanel5.Controls.Add((Control)(object)IFPSV, 0, 0);
((Control)tableLayoutPanel5).Dock = (DockStyle)5;
((Control)tableLayoutPanel5).Location = new Point(0, 0);
((Control)tableLayoutPanel5).Margin = new Padding(5, 6, 5, 6);
((Control)tableLayoutPanel5).Name = "tableLayoutPanel5";
tableLayoutPanel5.RowCount = 3;
tableLayoutPanel5.RowStyles.Add(new RowStyle((SizeType)2, 33.33333f));
tableLayoutPanel5.RowStyles.Add(new RowStyle((SizeType)2, 33.33333f));
tableLayoutPanel5.RowStyles.Add(new RowStyle((SizeType)2, 33.33333f));
((Control)tableLayoutPanel5).Size = new Size(661, 125);
((Control)tableLayoutPanel5).TabIndex = 5;
((Control)label8).Anchor = (AnchorStyles)15;
((Control)label8).AutoSize = true;
((Control)label8).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)label8).Location = new Point(5, 41);
((Control)label8).Margin = new Padding(5, 0, 5, 0);
((Control)label8).Name = "label8";
((Control)label8).Size = new Size(211, 41);
((Control)label8).TabIndex = 58;
((Control)label8).Text = "Bit rate";
label8.TextAlign = (ContentAlignment)64;
((Control)IBitRateV).Anchor = (AnchorStyles)15;
((Control)IBitRateV).AutoSize = true;
((Control)IBitRateV).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)IBitRateV).Location = new Point(226, 41);
((Control)IBitRateV).Margin = new Padding(5, 0, 5, 0);
((Control)IBitRateV).Name = "IBitRateV";
((Control)IBitRateV).Size = new Size(430, 41);
((Control)IBitRateV).TabIndex = 59;
IBitRateV.TextAlign = (ContentAlignment)64;
((Control)label12).Anchor = (AnchorStyles)15;
((Control)label12).AutoSize = true;
((Control)label12).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)label12).Location = new Point(5, 82);
((Control)label12).Margin = new Padding(5, 0, 5, 0);
((Control)label12).Name = "label12";
((Control)label12).Size = new Size(211, 43);
((Control)label12).TabIndex = 64;
((Control)label12).Text = "Byte rate";
label12.TextAlign = (ContentAlignment)64;
((Control)IByteRateV).Anchor = (AnchorStyles)15;
((Control)IByteRateV).AutoSize = true;
((Control)IByteRateV).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((Control)IByteRateV).Location = new Point(226, 82);
((Control)IByteRateV).Margin = new Padding(5, 0, 5, 0);
((Control)IByteRateV).Name = "IByteRateV";
((Control)IByteRateV).Size = new Size(430, 43);
((Control)IByteRateV).TabIndex = 65;
IByteRateV.TextAlign = (ContentAlignment)64;
((Control)IFPSV).Anchor = (AnchorStyles)15;
((Control)IFPSV).AutoSize = true;
tableLayoutPanel5.SetColumnSpan((Control)(object)IFPSV, 2);
((Control)IFPSV).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)IFPSV).Location = new Point(5, 0);
((Control)IFPSV).Margin = new Padding(5, 0, 5, 0);
((Control)IFPSV).Name = "IFPSV";
((Control)IFPSV).Size = new Size(651, 41);
((Control)IFPSV).TabIndex = 71;
((Control)IFPSV).Text = "Sent";
IFPSV.TextAlign = (ContentAlignment)32;
((Control)panel11).Controls.Add((Control)(object)tableLayoutPanel3);
((Control)panel11).Dock = (DockStyle)1;
((Control)panel11).Location = new Point(0, 641);
((Control)panel11).Margin = new Padding(5, 6, 5, 6);
((Control)panel11).Name = "panel11";
((Control)panel11).Size = new Size(663, 152);
((Control)panel11).TabIndex = 15;
((Control)tableLayoutPanel3).BackColor = SystemColors.Control;
tableLayoutPanel3.ColumnCount = 2;
tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle((SizeType)2, 34.375f));
tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle((SizeType)2, 65.625f));
tableLayoutPanel3.Controls.Add((Control)(object)label10, 0, 4);
tableLayoutPanel3.Controls.Add((Control)(object)lAperture, 1, 4);
tableLayoutPanel3.Controls.Add((Control)(object)label6, 0, 3);
tableLayoutPanel3.Controls.Add((Control)(object)lSTime, 1, 3);
tableLayoutPanel3.Controls.Add((Control)(object)label3, 0, 2);
tableLayoutPanel3.Controls.Add((Control)(object)lDuration, 1, 2);
tableLayoutPanel3.Controls.Add((Control)(object)lISO, 1, 1);
tableLayoutPanel3.Controls.Add((Control)(object)label2, 0, 1);
tableLayoutPanel3.Controls.Add((Control)(object)label4, 0, 0);
tableLayoutPanel3.Controls.Add((Control)(object)lFocus, 1, 0);
((Control)tableLayoutPanel3).Dock = (DockStyle)5;
((Control)tableLayoutPanel3).Location = new Point(0, 0);
((Control)tableLayoutPanel3).Margin = new Padding(5, 6, 5, 6);
((Control)tableLayoutPanel3).Name = "tableLayoutPanel3";
tableLayoutPanel3.RowCount = 5;
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 20f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 20f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 20f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 20f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 20f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)1, 38f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)1, 38f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)1, 38f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)1, 38f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)1, 38f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)1, 38f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)1, 38f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)1, 38f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)1, 38f));
tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)1, 38f));
((Control)tableLayoutPanel3).Size = new Size(663, 152);
((Control)tableLayoutPanel3).TabIndex = 9;
((Control)label10).Anchor = (AnchorStyles)15;
((Control)label10).AutoSize = true;
((Control)label10).Font = new Font("Microsoft Sans Serif", 9f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)label10).Location = new Point(5, 120);
((Control)label10).Margin = new Padding(5, 0, 5, 0);
((Control)label10).Name = "label10";
((Control)label10).Size = new Size(217, 32);
((Control)label10).TabIndex = 57;
((Control)label10).Text = "Aperture";
label10.TextAlign = (ContentAlignment)64;
((Control)lAperture).Anchor = (AnchorStyles)15;
((Control)lAperture).AutoSize = true;
((Control)lAperture).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)lAperture).Location = new Point(232, 120);
((Control)lAperture).Margin = new Padding(5, 0, 5, 0);
((Control)lAperture).Name = "lAperture";
((Control)lAperture).Size = new Size(426, 32);
((Control)lAperture).TabIndex = 55;
lAperture.TextAlign = (ContentAlignment)16;
((Control)label6).Anchor = (AnchorStyles)15;
((Control)label6).AutoSize = true;
((Control)label6).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)label6).Location = new Point(5, 90);
((Control)label6).Margin = new Padding(5, 0, 5, 0);
((Control)label6).Name = "label6";
((Control)label6).Size = new Size(217, 30);
((Control)label6).TabIndex = 56;
((Control)label6).Text = "Exposure";
label6.TextAlign = (ContentAlignment)64;
((Control)lSTime).Anchor = (AnchorStyles)15;
((Control)lSTime).AutoSize = true;
((Control)lSTime).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)lSTime).Location = new Point(232, 90);
((Control)lSTime).Margin = new Padding(5, 0, 5, 0);
((Control)lSTime).Name = "lSTime";
((Control)lSTime).Size = new Size(426, 30);
((Control)lSTime).TabIndex = 52;
lSTime.TextAlign = (ContentAlignment)16;
((Control)label3).Anchor = (AnchorStyles)15;
((Control)label3).AutoSize = true;
((Control)label3).Font = new Font("Microsoft Sans Serif", 9f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)label3).Location = new Point(5, 60);
((Control)label3).Margin = new Padding(5, 0, 5, 0);
((Control)label3).Name = "label3";
((Control)label3).Size = new Size(217, 30);
((Control)label3).TabIndex = 54;
((Control)label3).Text = "FPS";
label3.TextAlign = (ContentAlignment)64;
((Control)lDuration).Anchor = (AnchorStyles)15;
((Control)lDuration).AutoSize = true;
((Control)lDuration).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)lDuration).Location = new Point(232, 60);
((Control)lDuration).Margin = new Padding(5, 0, 5, 0);
((Control)lDuration).Name = "lDuration";
((Control)lDuration).Size = new Size(426, 30);
((Control)lDuration).TabIndex = 51;
lDuration.TextAlign = (ContentAlignment)16;
((Control)lDuration).Click += LDuration_Click;
((Control)lISO).Anchor = (AnchorStyles)15;
((Control)lISO).AutoSize = true;
((Control)lISO).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)lISO).Location = new Point(232, 30);
((Control)lISO).Margin = new Padding(5, 0, 5, 0);
((Control)lISO).Name = "lISO";
((Control)lISO).Size = new Size(426, 30);
((Control)lISO).TabIndex = 53;
lISO.TextAlign = (ContentAlignment)16;
((Control)label2).Anchor = (AnchorStyles)15;
((Control)label2).AutoSize = true;
((Control)label2).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)label2).Location = new Point(5, 30);
((Control)label2).Margin = new Padding(5, 0, 5, 0);
((Control)label2).Name = "label2";
((Control)label2).Size = new Size(217, 30);
((Control)label2).TabIndex = 48;
((Control)label2).Text = "ISO";
label2.TextAlign = (ContentAlignment)64;
((Control)label2).Click += Label2_Click;
((Control)label4).Anchor = (AnchorStyles)15;
((Control)label4).AutoSize = true;
((Control)label4).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)label4).Location = new Point(5, 0);
((Control)label4).Margin = new Padding(5, 0, 5, 0);
((Control)label4).Name = "label4";
((Control)label4).Size = new Size(217, 30);
((Control)label4).TabIndex = 50;
((Control)label4).Text = "Focus";
label4.TextAlign = (ContentAlignment)64;
((Control)lFocus).Anchor = (AnchorStyles)15;
((Control)lFocus).AutoSize = true;
((Control)lFocus).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)lFocus).Location = new Point(232, 0);
((Control)lFocus).Margin = new Padding(5, 0, 5, 0);
((Control)lFocus).Name = "lFocus";
((Control)lFocus).Size = new Size(426, 30);
((Control)lFocus).TabIndex = 49;
lFocus.TextAlign = (ContentAlignment)16;
tableLayoutPanel4.ColumnCount = 9;
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f));
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f));
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f));
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f));
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f));
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f));
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f));
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f));
tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f));
tableLayoutPanel4.Controls.Add((Control)(object)label21, 0, 0);
tableLayoutPanel4.Controls.Add((Control)(object)label22, 1, 0);
tableLayoutPanel4.Controls.Add((Control)(object)label23, 2, 0);
tableLayoutPanel4.Controls.Add((Control)(object)label24, 3, 0);
tableLayoutPanel4.Controls.Add((Control)(object)label25, 4, 0);
tableLayoutPanel4.Controls.Add((Control)(object)label26, 5, 0);
tableLayoutPanel4.Controls.Add((Control)(object)label27, 6, 0);
tableLayoutPanel4.Controls.Add((Control)(object)label28, 7, 0);
tableLayoutPanel4.Controls.Add((Control)(object)label29, 8, 0);
tableLayoutPanel4.Controls.Add((Control)(object)l1, 0, 1);
tableLayoutPanel4.Controls.Add((Control)(object)l2, 1, 1);
tableLayoutPanel4.Controls.Add((Control)(object)l3, 2, 1);
tableLayoutPanel4.Controls.Add((Control)(object)l4, 3, 1);
tableLayoutPanel4.Controls.Add((Control)(object)l5, 4, 1);
tableLayoutPanel4.Controls.Add((Control)(object)l6, 5, 1);
tableLayoutPanel4.Controls.Add((Control)(object)l7, 6, 1);
tableLayoutPanel4.Controls.Add((Control)(object)l8, 7, 1);
tableLayoutPanel4.Controls.Add((Control)(object)l9, 8, 1);
((Control)tableLayoutPanel4).Dock = (DockStyle)2;
((Control)tableLayoutPanel4).Location = new Point(0, 1270);
((Control)tableLayoutPanel4).Margin = new Padding(5, 6, 5, 6);
((Control)tableLayoutPanel4).Name = "tableLayoutPanel4";
tableLayoutPanel4.RowCount = 2;
tableLayoutPanel4.RowStyles.Add(new RowStyle((SizeType)2, 50f));
tableLayoutPanel4.RowStyles.Add(new RowStyle((SizeType)2, 50f));
((Control)tableLayoutPanel4).Size = new Size(663, 68);
((Control)tableLayoutPanel4).TabIndex = 14;
((Control)tableLayoutPanel4).Visible = false;
((Control)label21).AutoSize = true;
((Control)label21).Dock = (DockStyle)5;
((Control)label21).Location = new Point(5, 0);
((Control)label21).Margin = new Padding(5, 0, 5, 0);
((Control)label21).Name = "label21";
((Control)label21).Size = new Size(63, 34);
((Control)label21).TabIndex = 0;
((Control)label21).Text = "1";
label21.TextAlign = (ContentAlignment)32;
((Control)label22).AutoSize = true;
((Control)label22).Dock = (DockStyle)5;
((Control)label22).Location = new Point(78, 0);
((Control)label22).Margin = new Padding(5, 0, 5, 0);
((Control)label22).Name = "label22";
((Control)label22).Size = new Size(63, 34);
((Control)label22).TabIndex = 1;
((Control)label22).Text = "2";
label22.TextAlign = (ContentAlignment)32;
((Control)label23).AutoSize = true;
((Control)label23).Dock = (DockStyle)5;
((Control)label23).Location = new Point(151, 0);
((Control)label23).Margin = new Padding(5, 0, 5, 0);
((Control)label23).Name = "label23";
((Control)label23).Size = new Size(63, 34);
((Control)label23).TabIndex = 2;
((Control)label23).Text = "3";
label23.TextAlign = (ContentAlignment)32;
((Control)label24).AutoSize = true;
((Control)label24).Dock = (DockStyle)5;
((Control)label24).Location = new Point(224, 0);
((Control)label24).Margin = new Padding(5, 0, 5, 0);
((Control)label24).Name = "label24";
((Control)label24).Size = new Size(63, 34);
((Control)label24).TabIndex = 3;
((Control)label24).Text = "4";
label24.TextAlign = (ContentAlignment)32;
((Control)label25).AutoSize = true;
((Control)label25).Dock = (DockStyle)5;
((Control)label25).Location = new Point(297, 0);
((Control)label25).Margin = new Padding(5, 0, 5, 0);
((Control)label25).Name = "label25";
((Control)label25).Size = new Size(63, 34);
((Control)label25).TabIndex = 4;
((Control)label25).Text = "5";
label25.TextAlign = (ContentAlignment)32;
((Control)label26).AutoSize = true;
((Control)label26).Dock = (DockStyle)5;
((Control)label26).Location = new Point(370, 0);
((Control)label26).Margin = new Padding(5, 0, 5, 0);
((Control)label26).Name = "label26";
((Control)label26).Size = new Size(63, 34);
((Control)label26).TabIndex = 5;
((Control)label26).Text = "6";
label26.TextAlign = (ContentAlignment)32;
((Control)label27).AutoSize = true;
((Control)label27).Dock = (DockStyle)5;
((Control)label27).Location = new Point(443, 0);
((Control)label27).Margin = new Padding(5, 0, 5, 0);
((Control)label27).Name = "label27";
((Control)label27).Size = new Size(63, 34);
((Control)label27).TabIndex = 6;
((Control)label27).Text = "7";
label27.TextAlign = (ContentAlignment)32;
((Control)label28).AutoSize = true;
((Control)label28).Dock = (DockStyle)5;
((Control)label28).Location = new Point(516, 0);
((Control)label28).Margin = new Padding(5, 0, 5, 0);
((Control)label28).Name = "label28";
((Control)label28).Size = new Size(63, 34);
((Control)label28).TabIndex = 7;
((Control)label28).Text = "8";
label28.TextAlign = (ContentAlignment)32;
((Control)label29).AutoSize = true;
((Control)label29).Dock = (DockStyle)5;
((Control)label29).Location = new Point(589, 0);
((Control)label29).Margin = new Padding(5, 0, 5, 0);
((Control)label29).Name = "label29";
((Control)label29).Size = new Size(69, 34);
((Control)label29).TabIndex = 8;
((Control)label29).Text = "9";
label29.TextAlign = (ContentAlignment)32;
((Control)l1).Location = new Point(5, 34);
((Control)l1).Margin = new Padding(5, 0, 5, 0);
((Control)l1).Name = "l1";
((Control)l1).Size = new Size(59, 25);
((Control)l1).TabIndex = 9;
((Control)l1).Text = "0";
l1.TextAlign = (ContentAlignment)32;
((Control)l2).Location = new Point(78, 34);
((Control)l2).Margin = new Padding(5, 0, 5, 0);
((Control)l2).Name = "l2";
((Control)l2).Size = new Size(59, 25);
((Control)l2).TabIndex = 10;
((Control)l2).Text = "0";
l2.TextAlign = (ContentAlignment)32;
((Control)l3).Location = new Point(151, 34);
((Control)l3).Margin = new Padding(5, 0, 5, 0);
((Control)l3).Name = "l3";
((Control)l3).Size = new Size(59, 25);
((Control)l3).TabIndex = 11;
((Control)l3).Text = "0";
l3.TextAlign = (ContentAlignment)32;
((Control)l4).Location = new Point(224, 34);
((Control)l4).Margin = new Padding(5, 0, 5, 0);
((Control)l4).Name = "l4";
((Control)l4).Size = new Size(59, 25);
((Control)l4).TabIndex = 12;
((Control)l4).Text = "0";
l4.TextAlign = (ContentAlignment)32;
((Control)l5).Location = new Point(297, 34);
((Control)l5).Margin = new Padding(5, 0, 5, 0);
((Control)l5).Name = "l5";
((Control)l5).Size = new Size(59, 25);
((Control)l5).TabIndex = 13;
((Control)l5).Text = "0";
l5.TextAlign = (ContentAlignment)32;
((Control)l6).Location = new Point(370, 34);
((Control)l6).Margin = new Padding(5, 0, 5, 0);
((Control)l6).Name = "l6";
((Control)l6).Size = new Size(59, 25);
((Control)l6).TabIndex = 14;
((Control)l6).Text = "0";
l6.TextAlign = (ContentAlignment)32;
((Control)l7).Location = new Point(443, 34);
((Control)l7).Margin = new Padding(5, 0, 5, 0);
((Control)l7).Name = "l7";
((Control)l7).Size = new Size(59, 25);
((Control)l7).TabIndex = 15;
((Control)l7).Text = "0";
l7.TextAlign = (ContentAlignment)32;
((Control)l8).Location = new Point(516, 34);
((Control)l8).Margin = new Padding(5, 0, 5, 0);
((Control)l8).Name = "l8";
((Control)l8).Size = new Size(59, 25);
((Control)l8).TabIndex = 16;
((Control)l8).Text = "0";
l8.TextAlign = (ContentAlignment)32;
((Control)l9).Location = new Point(589, 34);
((Control)l9).Margin = new Padding(5, 0, 5, 0);
((Control)l9).Name = "l9";
((Control)l9).Size = new Size(65, 25);
((Control)l9).TabIndex = 17;
((Control)l9).Text = "0";
l9.TextAlign = (ContentAlignment)32;
((Control)listBox3).BackColor = SystemColors.Control;
((Control)listBox3).Dock = (DockStyle)2;
((Control)listBox3).Enabled = false;
((Control)listBox3).Font = new Font("Microsoft Sans Serif", 6f, (FontStyle)0, (GraphicsUnit)3, (byte)204);
((ListControl)listBox3).FormattingEnabled = true;
listBox3.ItemHeight = 15;
((Control)listBox3).Location = new Point(0, 1338);
((Control)listBox3).Margin = new Padding(5, 6, 5, 6);
((Control)listBox3).Name = "listBox3";
((Control)listBox3).Size = new Size(663, 4);
((Control)listBox3).TabIndex = 10;
((Control)listBox3).Visible = false;
((Control)listBox3).DoubleClick += ListBox3_DoubleClick;
((Control)tableLayoutPanel1).BackColor = SystemColors.Control;
tableLayoutPanel1.CellBorderStyle = (TableLayoutPanelCellBorderStyle)1;
tableLayoutPanel1.ColumnCount = 2;
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle((SizeType)1, 160f));
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle((SizeType)2, 100f));
tableLayoutPanel1.Controls.Add((Control)(object)label15, 0, 6);
tableLayoutPanel1.Controls.Add((Control)(object)FPS, 1, 4);
tableLayoutPanel1.Controls.Add((Control)(object)labelExp, 0, 5);
tableLayoutPanel1.Controls.Add((Control)(object)labelFPS, 0, 4);
tableLayoutPanel1.Controls.Add((Control)(object)ISO, 1, 3);
tableLayoutPanel1.Controls.Add((Control)(object)labelISO, 0, 3);
tableLayoutPanel1.Controls.Add((Control)(object)pContrast, 0, 1);
tableLayoutPanel1.Controls.Add((Control)(object)pBright, 0, 0);
tableLayoutPanel1.Controls.Add((Control)(object)BitRateBox, 1, 8);
tableLayoutPanel1.Controls.Add((Control)(object)Exposure, 1, 5);
tableLayoutPanel1.Controls.Add((Control)(object)Zoom, 1, 6);
tableLayoutPanel1.Controls.Add((Control)(object)Focuse, 1, 2);
tableLayoutPanel1.Controls.Add((Control)(object)Contrast, 1, 1);
tableLayoutPanel1.Controls.Add((Control)(object)Brightness, 1, 0);
tableLayoutPanel1.Controls.Add((Control)(object)panel3, 1, 9);
tableLayoutPanel1.Controls.Add((Control)(object)panel_chenal, 0, 9);
tableLayoutPanel1.Controls.Add((Control)(object)label1, 0, 2);
tableLayoutPanel1.Controls.Add((Control)(object)trackBar1, 1, 7);
((Control)tableLayoutPanel1).Dock = (DockStyle)1;
((Control)tableLayoutPanel1).Location = new Point(0, 106);
((Control)tableLayoutPanel1).Margin = new Padding(5, 6, 5, 6);
((Control)tableLayoutPanel1).Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 10;
tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 48f));
tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 48f));
tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 78f));
tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 48f));
tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 48f));
tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 48f));
tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 48f));
tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 48f));
tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 48f));
tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 48f));
tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 38f));
((Control)tableLayoutPanel1).Size = new Size(663, 535);
((Control)tableLayoutPanel1).TabIndex = 6;
((Control)label15).Anchor = (AnchorStyles)15;
((Control)label15).AutoSize = true;
((Control)label15).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)label15).Location = new Point(6, 325);
((Control)label15).Margin = new Padding(5, 0, 5, 0);
((Control)label15).Name = "label15";
((Control)label15).Size = new Size(150, 48);
((Control)label15).TabIndex = 54;
((Control)label15).Text = "zoom";
label15.TextAlign = (ContentAlignment)32;
((Control)FPS).Dock = (DockStyle)5;
FPS.LargeChange = 4;
((Control)FPS).Location = new Point(167, 233);
((Control)FPS).Margin = new Padding(5, 6, 5, 6);
FPS.Maximum = 24;
FPS.Minimum = 2;
((Control)FPS).Name = "FPS";
((Control)FPS).Size = new Size(490, 36);
((Control)FPS).TabIndex = 53;
FPS.Value = 21;
((Control)labelExp).Anchor = (AnchorStyles)15;
((Control)labelExp).AutoSize = true;
((Control)labelExp).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)labelExp).Location = new Point(6, 276);
((Control)labelExp).Margin = new Padding(5, 0, 5, 0);
((Control)labelExp).Name = "labelExp";
((Control)labelExp).Size = new Size(150, 48);
((Control)labelExp).TabIndex = 52;
((Control)labelExp).Text = "exposure";
labelExp.TextAlign = (ContentAlignment)32;
((Control)labelFPS).Anchor = (AnchorStyles)15;
((Control)labelFPS).AutoSize = true;
((Control)labelFPS).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)labelFPS).Location = new Point(6, 227);
((Control)labelFPS).Margin = new Padding(5, 0, 5, 0);
((Control)labelFPS).Name = "labelFPS";
((Control)labelFPS).Size = new Size(150, 48);
((Control)labelFPS).TabIndex = 51;
((Control)labelFPS).Text = "FPS";
labelFPS.TextAlign = (ContentAlignment)32;
((Control)ISO).Dock = (DockStyle)5;
ISO.LargeChange = 10;
((Control)ISO).Location = new Point(167, 184);
((Control)ISO).Margin = new Padding(5, 6, 5, 6);
ISO.Maximum = 1210;
ISO.Minimum = 1;
((Control)ISO).Name = "ISO";
((Control)ISO).Size = new Size(490, 36);
((Control)ISO).TabIndex = 50;
ISO.Value = 1;
ISO.ValueChanged += ISO_ValueChanged;
((Control)labelISO).Anchor = (AnchorStyles)15;
((Control)labelISO).AutoSize = true;
((Control)labelISO).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)labelISO).Location = new Point(6, 178);
((Control)labelISO).Margin = new Padding(5, 0, 5, 0);
((Control)labelISO).Name = "labelISO";
((Control)labelISO).Size = new Size(150, 48);
((Control)labelISO).TabIndex = 49;
((Control)labelISO).Text = "ISO";
labelISO.TextAlign = (ContentAlignment)32;
((Control)pContrast).BackgroundImage = (Image)componentResourceManager.GetObject("pContrast.BackgroundImage");
((Control)pContrast).BackgroundImageLayout = (ImageLayout)4;
((Control)pContrast).Dock = (DockStyle)5;
((Control)pContrast).Location = new Point(6, 56);
((Control)pContrast).Margin = new Padding(5, 6, 5, 6);
((Control)pContrast).Name = "pContrast";
((Control)pContrast).Size = new Size(150, 36);
pContrast.TabIndex = 46;
pContrast.TabStop = false;
((Control)pContrast).DoubleClick += pictureBox4_DoubleClick;
((Control)pBright).BackgroundImage = (Image)componentResourceManager.GetObject("pBright.BackgroundImage");
((Control)pBright).BackgroundImageLayout = (ImageLayout)4;
((Control)pBright).Dock = (DockStyle)5;
((Control)pBright).Location = new Point(6, 7);
((Control)pBright).Margin = new Padding(5, 6, 5, 6);
((Control)pBright).Name = "pBright";
((Control)pBright).Size = new Size(150, 36);
pBright.TabIndex = 8;
pBright.TabStop = false;
((Control)pBright).DoubleClick += pictureBox1_DoubleClick;
((Control)BitRateBox).BackColor = SystemColors.Window;
((Control)BitRateBox).Dock = (DockStyle)5;
BitRateBox.DropDownStyle = (ComboBoxStyle)2;
BitRateBox.FlatStyle = (FlatStyle)1;
((Control)BitRateBox).ForeColor = SystemColors.WindowText;
((ListControl)BitRateBox).FormattingEnabled = true;
BitRateBox.ItemHeight = 25;
BitRateBox.Items.AddRange(new object[31]
{
"100k", "250k", "500k", "750k", "1000k", "1500k", "1800k", "2000k", "2500k", "2800k",
"2900k", "3M", "4M", "5M", "6M", "7M", "8M", "9M", "10M", "11M",
"12M", "15M", "20M", "25M", "30M", "35M", "40M", "45M", "50M", "60M",
"70M"
});
((Control)BitRateBox).Location = new Point(167, 429);
((Control)BitRateBox).Margin = new Padding(5, 6, 5, 6);
((Control)BitRateBox).Name = "BitRateBox";
((Control)BitRateBox).Size = new Size(490, 33);
((Control)BitRateBox).TabIndex = 42;
((Control)Exposure).Dock = (DockStyle)5;
Exposure.LargeChange = 1;
((Control)Exposure).Location = new Point(167, 282);
((Control)Exposure).Margin = new Padding(5, 6, 5, 6);
Exposure.Maximum = 210;
Exposure.Minimum = 2;
((Control)Exposure).Name = "Exposure";
((Control)Exposure).Size = new Size(490, 36);
((Control)Exposure).TabIndex = 31;
Exposure.Value = 2;
Exposure.ValueChanged += Exposure_ValueChanged;
((Control)Zoom).Dock = (DockStyle)5;
Zoom.LargeChange = 1;
((Control)Zoom).Location = new Point(167, 331);
((Control)Zoom).Margin = new Padding(5, 6, 5, 6);
((Control)Zoom).Name = "Zoom";
((Control)Zoom).Size = new Size(490, 36);
((Control)Zoom).TabIndex = 28;
Zoom.ValueChanged += Zoom_ValueChanged;
((Control)Focuse).Dock = (DockStyle)5;
Focuse.LargeChange = 25;
((Control)Focuse).Location = new Point(167, 105);
((Control)Focuse).Margin = new Padding(5, 6, 5, 6);
Focuse.Maximum = 1025;
Focuse.Minimum = 1;
((Control)Focuse).Name = "Focuse";
((Control)Focuse).Size = new Size(490, 66);
((Control)Focuse).TabIndex = 27;
Focuse.Value = 1;
Focuse.ValueChanged += Focus_ValueChanged;
((Control)Contrast).Dock = (DockStyle)5;
((Control)Contrast).Location = new Point(167, 56);
((Control)Contrast).Margin = new Padding(5, 6, 5, 6);
Contrast.Maximum = 200;
Contrast.Minimum = -200;
((Control)Contrast).Name = "Contrast";
((Control)Contrast).Size = new Size(490, 36);
((Control)Contrast).TabIndex = 6;
Contrast.ValueChanged += ValueChanged;
((Control)Brightness).Dock = (DockStyle)5;
((Control)Brightness).Location = new Point(167, 7);
((Control)Brightness).Margin = new Padding(5, 6, 5, 6);
Brightness.Maximum = 200;
Brightness.Minimum = -200;
((Control)Brightness).Name = "Brightness";
((Control)Brightness).Size = new Size(490, 36);
((Control)Brightness).TabIndex = 4;
Brightness.ValueChanged += ValueChanged;
((Control)panel3).Controls.Add((Control)(object)comboBox2);
((Control)panel3).Controls.Add((Control)(object)comboBox1);
((Control)panel3).Controls.Add((Control)(object)checkBox_saveVideo);
((Control)panel3).Dock = (DockStyle)5;
((Control)panel3).Location = new Point(167, 478);
((Control)panel3).Margin = new Padding(5, 6, 5, 6);
((Control)panel3).Name = "panel3";
((Control)panel3).Size = new Size(490, 50);
((Control)panel3).TabIndex = 43;
((Control)comboBox2).Dock = (DockStyle)4;
comboBox2.DropDownStyle = (ComboBoxStyle)2;
comboBox2.FlatStyle = (FlatStyle)1;
((ListControl)comboBox2).FormattingEnabled = true;
comboBox2.ItemHeight = 25;
comboBox2.Items.AddRange(new object[3] { "1920 x 1080 x 30", "1280 x 720 x 120", "1280 x 720 x 240" });
((Control)comboBox2).Location = new Point(193, 0);
((Control)comboBox2).Margin = new Padding(5, 6, 5, 6);
((Control)comboBox2).Name = "comboBox2";
((Control)comboBox2).Size = new Size(81, 33);
((Control)comboBox2).TabIndex = 44;
((Control)comboBox2).Visible = false;
comboBox2.SelectedIndexChanged += ComboBox2_SelectedIndexChanged;
((Control)comboBox1).Dock = (DockStyle)4;
comboBox1.DropDownStyle = (ComboBoxStyle)2;
comboBox1.FlatStyle = (FlatStyle)1;
((ListControl)comboBox1).FormattingEnabled = true;
comboBox1.ItemHeight = 25;
comboBox1.Items.AddRange(new object[3] { "1920 x 1080 x 30", "1280 x 720 x 120", "1280 x 720 x 240" });
((Control)comboBox1).Location = new Point(274, 0);
((Control)comboBox1).Margin = new Padding(5, 6, 5, 6);
((Control)comboBox1).Name = "comboBox1";
((Control)comboBox1).Size = new Size(216, 33);
((Control)comboBox1).TabIndex = 43;
((Control)checkBox_saveVideo).AutoSize = true;
((Control)checkBox_saveVideo).Location = new Point(0, 4);
((Control)checkBox_saveVideo).Margin = new Padding(5, 6, 5, 6);
((Control)checkBox_saveVideo).Name = "checkBox_saveVideo";
((Control)checkBox_saveVideo).Size = new Size(96, 29);
((Control)checkBox_saveVideo).TabIndex = 8;
((Control)checkBox_saveVideo).Text = "saved";
((ButtonBase)checkBox_saveVideo).UseVisualStyleBackColor = true;
((Control)checkBox_saveVideo).Visible = false;
((Control)checkBox_saveVideo).Click += checkBox_saveVideo_Click;
((Control)panel_chenal).Controls.Add((Control)(object)button9);
((Control)panel_chenal).Controls.Add((Control)(object)chenal);
((Control)panel_chenal).Dock = (DockStyle)5;
((Control)panel_chenal).Location = new Point(6, 478);
((Control)panel_chenal).Margin = new Padding(5, 6, 5, 6);
((Control)panel_chenal).Name = "panel_chenal";
((Control)panel_chenal).Size = new Size(150, 50);
((Control)panel_chenal).TabIndex = 44;
((Control)button9).Dock = (DockStyle)5;
((Control)button9).Location = new Point(47, 0);
((Control)button9).Margin = new Padding(5, 6, 5, 6);
((Control)button9).Name = "button9";
((Control)button9).Size = new Size(103, 50);
((Control)button9).TabIndex = 46;
((Control)button9).Text = "Ѻ";
((ButtonBase)button9).UseVisualStyleBackColor = true;
((Control)button9).Click += SerialNumber_DoubleClick;
((Control)chenal).Dock = (DockStyle)3;
((Control)chenal).Location = new Point(0, 0);
((Control)chenal).Margin = new Padding(5, 6, 5, 6);
chenal.Mask = "00";
((Control)chenal).Text = "44";
((Control)chenal).Name = "chenal";
((Control)chenal).Size = new Size(47, 31);
((Control)chenal).TabIndex = 45;
chenal.TextAlign = (HorizontalAlignment)2;
((Control)chenal).Visible = false;
((Control)label1).Anchor = (AnchorStyles)15;
((Control)label1).AutoSize = true;
((Control)label1).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204);
((Control)label1).Location = new Point(6, 99);
((Control)label1).Margin = new Padding(5, 0, 5, 0);
((Control)label1).Name = "label1";
((Control)label1).Size = new Size(150, 78);
((Control)label1).TabIndex = 47;
((Control)label1).Text = "Focus";
label1.TextAlign = (ContentAlignment)32;
((Control)trackBar1).Location = new Point(167, 380);
((Control)trackBar1).Margin = new Padding(5, 6, 5, 6);
((Control)trackBar1).Name = "trackBar1";
((Control)trackBar1).Size = new Size(484, 36);
((Control)trackBar1).TabIndex = 55;
((ScrollableControl)tableLayoutPanel2).AutoScroll = true;
tableLayoutPanel2.ColumnCount = 6;
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f));
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f));
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f));
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f));
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f));
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f));
tableLayoutPanel2.Controls.Add((Control)(object)button8, 4, 0);
tableLayoutPanel2.Controls.Add((Control)(object)button5, 1, 0);
tableLayoutPanel2.Controls.Add((Control)(object)button6, 0, 0);
tableLayoutPanel2.Controls.Add((Control)(object)button4, 5, 0);
tableLayoutPanel2.Controls.Add((Control)(object)button3, 3, 0);
tableLayoutPanel2.Controls.Add((Control)(object)button7, 2, 0);
((Control)tableLayoutPanel2).Dock = (DockStyle)1;
((Control)tableLayoutPanel2).Location = new Point(0, 0);
((Control)tableLayoutPanel2).Margin = new Padding(5, 6, 5, 6);
((Control)tableLayoutPanel2).Name = "tableLayoutPanel2";
tableLayoutPanel2.RowCount = 1;
tableLayoutPanel2.RowStyles.Add(new RowStyle((SizeType)2, 100f));
((Control)tableLayoutPanel2).Size = new Size(663, 106);
((Control)tableLayoutPanel2).TabIndex = 5;
((Control)button8).Anchor = (AnchorStyles)15;
((Control)button8).AutoSize = true;
((Control)button8).BackColor = Color.Transparent;
((Control)button8).BackgroundImage = (Image)componentResourceManager.GetObject("button8.BackgroundImage");
((Control)button8).BackgroundImageLayout = (ImageLayout)4;
((Control)button8).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)2, (GraphicsUnit)3, (byte)204);
((Control)button8).Location = new Point(445, 6);
((Control)button8).Margin = new Padding(5, 6, 5, 6);
((Control)button8).Name = "button8";
((Control)button8).Size = new Size(100, 94);
((Control)button8).TabIndex = 3;
((Control)button8).TabStop = false;
((ButtonBase)button8).TextAlign = (ContentAlignment)256;
((ButtonBase)button8).UseVisualStyleBackColor = false;
((Control)button8).Click += Button8_Click;
((Control)button8).Enter += _Enter;
((Control)button5).Anchor = (AnchorStyles)15;
((Control)button5).AutoSize = true;
((Control)button5).BackgroundImage = (Image)componentResourceManager.GetObject("button5.BackgroundImage");
((Control)button5).BackgroundImageLayout = (ImageLayout)4;
((Control)button5).Location = new Point(115, 6);
((Control)button5).Margin = new Padding(5, 6, 5, 6);
((Control)button5).Name = "button5";
((Control)button5).Size = new Size(100, 94);
((Control)button5).TabIndex = 1;
((Control)button5).TabStop = false;
((ButtonBase)button5).UseVisualStyleBackColor = true;
((Control)button5).Click += стопToolStripMenuItem_Click;
((Control)button5).Enter += _Enter;
((Control)button6).Anchor = (AnchorStyles)15;
((Control)button6).AutoSize = true;
((Control)button6).BackgroundImage = (Image)componentResourceManager.GetObject("button6.BackgroundImage");
((Control)button6).BackgroundImageLayout = (ImageLayout)4;
((Control)button6).Location = new Point(5, 6);
((Control)button6).Margin = new Padding(5, 6, 5, 6);
((Control)button6).Name = "button6";
((Control)button6).Size = new Size(100, 94);
((Control)button6).TabIndex = 0;
((Control)button6).TabStop = false;
((ButtonBase)button6).UseVisualStyleBackColor = true;
((Control)button6).Click += стартToolStripMenuItem_Click;
((Control)button6).Enter += _Enter;
((Control)button4).Anchor = (AnchorStyles)15;
((Control)button4).AutoSize = true;
((Control)button4).BackgroundImage = (Image)componentResourceManager.GetObject("button4.BackgroundImage");
((Control)button4).BackgroundImageLayout = (ImageLayout)4;
((Control)button4).Location = new Point(555, 6);
((Control)button4).Margin = new Padding(5, 6, 5, 6);
((Control)button4).Name = "button4";
((Control)button4).Size = new Size(103, 94);
((Control)button4).TabIndex = 1;
((Control)button4).TabStop = false;
((ButtonBase)button4).UseVisualStyleBackColor = true;
((Control)button4).Click += повернутьПротивЧасовойToolStripMenuItem_Click;
((Control)button4).Enter += _Enter;
((Control)button3).Anchor = (AnchorStyles)15;
((Control)button3).AutoSize = true;
((Control)button3).BackgroundImage = (Image)componentResourceManager.GetObject("button3.BackgroundImage");
((Control)button3).BackgroundImageLayout = (ImageLayout)4;
((Control)button3).Location = new Point(335, 6);
((Control)button3).Margin = new Padding(5, 6, 5, 6);
((Control)button3).Name = "button3";
((Control)button3).Size = new Size(100, 94);
((Control)button3).TabIndex = 0;
((Control)button3).TabStop = false;
((ButtonBase)button3).UseVisualStyleBackColor = true;
((Control)button3).Click += повернутьToolStripMenuItem_Click;
((Control)button3).Enter += _Enter;
((Control)button7).Anchor = (AnchorStyles)15;
((Control)button7).AutoSize = true;
((Control)button7).BackgroundImage = (Image)componentResourceManager.GetObject("button7.BackgroundImage");
((Control)button7).BackgroundImageLayout = (ImageLayout)4;
((Control)button7).Location = new Point(225, 6);
((Control)button7).Margin = new Padding(5, 6, 5, 6);
((Control)button7).Name = "button7";
((Control)button7).Size = new Size(100, 94);
((Control)button7).TabIndex = 2;
((Control)button7).TabStop = false;
((ButtonBase)button7).UseVisualStyleBackColor = true;
((Control)button7).Click += Button7_Click;
((Control)button7).Enter += _Enter;
((Control)panel7).AutoSize = true;
((Control)panel7).Dock = (DockStyle)1;
((Control)panel7).Location = new Point(0, 0);
((Control)panel7).Name = "panel7";
((Control)panel7).Size = new Size(346, 0);
((Control)panel7).TabIndex = 1;
((ContainerControl)this).AutoScaleDimensions = new SizeF(12f, 25f);
((ContainerControl)this).AutoScaleMode = (AutoScaleMode)1;
((Form)this).ClientSize = new Size(2733, 1379);
((Control)this).Controls.Add((Control)(object)splitContainer1);
((Control)this).Controls.Add((Control)(object)panel4);
((Control)this).DoubleBuffered = true;
((Form)this).Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
((Form)this).Margin = new Padding(5, 6, 5, 6);
((Control)this).Name = "Form1";
((Control)this).Text = "VideoReader";
((Form)this).Shown += Form1_Shown;
((Control)tabControl1).ResumeLayout(false);
((Control)tabPage2).ResumeLayout(false);
((Control)tabPage3).ResumeLayout(false);
((Control)tabPage3).PerformLayout();
((ISupportInitialize)pictureBox5).EndInit();
((Control)panel4).ResumeLayout(false);
((Control)panel4).PerformLayout();
((Control)panel5).ResumeLayout(false);
((Control)splitContainer1.Panel1).ResumeLayout(false);
((Control)splitContainer1.Panel2).ResumeLayout(false);
((ISupportInitialize)splitContainer1).EndInit();
((Control)splitContainer1).ResumeLayout(false);
((Control)panel1).ResumeLayout(false);
((Control)panel10).ResumeLayout(false);
((Control)panel8).ResumeLayout(false);
((Control)panel9).ResumeLayout(false);
((Control)panel2).ResumeLayout(false);
((Control)panel2).PerformLayout();
((ISupportInitialize)asus).EndInit();
((ISupportInitialize)huawei).EndInit();
((ISupportInitialize)samsung).EndInit();
((Control)panel_output).ResumeLayout(false);
((Control)tableLayoutPanel7).ResumeLayout(false);
((Control)tableLayoutPanel7).PerformLayout();
((Control)panel_recived).ResumeLayout(false);
((Control)tableLayoutPanel6).ResumeLayout(false);
((Control)tableLayoutPanel6).PerformLayout();
((Control)panel_send).ResumeLayout(false);
((Control)tableLayoutPanel5).ResumeLayout(false);
((Control)tableLayoutPanel5).PerformLayout();
((Control)panel11).ResumeLayout(false);
((Control)tableLayoutPanel3).ResumeLayout(false);
((Control)tableLayoutPanel3).PerformLayout();
((Control)tableLayoutPanel4).ResumeLayout(false);
((Control)tableLayoutPanel4).PerformLayout();
((Control)tableLayoutPanel1).ResumeLayout(false);
((Control)tableLayoutPanel1).PerformLayout();
((ISupportInitialize)FPS).EndInit();
((ISupportInitialize)ISO).EndInit();
((ISupportInitialize)pContrast).EndInit();
((ISupportInitialize)pBright).EndInit();
((ISupportInitialize)Exposure).EndInit();
((ISupportInitialize)Zoom).EndInit();
((ISupportInitialize)Focuse).EndInit();
((ISupportInitialize)Contrast).EndInit();
((ISupportInitialize)Brightness).EndInit();
((Control)panel3).ResumeLayout(false);
((Control)panel3).PerformLayout();
((Control)panel_chenal).ResumeLayout(false);
((Control)panel_chenal).PerformLayout();
((ISupportInitialize)trackBar1).EndInit();
((Control)tableLayoutPanel2).ResumeLayout(false);
((Control)tableLayoutPanel2).PerformLayout();
((Control)this).ResumeLayout(false);
}
private void waitPhone_Click(object sender, EventArgs e)
{
}
}