本文整理汇总了C#中Size.ShowDialog方法的典型用法代码示例。如果您正苦于以下问题:C# Size.ShowDialog方法的具体用法?C# Size.ShowDialog怎么用?C# Size.ShowDialog使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Size
的用法示例。
在下文中一共展示了Size.ShowDialog方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: button1_Click
//Size button
public void button1_Click(object sender, EventArgs e)
{
Size newSize = new Size();
if (DialogResult.OK == newSize.ShowDialog())
{
circleSize = newSize.circleSize;
}
}
示例2: ContinueButton_Click
private void ContinueButton_Click(object sender, EventArgs e)
{
string archName = ArchBinaryList.SelectedItem.ToString();
if (FunctionList.SelectedItem.ToString() == "addr2line")
{
Addr2line nView = new Addr2line(SelectedNdkEnvironment, (FileInfo)BinariesList.SelectedItem, archName);
nView.Text = "addr2line Utility";
nView.ShowDialog();
}
else if (FunctionList.SelectedItem.ToString() == "elfedit")
{
Elfedit nView = new Elfedit(SelectedNdkEnvironment, (FileInfo)BinariesList.SelectedItem, archName);
nView.Text = "elfedit Utility";
nView.ShowDialog();
}
else if (FunctionList.SelectedItem.ToString() == "nm")
{
Nm nView = new Nm(SelectedNdkEnvironment, (FileInfo)BinariesList.SelectedItem, archName);
nView.Text = "nm Utility";
nView.ShowDialog();
}
else if (FunctionList.SelectedItem.ToString() == "objcopy")
{
Objcopy nView = new Objcopy(SelectedNdkEnvironment, (FileInfo)BinariesList.SelectedItem, archName);
nView.Text = "objcopy Utility";
nView.ShowDialog();
}
else if (FunctionList.SelectedItem.ToString() == "objdump")
{
Objdump nView = new Objdump(SelectedNdkEnvironment, (FileInfo)BinariesList.SelectedItem, archName);
nView.Text = "objdump Utility";
nView.ShowDialog();
}
else if (FunctionList.SelectedItem.ToString() == "ranlib")
{
Ranlib nView = new Ranlib(SelectedNdkEnvironment, (FileInfo)BinariesList.SelectedItem, archName);
nView.Text = "ranlib Utility";
nView.ShowDialog();
}
else if (FunctionList.SelectedItem.ToString() == "size")
{
Size nView = new Size(SelectedNdkEnvironment, (FileInfo)BinariesList.SelectedItem, archName);
nView.Text = "size Utility";
nView.ShowDialog();
}
else if (FunctionList.SelectedItem.ToString() == "strings")
{
Strings nView = new Strings(SelectedNdkEnvironment, (FileInfo)BinariesList.SelectedItem, archName);
nView.Text = "strings Utility";
nView.ShowDialog();
}
else if (FunctionList.SelectedItem.ToString() == "strip")
{
Strip nView = new Strip(SelectedNdkEnvironment, (FileInfo)BinariesList.SelectedItem, archName);
nView.Text = "strip Utility";
nView.ShowDialog();
}
else if (FunctionList.SelectedItem.ToString() == "readelf")
{
Readelf nView = new Readelf(SelectedNdkEnvironment, (FileInfo)BinariesList.SelectedItem, archName);
nView.Text = "readelf Utility";
nView.ShowDialog();
}
}