You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
using System; |
|
using System.Windows.Forms; |
|
|
|
namespace Test_img |
|
{ |
|
public partial class search : Form |
|
{ |
|
public search() |
|
{ |
|
InitializeComponent(); |
|
} |
|
|
|
private void trackBar1_Scroll(object sender, EventArgs e) |
|
{ |
|
label1.Text = trackBar1.Value.ToString(); |
|
StaticData.DataBuffer = trackBar1.Value; |
|
} |
|
|
|
private void button1_Click(object sender, EventArgs e) |
|
{ |
|
//StaticData.Start = ""; |
|
//StaticData.SHandlerSearch?.Invoke(); |
|
//StaticData.Trg(); |
|
// StaticData.SHandlerSearch += true; |
|
} |
|
|
|
private void search_Load(object sender, EventArgs e) |
|
{ |
|
StaticData.Fon = new StaticData.FonEventHandler(newfon); |
|
|
|
//StaticData.Fon += (ee) => |
|
//{ |
|
// trackBar1.Value = (int)ee + 5; |
|
// label1.Text = (int)ee + 5.ToString(); |
|
//}; |
|
|
|
} |
|
private void newfon(UInt32 ee) |
|
{ |
|
trackBar1.Minimum = (int)ee; |
|
trackBar1.Value = (int)ee + 1; |
|
label1.Text = ((int)ee + 1).ToString(); |
|
} |
|
} |
|
}
|
|
|